Add field names to pallet Event variants (#9993)

* convert pallet-assets events to struct types

* updated events of a couple pallets

* updated pallet event field names

* update pallet event field names

* updated events in test files

* cargo fmt

* minorfixes

* fix assertion error

* minor fix

* formatting fix

* fmt
This commit is contained in:
David Salami authored and GitHub committed 2021-11-16 01:56:00 +00:00
1 parent fb3c7326c2
commit 120894fdb7
48 files changed
+1181 -681

No files matched your search

+8 -1
View File
@@ -706,7 +706,14 @@ fn multisig_2_of_3_cannot_reissue_same_call() {
let err = DispatchError::from(BalancesError::<Test, _>::InsufficientBalance).stripped();
System::assert_last_event(
pallet_multisig::Event::MultisigExecuted(3, now(), multi, hash, Err(err)).into(),
pallet_multisig::Event::MultisigExecuted {
approving: 3,
timepoint: now(),
multisig: multi,
call_hash: hash,
result: Err(err),
}
.into(),
);
});
}