Remove Default, HasCompact, and TypeInfo trait bounds on AssetId (#12740)
* Remove Default, HasCompact, and TypeInfo trait bounds on AssetId * don't use default in benchmarking * add helper trait * add helper to assets tx payment test * docs fixes * i'm confused * aha, cargo * move affected dispatchable calls into new indices * Helper -> BenchmarkHelper * benchmark use of helper * actually, don't break every call interface * use into on AssetIdParameter * Remove From from AssetIdParameter and use it in BenchmarkHelper * include from Co-authored-by: parity-processbot <>
Showing
- substrate/Cargo.lock 1 addition, 0 deletionssubstrate/Cargo.lock
- substrate/bin/node/runtime/src/lib.rs 3 additions, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/assets/src/benchmarking.rs 113 additions, 115 deletionssubstrate/frame/assets/src/benchmarking.rs
- substrate/frame/assets/src/lib.rs 104 additions, 69 deletionssubstrate/frame/assets/src/lib.rs
- substrate/frame/assets/src/mock.rs 3 additions, 0 deletionssubstrate/frame/assets/src/mock.rs
- substrate/frame/transaction-payment/asset-tx-payment/Cargo.toml 8 additions, 0 deletions...ate/frame/transaction-payment/asset-tx-payment/Cargo.toml
- substrate/frame/transaction-payment/asset-tx-payment/src/tests.rs 22 additions, 16 deletions...e/frame/transaction-payment/asset-tx-payment/src/tests.rs
Please register or sign in to comment