mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
bugfix
This commit is contained in:
parent
24754c4693
commit
20cb72b297
@ -218,8 +218,11 @@ bool doStateTest(mValue& _v)
|
|||||||
if(expectedAddrs != resultAddrs)
|
if(expectedAddrs != resultAddrs)
|
||||||
return 1;
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
if(theState.rootHash() != h256(o["postStateRoot"].get_str()), "wrong post state root")
|
if(theState.rootHash() != h256(o["postStateRoot"].get_str()))
|
||||||
|
{
|
||||||
|
cout << "wrong post state root" << endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -86,8 +86,8 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
"randomStatetest" : {
|
"randomStatetest" : {
|
||||||
"env" : {
|
"env" : {
|
||||||
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
"currentCoinbase" : "945304eb96065b2a98b57a48a06ae28d285a71b5",
|
||||||
"currentDifficulty" : "0x945304eb96065b2a98b57a48a06ae28d285a71b5",
|
"currentDifficulty" : "5623894562375",
|
||||||
"currentGasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
"currentGasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
||||||
"currentNumber" : "0",
|
"currentNumber" : "0",
|
||||||
"currentTimestamp" : "1",
|
"currentTimestamp" : "1",
|
||||||
|
Loading…
Reference in New Issue
Block a user