mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 06:27:58 +00:00
Add field names to pallet Event variants (#10184)
* Changed named fields to struct variants * Fixed errors. * Made adjustments as per `cargo +nightly fmt`. * Update frame/uniques/src/lib.rs Co-authored-by: Alexander Theißen <alex.theissen@me.com> * Removed redundant comments for structs. * Moved frame-support to dev dependencies Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
@@ -369,7 +369,8 @@ fn filtering_works() {
|
||||
);
|
||||
assert_ok!(Proxy::proxy(Origin::signed(4), 1, None, call.clone()));
|
||||
expect_events(vec![
|
||||
UtilityEvent::BatchInterrupted(0, SystemError::CallFiltered.into()).into(),
|
||||
UtilityEvent::BatchInterrupted { index: 0, error: SystemError::CallFiltered.into() }
|
||||
.into(),
|
||||
ProxyEvent::ProxyExecuted(Ok(())).into(),
|
||||
]);
|
||||
|
||||
@@ -387,7 +388,8 @@ fn filtering_works() {
|
||||
);
|
||||
assert_ok!(Proxy::proxy(Origin::signed(4), 1, None, call.clone()));
|
||||
expect_events(vec![
|
||||
UtilityEvent::BatchInterrupted(0, SystemError::CallFiltered.into()).into(),
|
||||
UtilityEvent::BatchInterrupted { index: 0, error: SystemError::CallFiltered.into() }
|
||||
.into(),
|
||||
ProxyEvent::ProxyExecuted(Ok(())).into(),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user