mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
Egress queue validation in runtime (#155)
* Add fn to validate egress routes * Add blank tests * Reject routing to non existent parachains * Reject if routing to self * Reject if egress route parachain ids out of order * Extract method for checking egress routes * Reject empty egress routes * Extract test method * Generate empty trie root constant in build script * Remove unwraps * Hardcode EMPTY_TRIE_ROOT and add test to verify * Const not pu
This commit is contained in:
committed by
Robert Habermeier
parent
bef6069cc9
commit
0a25c425b0
@@ -70,6 +70,9 @@ extern crate polkadot_primitives as primitives;
|
||||
#[cfg(test)]
|
||||
extern crate substrate_keyring as keyring;
|
||||
|
||||
#[cfg(test)]
|
||||
extern crate substrate_trie;
|
||||
|
||||
mod parachains;
|
||||
mod claims;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user