mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-26 20:19:31 +00:00
fix path when load test data
This commit is contained in:
parent
58b5aa5f39
commit
c92bc7c4e4
@ -379,7 +379,8 @@ proc initComputation(vmState: BaseVMState, tx: Transaction, sender: EthAddress,
|
||||
|
||||
proc initDatabase*(): (Uint256, BaseChainDB) =
|
||||
let
|
||||
node = json.parseFile(blockFile)
|
||||
appDir = getAppDir()
|
||||
node = json.parseFile(appDir / blockFile)
|
||||
blockNumber = UInt256.fromHex(node["blockNumber"].getStr())
|
||||
memoryDB = newMemoryDB()
|
||||
state = node["state"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user