Use derive macro to generate XcmWeightInfo trait (#4618)
* Use derive macro to generate XcmWeightInfo trait * Move the Weight type alias out of proc macro
Showing
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/xcm/procedural/Cargo.toml 1 addition, 0 deletionspolkadot/xcm/procedural/Cargo.toml
- polkadot/xcm/procedural/src/lib.rs 6 additions, 0 deletionspolkadot/xcm/procedural/src/lib.rs
- polkadot/xcm/procedural/src/weight_info.rs 67 additions, 0 deletionspolkadot/xcm/procedural/src/weight_info.rs
- polkadot/xcm/src/v2/mod.rs 5 additions, 4 deletionspolkadot/xcm/src/v2/mod.rs
- polkadot/xcm/src/v2/traits.rs 0 additions, 62 deletionspolkadot/xcm/src/v2/traits.rs
Please register or sign in to comment