mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
* Use new naming scheme for all Event enums generated by construct_runtime * Use new naming scheme for all GenesisConfig fields generated by construct_runtime * Fix overlooked GenesisConfig field renaming * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -1552,13 +1552,13 @@ mod tests {
|
||||
Hrmp::hrmp_init_open_channel(para_a_origin.into(), para_b, 2, 8).unwrap();
|
||||
assert_storage_consistency_exhaustive();
|
||||
assert!(System::events().iter().any(|record|
|
||||
record.event == MockEvent::hrmp(Event::OpenChannelRequested(para_a, para_b, 2, 8))
|
||||
record.event == MockEvent::Hrmp(Event::OpenChannelRequested(para_a, para_b, 2, 8))
|
||||
));
|
||||
|
||||
Hrmp::hrmp_accept_open_channel(para_b_origin.into(), para_a).unwrap();
|
||||
assert_storage_consistency_exhaustive();
|
||||
assert!(System::events().iter().any(|record|
|
||||
record.event == MockEvent::hrmp(Event::OpenChannelAccepted(para_a, para_b))
|
||||
record.event == MockEvent::Hrmp(Event::OpenChannelAccepted(para_a, para_b))
|
||||
));
|
||||
|
||||
// Advance to a block 6, but without session change. That means that the channel has
|
||||
@@ -1605,7 +1605,7 @@ mod tests {
|
||||
assert!(!channel_exists(para_a, para_b));
|
||||
assert_storage_consistency_exhaustive();
|
||||
assert!(System::events().iter().any(|record|
|
||||
record.event == MockEvent::hrmp(Event::ChannelClosed(para_b, channel_id.clone()))
|
||||
record.event == MockEvent::Hrmp(Event::ChannelClosed(para_b, channel_id.clone()))
|
||||
));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user