mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 16:51:02 +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:
@@ -57,7 +57,10 @@ fn authorities_change_logged() {
|
||||
System::events(),
|
||||
vec![EventRecord {
|
||||
phase: Phase::Finalization,
|
||||
event: Event::NewAuthorities(to_authorities(vec![(4, 1), (5, 1), (6, 1)])).into(),
|
||||
event: Event::NewAuthorities {
|
||||
authority_set: to_authorities(vec![(4, 1), (5, 1), (6, 1)])
|
||||
}
|
||||
.into(),
|
||||
topics: vec![],
|
||||
},]
|
||||
);
|
||||
@@ -93,7 +96,10 @@ fn authorities_change_logged_after_delay() {
|
||||
System::events(),
|
||||
vec![EventRecord {
|
||||
phase: Phase::Finalization,
|
||||
event: Event::NewAuthorities(to_authorities(vec![(4, 1), (5, 1), (6, 1)])).into(),
|
||||
event: Event::NewAuthorities {
|
||||
authority_set: to_authorities(vec![(4, 1), (5, 1), (6, 1)])
|
||||
}
|
||||
.into(),
|
||||
topics: vec![],
|
||||
},]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user