Skip to content
Commit bdf55aab authored by Chigozie Joshua's avatar Chigozie Joshua Committed by GitHub
Browse files

Adds remove_approval feature to treasury pallet (#11243)



* added remove_approval feature to treasury pallet

* Update frame/treasury/src/lib.rs

Co-authored-by: default avatarXiliang Chen <[email protected]>

* 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: default avatarjoe petrowski <[email protected]>

* 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: default avatarXiliang Chen <[email protected]>
Co-authored-by: default avatarShawn Tabrizi <[email protected]>
Co-authored-by: default avatarParity Bot <[email protected]>
Co-authored-by: default avatarjoe petrowski <[email protected]>
parent 3890fd4c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment