mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
MaxValues for maps in parachain maps (#1868)
* MaxValues for maps in parachain maps * fix compilation
This commit is contained in:
committed by
Bastian Köcher
parent
bae329c66e
commit
4982d1c2e5
@@ -662,6 +662,7 @@ mod tests {
|
||||
assert_err, assert_noop, assert_ok, dispatch::PostDispatchInfo,
|
||||
storage::generator::StorageValue,
|
||||
};
|
||||
use sp_core::Get;
|
||||
use sp_runtime::{Digest, DigestItem, DispatchError};
|
||||
|
||||
fn initialize_substrate_bridge() {
|
||||
@@ -1242,4 +1243,9 @@ mod tests {
|
||||
}
|
||||
|
||||
generate_owned_bridge_module_tests!(BasicOperatingMode::Normal, BasicOperatingMode::Halted);
|
||||
|
||||
#[test]
|
||||
fn maybe_headers_to_keep_returns_correct_value() {
|
||||
assert_eq!(MaybeHeadersToKeep::<TestRuntime, ()>::get(), Some(mock::HeadersToKeep::get()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user