From e99ff8ee96403faa63162ba35d81beac51b2cf19 Mon Sep 17 00:00:00 2001 From: tgmichel <telmo@purestake.com> Date: Mon, 15 Jun 2020 17:05:54 +0200 Subject: [PATCH] pallet-evm add get(fn) to AccountStorages (#6279) --- substrate/frame/evm/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/substrate/frame/evm/src/lib.rs b/substrate/frame/evm/src/lib.rs index 3600b866b2d..72392629d6e 100644 --- a/substrate/frame/evm/src/lib.rs +++ b/substrate/frame/evm/src/lib.rs @@ -159,7 +159,8 @@ decl_storage! { trait Store for Module<T: Trait> as EVM { Accounts get(fn accounts): map hasher(blake2_128_concat) H160 => Account; AccountCodes get(fn account_codes): map hasher(blake2_128_concat) H160 => Vec<u8>; - AccountStorages: double_map hasher(blake2_128_concat) H160, hasher(blake2_128_concat) H256 => H256; + AccountStorages get(fn account_storages): + double_map hasher(blake2_128_concat) H160, hasher(blake2_128_concat) H256 => H256; } add_extra_genesis { -- GitLab