Repository navigation
8000
Tags
Tags
[Consensus] remove Narwhal mode from PR CI (MystenLabs#18010) ## Description Sui tests no longer need to run in Narwhal mode per PR. But Narwhal mode still runs nightly. Also, remove a few other nightly workflows that are no longer needed. ## Test plan CI --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
[GraphQL] Fix APY for a validator (MystenLabs#17701) ## Description This PR fixes the APY for a validator and ensures that historical APYs can be computed. It also reverts some changes in the `governance_api`, particularly moves `exchange_rates` as a free function that can be called from the GraphQL crate. At system start, the task to trigger the exchange rates cache is executed, thus until the next trigger on epoch change, the apys can be fetched pretty fast (~2-3s for the standard 5 items per page). ## Test plan Updated test. Manual tests and queries. Response time: ~1s ```graphql { epoch { epochId referenceGasPrice validatorSet { totalStake inactivePoolsSize activeValidators(first: 5) { nodes { name apy } } } } } ``` ```json { "data": { "epoch": { "epochId": 405, "referenceGasPrice": "751", "validatorSet": { "totalStake": "8163113083622628156", "inactivePoolsSize": 4, "activeValidators": { "nodes": [ { "name": "ComingChat", "apy": 310 }, { "name": "InfStones", "apy": 302 }, { "name": "Gaucho", "apy": 310 }, { "name": "Astro-Stakers", "apy": 310 }, { "name": "H2O Nodes", "apy": 310 } ] } } } } } ``` Response time for this query: ~2s ```graphql { epoch(id: 127){ epochId referenceGasPrice validatorSet { totalStake inactivePoolsSize activeValidators { nodes { name apy } } } } } ``` ```json { "data": { "epoch": { "epochId": 127, "referenceGasPrice": "765", "validatorSet": { "totalStake": "7437800674887300328", "inactivePoolsSize": 2, "activeValidators": { "nodes": [ { "name": "ComingChat", "apy": 480 }, { "name": "InfStones", "apy": 471 }, { "name": "Gaucho", "apy": 471 }, { "name": "Astro-Stakers", "apy": 485 }, { "name": "H2O Nodes", "apy": 471 } ] } } } } } ``` --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
[GraphQL] Fix APY for a validator (MystenLabs#17701) ## Description This PR fixes the APY for a validator and ensures that historical APYs can be computed. It also reverts some changes in the `governance_api`, particularly moves `exchange_rates` as a free function that can be called from the GraphQL crate. At system start, the task to trigger the exchange rates cache is executed, thus until the next trigger on epoch change, the apys can be fetched pretty fast (~2-3s for the standard 5 items per page). ## Test plan Updated test. Manual tests and queries. Response time: ~1s ```graphql { epoch { epochId referenceGasPrice validatorSet { totalStake inactivePoolsSize activeValidators(first: 5) { nodes { name apy } } } } } ``` ```json { "data": { "epoch": { "epochId": 405, "referenceGasPrice": "751", "validatorSet": { "totalStake": "8163113083622628156", "inactivePoolsSize": 4, "activeValidators": { "nodes": [ { "name": "ComingChat", "apy": 310 }, { "name": "InfStones", "apy": 302 }, { "name": "Gaucho", "apy": 310 }, { "name": "Astro-Stakers", "apy": 310 }, { "name": "H2O Nodes", "apy": 310 } ] } } } } } ``` Response time for this query: ~2s ```graphql { epoch(id: 127){ epochId referenceGasPrice validatorSet { totalStake inactivePoolsSize activeValidators { nodes { name apy } } } } } ``` ```json { "data": { "epoch": { "epochId": 127, "referenceGasPrice": "765", "validatorSet": { "totalStake": "7437800674887300328", "inactivePoolsSize": 2, "activeValidators": { "nodes": [ { "name": "ComingChat", "apy": 480 }, { "name": "InfStones", "apy": 471 }, { "name": "Gaucho", "apy": 471 }, { "name": "Astro-Stakers", "apy": 485 }, { "name": "H2O Nodes", "apy": 471 } ] } } } } } ``` --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
[wallet-ext] - add sec blocklist overlay (MystenLabs#18004) ## Description Describe the changes or additions included in this PR. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
[wallet-ext] - add sec blocklist overlay (MystenLabs#18004) ## Description Describe the changes or additions included in this PR. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
Version Packages (MystenLabs#18018) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## mev-bot@1.0.5 ### Patch Changes - Updated dependencies [f1e828f] - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/bcs@1.0.1 ## @mysten/bcs@1.0.1 ### Patch Changes - f1e828f: Remove undefined from bcs.option output types ## @mysten/create-dapp@0.3.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/dapp-kit@0.14.4 ## @mysten/dapp-kit@0.14.4 ### Patch Changes - Updated dependencies [f1e828f] - Updated dependencies [8e0e8eb] - @mysten/sui@1.0.4 - @mysten/zksend@0.9.4 - @mysten/wallet-standard@0.12.4 ## @mysten/deepbook@0.8.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## @mysten/enoki@0.3.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/zklogin@0.7.4 ## @mysten/graphql-transport@0.2.4 ### Patch Changes - Updated dependencies [f1e828f] - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/bcs@1.0.1 ## @mysten/kiosk@0.9.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## @mysten/suins-toolkit@0.5.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## @mysten/sui@1.0.4 ### Patch Changes - f1e828f: Export types needed for defining Transaction plugins - Updated dependencies [f1e828f] - @mysten/bcs@1.0.1 ## @mysten/wallet-standard@0.12.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## @mysten/zklogin@0.7.4 ### Patch Changes - Updated dependencies [f1e828f] - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/bcs@1.0.1 ## @mysten/zksend@0.9.4 ### Patch Changes - 8e0e8eb: fix connect issue - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/wallet-standard@0.12.4 ## escrow-api-demo@1.0.5 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## frontend@0.0.5 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/dapp-kit@0.14.4 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Version Packages (MystenLabs#18018) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## mev-bot@1.0.5 ### Patch Changes - Updated dependencies [f1e828f] - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/bcs@1.0.1 ## @mysten/bcs@1.0.1 ### Patch Changes - f1e828f: Remove undefined from bcs.option output types ## @mysten/create-dapp@0.3.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/dapp-kit@0.14.4 ## @mysten/dapp-kit@0.14.4 ### Patch Changes - Updated dependencies [f1e828f] - Updated dependencies [8e0e8eb] - @mysten/sui@1.0.4 - @mysten/zksend@0.9.4 - @mysten/wallet-standard@0.12.4 ## @mysten/deepbook@0.8.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## @mysten/enoki@0.3.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/zklogin@0.7.4 ## @mysten/graphql-transport@0.2.4 ### Patch Changes - Updated dependencies [f1e828f] - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/bcs@1.0.1 ## @mysten/kiosk@0.9.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## @mysten/suins-toolkit@0.5.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## @mysten/sui@1.0.4 ### Patch Changes - f1e828f: Export types needed for defining Transaction plugins - Updated dependencies [f1e828f] - @mysten/bcs@1.0.1 ## @mysten/wallet-standard@0.12.4 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## @mysten/zklogin@0.7.4 ### Patch Changes - Updated dependencies [f1e828f] - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/bcs@1.0.1 ## @mysten/zksend@0.9.4 ### Patch Changes - 8e0e8eb: fix connect issue - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/wallet-standard@0.12.4 ## escrow-api-demo@1.0.5 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 ## frontend@0.0.5 ### Patch Changes - Updated dependencies [f1e828f] - @mysten/sui@1.0.4 - @mysten/dapp-kit@0.14.4 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
[docs] Storage topic (MystenLabs#17982) ## Description Johns page to a topic. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: --------- Co-authored-by: John Martin <johnjosephmartin@icloud.com>
[docs] Storage topic (MystenLabs#17982) ## Description Johns page to a topic. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: --------- Co-authored-by: John Martin <johnjosephmartin@icloud.com>
Enable Mysticeti by default (MystenLabs#17999) ## Description Run Mysticeti for consensus in all environments. Updating relevant parameters and cleaning up CI will be in separate PRs. ## Test plan CI --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
PreviousNext