mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
blockweight: stateroot is hash
This commit is contained in:
parent
f1722d0f0a
commit
d872539b1f
@ -344,7 +344,7 @@ void ImportTest::exportTest(bytes const& _output, State const& _statePost)
|
||||
|
||||
// export post state
|
||||
m_TestObject["post"] = fillJsonWithState(_statePost);
|
||||
m_TestObject["postStateRoot"] = toString(_statePost.rootHash().asBytes());
|
||||
m_TestObject["postStateRoot"] = toHex(_statePost.rootHash().asBytes());
|
||||
|
||||
// export pre state
|
||||
m_TestObject["pre"] = fillJsonWithState(m_statePre);
|
||||
|
Loading…
Reference in New Issue
Block a user