-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add asset-manager changes Signed-off-by: Brandon H. Gomes <[email protected]> * Compiles and tests pass, cleaned warnings Signed-off-by: Georgi Zlatarev <[email protected]> * Split Dolphin and Calamari AssetId types Signed-off-by: Georgi Zlatarev <[email protected]> * Migration code for asset-manager and assets pallets, needs cleanup and invariants checkes, but works. Signed-off-by: Georgi Zlatarev <[email protected]> * Add invariant checks Signed-off-by: Georgi Zlatarev <[email protected]> * Update Signed-off-by: Georgi Zlatarev <[email protected]> * Migrate Accounts storage double map with storage aliasing Signed-off-by: Georgi Zlatarev <[email protected]> * Add equivalence checks before and after migration Signed-off-by: Georgi Zlatarev <[email protected]> * Remove post-upgrade check that old storage is empty Signed-off-by: Georgi Zlatarev <[email protected]> * Clean up and formatting Signed-off-by: Georgi Zlatarev <[email protected]> * Revert default AssetRegistryMetadata. Fix benchmarks Signed-off-by: Georgi Zlatarev <[email protected]> * Clean up and docs Signed-off-by: Georgi Zlatarev <[email protected]> * Cleanup Signed-off-by: Georgi Zlatarev <[email protected]> * Fix clippy Signed-off-by: Georgi Zlatarev <[email protected]> * Address review comments. Incremenet storage version of both pallets and check for correctness Signed-off-by: Georgi Zlatarev <[email protected]> * Use MaybeSerializeDesirialize from sp-runtime Signed-off-by: Georgi Zlatarev <[email protected]> * Improve asset-manager benchmarking code Signed-off-by: Georgi Zlatarev <[email protected]> * Fix clippy, rmeove pallet-assets from pallet-asset-manager cargo.toml Signed-off-by: Georgi Zlatarev <[email protected]> * Use more explicitly named trait for asset metadata defaults for testing - TestingDefault Signed-off-by: Georgi Zlatarev <[email protected]> * Fix docs Signed-off-by: Georgi Zlatarev <[email protected]> * Migrate AssetRegistryMetadata Signed-off-by: Georgi Zlatarev <[email protected]> * Bump AssetManager StorageVersion in pallet Signed-off-by: Georgi Zlatarev <[email protected]> * Use AtLeast32BitUnsigned instead of local impl of CheckedIncrement Signed-off-by: Georgi Zlatarev <[email protected]> * taplo fmt Signed-off-by: Georgi Zlatarev <[email protected]> * Use One trait Signed-off-by: Georgi Zlatarev <[email protected]> * Fix tests Signed-off-by: Georgi Zlatarev <[email protected]> * Rename try_ name to more explicit and clean up docs Signed-off-by: Georgi Zlatarev <[email protected]> * clean up asset-manager benchmarking code, removed redundant GenesisConfig impl and #[pallet::generate_store(pub(super) trait Store)] in pallet-asset-manager, remove unnecessary comments, use StandardAssetId in pallet-manta-pay benchmarking Signed-off-by: Georgi Zlatarev <[email protected]> * Fix clippy and asset-manager benchamrking tests Signed-off-by: Georgi Zlatarev <[email protected]> * Add missing doccoment in old asset-manager migration code Signed-off-by: Georgi Zlatarev <[email protected]> * Refactor AssetIdMigration generics and get rid of magic numbers' * Missing doccoments related to xtokents and xcm Signed-off-by: Georgi Zlatarev <[email protected]> * More missing dcocoments Signed-off-by: Georgi Zlatarev <[email protected]> * Add progress logs to AssetId migration Signed-off-by: Georgi Zlatarev <[email protected]> * Add #[compact] to all AssetId extrinsic params' : Signed-off-by: Georgi Zlatarev <[email protected]> * Remove evm_address field from metadata Signed-off-by: Georgi Zlatarev <[email protected]> * Fix clippy Signed-off-by: Georgi Zlatarev <[email protected]> * Fix pre-runtime hook storage version check for pallet-assets Signed-off-by: Georgi Zlatarev <[email protected]> Signed-off-by: Brandon H. Gomes <[email protected]> Signed-off-by: Georgi Zlatarev <[email protected]> Co-authored-by: Georgi Zlatarev <[email protected]>
- Loading branch information
1 parent
bfa08d6
commit 0365ac7
Showing
41 changed files
with
2,441 additions
and
1,436 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.