Adds remove_approval feature to treasury pallet (#11243)
* added remove_approval feature to treasury pallet * Update frame/treasury/src/lib.rs Co-authored-by:Xiliang Chen <xlchen1291@gmail.com> * treasury pallet refactoring: removed proposalId check in remove_approval call and trailing new line in tests file * fmt * 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_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/treasury/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Update frame/treasury/src/lib.rs Co-authored-by:
joe petrowski <25483142+joepetrowski@users.noreply.github.com> * remove_approval extrinsic in treasury pallet:added extra checks in test and extra documentation * refactored error logging on remove_approval extrinsic in treasury pallet Co-authored-by:
Xiliang Chen <xlchen1291@gmail.com> Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by:
Parity Bot <admin@parity.io> Co-authored-by:
joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Showing
- substrate/frame/treasury/src/benchmarking.rs 11 additions, 0 deletionssubstrate/frame/treasury/src/benchmarking.rs
- substrate/frame/treasury/src/lib.rs 37 additions, 0 deletionssubstrate/frame/treasury/src/lib.rs
- substrate/frame/treasury/src/tests.rs 18 additions, 0 deletionssubstrate/frame/treasury/src/tests.rs
- substrate/frame/treasury/src/weights.rs 33 additions, 21 deletionssubstrate/frame/treasury/src/weights.rs
Please register or sign in to comment