[NFTs] Update attributes with offchain signature (#13390)
* Allow to mint with the pre-signed signatures * Another try * WIP: test encoder * Fix the deposits * Refactoring + tests + benchmarks * Add sp-core/runtime-benchmarks * Remove sp-core from dev deps * Enable full_crypto for benchmarks * Typo * Fix * Update frame/nfts/src/mock.rs Co-authored-by:Squirrel <gilescope@gmail.com> * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts * Add docs * Add attributes into the pre-signed object & track the deposit owner for attributes * Update docs * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts * Add the number of attributes provided to weights * Support pre-signed attributes * Update docs * Fix merge artifacts * Update docs * Add more tests * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts * Update frame/nfts/src/types.rs Co-authored-by:
joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Update types.rs --------- Co-authored-...
Showing
- substrate/frame/nfts/src/benchmarking.rs 50 additions, 0 deletionssubstrate/frame/nfts/src/benchmarking.rs
- substrate/frame/nfts/src/features/attributes.rs 53 additions, 0 deletionssubstrate/frame/nfts/src/features/attributes.rs
- substrate/frame/nfts/src/lib.rs 35 additions, 0 deletionssubstrate/frame/nfts/src/lib.rs
- substrate/frame/nfts/src/tests.rs 308 additions, 0 deletionssubstrate/frame/nfts/src/tests.rs
- substrate/frame/nfts/src/types.rs 21 additions, 1 deletionsubstrate/frame/nfts/src/types.rs
- substrate/frame/nfts/src/weights.rs 315 additions, 182 deletionssubstrate/frame/nfts/src/weights.rs
Please register or sign in to comment