forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TransactionEffects/API] Lamport Version (MystenLabs#15082)
## Description Expose lamport version from both Effects v1 and Effects v2 via the `TransactionEffectsAPI`. This is mainly to serve the GraphQL API which needs to return this for both kinds of effect. This corrects another edge case of the existing GraphQL implementation of `lamportVersion`: If the only object created by a transaction is a package, then the previous GraphQL implementation would incorrectly suggest that the package's version is the transaction's lamport version. This is not correct, because package versioning is treated specially. ## Test Plan ``` sui-graphql-rpc$ cargo nextest run sui-graphql-e2e-tests$ cargo nextest run \ -j 1 --features pg_integration \ -- transactions ``` ## Stack - MystenLabs#14929 - MystenLabs#14930 - MystenLabs#14934 - MystenLabs#14935 - MystenLabs#14961 - MystenLabs#14974 - MystenLabs#15013 - MystenLabs#15014 - MystenLabs#15015 - MystenLabs#15016 - MystenLabs#15018 - MystenLabs#15020 - MystenLabs#15021 - MystenLabs#15036 - MystenLabs#15037 - MystenLabs#15038 - MystenLabs#15039 - MystenLabs#15040 - MystenLabs#15041 - MystenLabs#15042 - MystenLabs#15043 - MystenLabs#15044 - MystenLabs#15074
- Loading branch information
Showing
7 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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