From 22d40435a2724d7afadce43f04da52be1de3a93f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= <tomusdrw@users.noreply.github.com> Date: Fri, 24 May 2019 15:21:19 +0200 Subject: [PATCH] Lower the required code threshold. (#2685) --- substrate/core/rpc/src/state/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/core/rpc/src/state/tests.rs b/substrate/core/rpc/src/state/tests.rs index 0ad983fc110..4cd4e7bfd42 100644 --- a/substrate/core/rpc/src/state/tests.rs +++ b/substrate/core/rpc/src/state/tests.rs @@ -34,7 +34,7 @@ fn should_return_storage() { assert!( client.storage(key.clone(), Some(genesis_hash).into()) .map(|x| x.map(|x| x.0.len())).unwrap().unwrap() - > 195_000 + > 10_000 ); assert_matches!( client.storage_hash(key.clone(), Some(genesis_hash).into()).map(|x| x.is_some()), @@ -42,7 +42,7 @@ fn should_return_storage() { ); assert!( client.storage_size(key.clone(), None).unwrap().unwrap() - > 195_000 + > 10_000 ); } -- GitLab