asset-rate pallet: box asset kind parameter (#1545)
The `AssetKind` type parameter of a dispatchable, defined by the user,
might be large — like `xcm::MultiLocation`. To prevent inflating the
size of the `Call` type, we `Box` it.
This changes required for
https://github.com/paritytech/polkadot-sdk/pull/1333
---------
Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Showing
- substrate/frame/asset-rate/src/benchmarking.rs 5 additions, 5 deletionssubstrate/frame/asset-rate/src/benchmarking.rs
- substrate/frame/asset-rate/src/lib.rs 16 additions, 11 deletionssubstrate/frame/asset-rate/src/lib.rs
- substrate/frame/asset-rate/src/tests.rs 42 additions, 10 deletionssubstrate/frame/asset-rate/src/tests.rs
Please register or sign in to comment