mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 20:21:03 +00:00
Reject transactions if bridge pallets are halted (#2600)
* reject transactions if bridge pallets are halted * fixed CI (#2598)
This commit is contained in:
committed by
Bastian Köcher
parent
2d15d1062f
commit
fe90a2d8ce
@@ -601,7 +601,7 @@ mod tests {
|
||||
.is_some());
|
||||
assert_eq!(
|
||||
ImportedBlockNumbers::<TestRuntime>::get(index),
|
||||
Some(index + 1).map(Into::into)
|
||||
Some(Into::into(index + 1)),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -619,7 +619,7 @@ mod tests {
|
||||
.is_some());
|
||||
assert_eq!(
|
||||
ImportedBlockNumbers::<TestRuntime>::get(0),
|
||||
Some(commitments_to_keep + 1).map(Into::into)
|
||||
Some(Into::into(commitments_to_keep + 1)),
|
||||
);
|
||||
// the side effect of the import is that the commitment#1 is pruned
|
||||
assert!(ImportedCommitments::<TestRuntime>::get(1).is_none());
|
||||
@@ -638,7 +638,7 @@ mod tests {
|
||||
.is_some());
|
||||
assert_eq!(
|
||||
ImportedBlockNumbers::<TestRuntime>::get(1),
|
||||
Some(commitments_to_keep + 2).map(Into::into)
|
||||
Some(Into::into(commitments_to_keep + 2)),
|
||||
);
|
||||
// the side effect of the import is that the commitment#2 is pruned
|
||||
assert!(ImportedCommitments::<TestRuntime>::get(1).is_none());
|
||||
|
||||
Reference in New Issue
Block a user