From ed7788b3890bc1899aea8c5b25590fa81cd29793 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Wed, 27 Oct 2021 11:44:36 +0530 Subject: [PATCH] storage as blank obj --- libs/remix-lib/src/web3Provider/web3VmProvider.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/remix-lib/src/web3Provider/web3VmProvider.ts b/libs/remix-lib/src/web3Provider/web3VmProvider.ts index fa70b9d707..e6e9a73bf9 100644 --- a/libs/remix-lib/src/web3Provider/web3VmProvider.ts +++ b/libs/remix-lib/src/web3Provider/web3VmProvider.ts @@ -304,7 +304,9 @@ export class Web3VmProvider { nextKey: null }) } - cb(null, {}) + // Before https://github.com/ethereum/remix-project/pull/1703, it used to throw error as + // 'unable to retrieve storage ' + txIndex + ' ' + address + cb(null, { storage: {}}) } getBlockNumber (cb) { cb(null, 'vm provider') }