mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
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:
@@ -1363,9 +1363,11 @@ mod tests {
|
||||
));
|
||||
assert_eq!(Balances::free_balance(2), 0);
|
||||
// Transfer Event
|
||||
System::assert_has_event(Event::Balances(pallet_balances::Event::Transfer(
|
||||
2, 3, 80,
|
||||
)));
|
||||
System::assert_has_event(Event::Balances(pallet_balances::Event::Transfer {
|
||||
from: 2,
|
||||
to: 3,
|
||||
amount: 80,
|
||||
}));
|
||||
// Killed Event
|
||||
System::assert_has_event(Event::System(system::Event::KilledAccount(2)));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user