Implement AliasOrigin processing in XCVM (#7245)
* Implement AliasOrigin processing in XCVM * add builder types and first test * switch to more general builder types * clone target for RemovePrefixAccountId32 * change builder types * change AliasForeignAccountId32 and add test for AliasCase * add Aliasers type to xcm configs * add benchmark * benchmark fix * add benchmark function for runtimes * fix alias_origin result types * fix benchmark test * add runtime-benchmarks feature in pallet-xcm-benchmarks * fmt * remove AliasCase, add test and fmt * address feedback * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic * ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic * ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic * address feedback * lock * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic * ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic * ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic * change doc * fmt --------- Co-authored-by:Just van Stam <just.van.stam@gmail.com> Co-authored-by:
Just van Stam <vstam1@users.noreply.github.com> Co-authored-by: command-bot <>
Showing
- polkadot/runtime/kusama/src/lib.rs 5 additions, 0 deletionspolkadot/runtime/kusama/src/lib.rs
- polkadot/runtime/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs 59 additions, 59 deletions...e/kusama/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
- polkadot/runtime/kusama/src/xcm_config.rs 1 addition, 0 deletionspolkadot/runtime/kusama/src/xcm_config.rs
- polkadot/runtime/polkadot/src/xcm_config.rs 1 addition, 0 deletionspolkadot/runtime/polkadot/src/xcm_config.rs
- polkadot/runtime/rococo/src/lib.rs 5 additions, 0 deletionspolkadot/runtime/rococo/src/lib.rs
- polkadot/runtime/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs 59 additions, 59 deletions...e/rococo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
- polkadot/runtime/rococo/src/xcm_config.rs 1 addition, 0 deletionspolkadot/runtime/rococo/src/xcm_config.rs
- polkadot/runtime/test-runtime/src/xcm_config.rs 1 addition, 0 deletionspolkadot/runtime/test-runtime/src/xcm_config.rs
- polkadot/runtime/westend/src/lib.rs 5 additions, 0 deletionspolkadot/runtime/westend/src/lib.rs
- polkadot/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs 59 additions, 59 deletions.../westend/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
- polkadot/runtime/westend/src/xcm_config.rs 1 addition, 0 deletionspolkadot/runtime/westend/src/xcm_config.rs
- polkadot/xcm/pallet-xcm-benchmarks/Cargo.toml 1 addition, 0 deletionspolkadot/xcm/pallet-xcm-benchmarks/Cargo.toml
- polkadot/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs 1 addition, 0 deletionspolkadot/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs
- polkadot/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs 13 additions, 0 deletions...dot/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs
- polkadot/xcm/pallet-xcm-benchmarks/src/generic/mock.rs 17 additions, 2 deletionspolkadot/xcm/pallet-xcm-benchmarks/src/generic/mock.rs
- polkadot/xcm/pallet-xcm-benchmarks/src/generic/mod.rs 5 additions, 0 deletionspolkadot/xcm/pallet-xcm-benchmarks/src/generic/mod.rs
- polkadot/xcm/pallet-xcm/src/mock.rs 1 addition, 0 deletionspolkadot/xcm/pallet-xcm/src/mock.rs
- polkadot/xcm/xcm-builder/src/lib.rs 3 additions, 0 deletionspolkadot/xcm/xcm-builder/src/lib.rs
- polkadot/xcm/xcm-builder/src/origin_aliases.rs 37 additions, 0 deletionspolkadot/xcm/xcm-builder/src/origin_aliases.rs
- polkadot/xcm/xcm-builder/src/tests/aliases.rs 85 additions, 0 deletionspolkadot/xcm/xcm-builder/src/tests/aliases.rs
Please register or sign in to comment