-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mesh 2098/store tracker address (#1559)
* Add SupportedApiUpgrades storage; Add upgrade_api extrinsic * Add get_latest_api_upgrade chain extension * Add BoundedBTreeMap for managing supported apis * Add unit tests and benchmark for upgrade_api * Add draft for chain_extension_get_latest_api_upgrade benchmark * Fix test import * Change encoded_input to functional * Remove map for AccountId; Derive MaxEncodedLen * Remove unused constant; Add benhcmark weights * Cargo fmt * Split api hash storage into two: current and next upgrade * Fix transaction_version comparison * Remove hardcoded value; Remove next upgrade after updating current api hash * Fix hardcoded value; Add CodeHash to event * Fix test storage --------- Co-authored-by: Robert Gabriel Jakabosky <[email protected]>
- Loading branch information
1 parent
f2a70e1
commit c4327b8
Showing
9 changed files
with
322 additions
and
15 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
Oops, something went wrong.