|
|
|
@ -245,7 +245,7 @@ class CustomEthersStateManager extends StateManagerCommonStorageDump { |
|
|
|
|
} else { |
|
|
|
|
const codeHash = accountData.codeHash === '0x0000000000000000000000000000000000000000000000000000000000000000' ? '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470' : accountData.codeHash |
|
|
|
|
account = Account.fromAccountData({ |
|
|
|
|
balance: BigInt(accountData.balance), |
|
|
|
|
balance: BigInt(accountData.balance), |
|
|
|
|
nonce: BigInt(accountData.nonce), |
|
|
|
|
codeHash: toBuffer(codeHash) |
|
|
|
|
// storageRoot: toBuffer([]), // we have to remove this in order to force the creation of the Trie in the local state.
|
|
|
|
|