|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
'use strict' |
|
|
|
|
import { hash } from '@remix-project/remix-lib' |
|
|
|
|
import { bufferToHex } from '@ethereumjs/util' |
|
|
|
|
import rlp from 'rlp' |
|
|
|
|
import { decode } from 'rlp' |
|
|
|
|
import { execution } from '@remix-project/remix-lib' |
|
|
|
|
const { LogsManager } = execution |
|
|
|
|
import { VmProxy } from './VmProxy' |
|
|
|
@ -66,7 +66,7 @@ class StateManagerCommonStorageDump extends DefaultStateManager { |
|
|
|
|
const stream = trie.createReadStream() |
|
|
|
|
|
|
|
|
|
stream.on('data', (val) => { |
|
|
|
|
const value = rlp.decode(val.value) |
|
|
|
|
const value = decode(val.value) |
|
|
|
|
storage['0x' + val.key.toString('hex')] = { |
|
|
|
|
key: this.keyHashes[val.key.toString('hex')], |
|
|
|
|
value: '0x' + value.toString('hex') |
|
|
|
|