mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
Migrate pallet-treasury to the new pallet attribute macro (#9197)
* Migrate pallet-treasury to the new pallet attribute macro Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Fix bounties/tips tests Signed-off-by: koushiro <koushiro.cqx@gmail.com> * fix Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Update frame/treasury/src/lib.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Update frame/treasury/src/lib.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * use `GenesisBuild` * fix imports Co-authored-by: thiolliere <gui.thiolliere@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -363,7 +363,7 @@ fn full_native_block_import_works() {
|
||||
},
|
||||
EventRecord {
|
||||
phase: Phase::ApplyExtrinsic(1),
|
||||
event: Event::Treasury(pallet_treasury::RawEvent::Deposit(fees * 8 / 10)),
|
||||
event: Event::Treasury(pallet_treasury::Event::Deposit(fees * 8 / 10)),
|
||||
topics: vec![],
|
||||
},
|
||||
EventRecord {
|
||||
@@ -417,7 +417,7 @@ fn full_native_block_import_works() {
|
||||
},
|
||||
EventRecord {
|
||||
phase: Phase::ApplyExtrinsic(1),
|
||||
event: Event::Treasury(pallet_treasury::RawEvent::Deposit(fees * 8 / 10)),
|
||||
event: Event::Treasury(pallet_treasury::Event::Deposit(fees * 8 / 10)),
|
||||
topics: vec![],
|
||||
},
|
||||
EventRecord {
|
||||
@@ -440,7 +440,7 @@ fn full_native_block_import_works() {
|
||||
},
|
||||
EventRecord {
|
||||
phase: Phase::ApplyExtrinsic(2),
|
||||
event: Event::Treasury(pallet_treasury::RawEvent::Deposit(fees * 8 / 10)),
|
||||
event: Event::Treasury(pallet_treasury::Event::Deposit(fees * 8 / 10)),
|
||||
topics: vec![],
|
||||
},
|
||||
EventRecord {
|
||||
|
||||
Reference in New Issue
Block a user