Allow to set the max supply for collection (#11441)
* Allow to set the max supply for collection * Update error * Add weights info * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Update frame/uniques/src/lib.rs Co-authored-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by:
Parity Bot <admin@parity.io> Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Showing
- substrate/frame/uniques/src/benchmarking.rs 10 additions, 0 deletionssubstrate/frame/uniques/src/benchmarking.rs
- substrate/frame/uniques/src/functions.rs 4 additions, 0 deletionssubstrate/frame/uniques/src/functions.rs
- substrate/frame/uniques/src/lib.rs 52 additions, 0 deletionssubstrate/frame/uniques/src/lib.rs
- substrate/frame/uniques/src/tests.rs 55 additions, 2 deletionssubstrate/frame/uniques/src/tests.rs
- substrate/frame/uniques/src/weights.rs 78 additions, 61 deletionssubstrate/frame/uniques/src/weights.rs
Please register or sign in to comment