-
Notifications
You must be signed in to change notification settings - Fork 36
upstream(node): Porting node team related upstream changes in range mainnet-1.36.2 to mainnet-1.37.4 #7304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
muXxer
merged 8 commits into
develop
from
core-node/upstream-changes/mainnet-1.36.2-1.37.4
Jun 11, 2025
Merged
upstream(node): Porting node team related upstream changes in range mainnet-1.36.2 to mainnet-1.37.4 #7304
muXxer
merged 8 commits into
develop
from
core-node/upstream-changes/mainnet-1.36.2-1.37.4
Jun 11, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 4 Skipped Deployments
|
768e296
to
a5e211e
Compare
# Description of change Upstream range: [v1.36.2, v1.37.4) Port MystenLabs/sui@cf2a573 Support system tx in replay ## Links to any relevant issues Part of #3990 ## Type of change - Enhancement (a non-breaking change which adds functionality) ## How the change has been tested ``` cargo c --all-targets cargo t -p iota-replay cargo r -p iota-replay --example make_sandbox_snapshot ```
## Port [MystenLabs/sui@7c517e7](MystenLabs/sui@7c517e7): Add system_invariant_violation macro Upstream range: [1.36.2, 1.37.4) ### Upstream PR(s): - MystenLabs/sui#20105 ## Description Introduce a system invariant violation macro. We can then set up alerts whenever the counter value changes. Used it in one place as an example.
# Description of change Upstream range: [v1.36.2, v1.37.4) Port MystenLabs/sui@5fd33ae This allows the Sui replay tool to replay transaction's using a local version of the framework. This can be done by passing the protocol override version to use as `-1` -- so `replay -tx <tx_digest> -p -1` ## Links to any relevant issues Part of #3990 ## Type of change - Enhancement (a non-breaking change which adds functionality)
# Description of change - Upstream range: [v1.36.2, v1.37.4) - Port the following Sui's commit: MystenLabs/sui@832da30 - Descriptions from commits Don't explicitly remove old jsonrpc index tables as well as remove a possible panic when reporting rocksdb metrics. - Notes - There's no file `crates/iota-core/src/jsonrpc_index.rs`, so the changes in this file are not ported. ## Links to any relevant issues Part of #3990 ## How the change has been tested - [x] Basic tests (linting, compilation, formatting, unit/integration tests) - [ ] Patch-specific tests (correctness, functionality coverage) - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have checked that new and existing unit tests pass locally with my changes ### Release Notes - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
… files by default (#7266) # Description of change - Upstream range: [v1.36.2, v1.37.4) - Port commit: MystenLabs/sui@65b02e2 - Descriptions from commits Enables periodic compaction of individual SST files by default ## Links to any relevant issues Part of #3990 ## How the change has been tested - [x] Basic tests (linting, compilation, formatting, unit/integration tests) - [ ] Patch-specific tests (correctness, functionality coverage) - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have checked that new and existing unit tests pass locally with my changes ### Release Notes - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
# Description of change - Upstream range: [v1.36.2, v1.37.4) - Port commit: MystenLabs/sui@16f2683 - Descriptions from commits Introduce a new payload type into the benchmark tool - `ExpectedFailurePayload`. This payload type is configured with some expected failure type (currently only one implemented - user signature failure - but others can be added with minimal scaffolding) such that `payload.make_transaction()` generates a transaction that will fail in this manner. Note that the failures that this payload type is concerned with are failures to execute the transaction itself, rather than during execution by the MoveVM. In other words, it is expected that the failure mode will not consume gas or produce effects. Note that for this reason, its failure mode is inverted. It will be tallied for metrics purposes as an `error` if it succeeds and tallied as an `expected_error` (which is a success) if it fails. Also note that transaction responses for this type are handled by producing a `NextOp::Retry` (with some additional logging/metrics) since it is functionally equivalent to a retryable error. ## Links to any relevant issues Part of #3990 - [x] Basic tests (linting, compilation, formatting, unit/integration tests) - [ ] Patch-specific tests (correctness, functionality coverage) - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have checked that new and existing unit tests pass locally with my changes
# Description of change - Upstream range: [v1.35.4, v1.36.2) - Port commit: MystenLabs/sui@6159973 - Descriptions from commits Factor out the parallel live object indexing, used for initializing the rest indexes, into more general purpose and reusable logic. ## Links to any relevant issues Part of #3990 - [x] Basic tests (linting, compilation, formatting, unit/integration tests) - [ ] Patch-specific tests (correctness, functionality coverage) - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have checked that new and existing unit tests pass locally with my changes
…7320) # Description of change - Upstream range: [v1.35.4, v1.36.2) - Port commits: - MystenLabs/sui@4ad76b5 - MystenLabs/sui@814af2a ## Links to any relevant issues Part of #3990 - [x] Basic tests (linting, compilation, formatting, unit/integration tests) - [ ] Patch-specific tests (correctness, functionality coverage) - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have checked that new and existing unit tests pass locally with my changes --------- Co-authored-by: Bing-Yang Lin <[email protected]>
5f5d089
to
05c9424
Compare
piotrm50
approved these changes
Jun 11, 2025
jkrvivian
approved these changes
Jun 11, 2025
tomxey
approved these changes
Jun 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of change
This PR contains a batch of node-team related upstream changes. The changes have been individually reviewed before squash-merging. None of them modify protocol parameters, so a new protocol version is not necessary.
This PR should be rebased on top of develop without squashing as it already contains squashed PRs.
Links to any relevant issues
List of included PRs:
List of included upstream commits:
Type of change
How the change has been tested
Release Notes