mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Removed relayer_account: &AccountId from MessageDispatch (#2080)
* SourceBridgeHubChain/TargetBridgeHubChain replaced with RelayerAccountChain * Fix * Removed `relayer_account: &AccountId` from `MessageDispatch`
This commit is contained in:
committed by
Bastian Köcher
parent
1f8b4d989e
commit
db53d68e9b
@@ -834,6 +834,7 @@ mod tests {
|
||||
run_test(|| {
|
||||
assert_eq!(BestFinalized::<TestRuntime>::get(), None,);
|
||||
assert_eq!(Pallet::<TestRuntime>::best_finalized(), None);
|
||||
assert_eq!(PalletOperatingMode::<TestRuntime>::try_get(), Err(()));
|
||||
|
||||
let init_data = init_with_origin(RuntimeOrigin::root()).unwrap();
|
||||
|
||||
@@ -843,7 +844,10 @@ mod tests {
|
||||
CurrentAuthoritySet::<TestRuntime>::get().authorities,
|
||||
init_data.authority_list
|
||||
);
|
||||
assert_eq!(PalletOperatingMode::<TestRuntime>::get(), BasicOperatingMode::Normal);
|
||||
assert_eq!(
|
||||
PalletOperatingMode::<TestRuntime>::try_get(),
|
||||
Ok(BasicOperatingMode::Normal)
|
||||
);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user