mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
when GRANDPA pallet is halted, relay shall not submit finality transactions (#1288)
This commit is contained in:
committed by
Bastian Köcher
parent
a9334bb609
commit
0fa8c02e7a
@@ -1151,6 +1151,11 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn storage_keys_computed_properly() {
|
||||
assert_eq!(
|
||||
IsHalted::<TestRuntime>::storage_value_final_key().to_vec(),
|
||||
bp_header_chain::storage_keys::is_halted_key("Grandpa").0,
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
BestFinalized::<TestRuntime>::storage_value_final_key().to_vec(),
|
||||
bp_header_chain::storage_keys::best_finalized_hash_key("Grandpa").0,
|
||||
|
||||
Reference in New Issue
Block a user