Do not include :code in the storage proof if not required (#480)

This is basically a hack that prevents the inclusion of `:code` in the
storage proof. A proper fix requires some changes to the trie crate to
not include nodes that aren't read.
This commit is contained in:
Bastian Köcher
2021-06-07 16:17:19 +02:00
committed by GitHub
parent 33908c1414
commit 794bc23de4
10 changed files with 59 additions and 8 deletions
+1
View File
@@ -111,6 +111,7 @@ fn testnet_genesis(
.to_vec(),
..Default::default()
},
cumulus_pallet_parachain_system: Default::default(),
pallet_balances: cumulus_test_runtime::BalancesConfig {
balances: endowed_accounts
.iter()