This commit is contained in:
CJentzsch 2015-03-12 17:44:57 +01:00
parent 24754c4693
commit 20cb72b297
2 changed files with 6 additions and 3 deletions

View File

@ -218,8 +218,11 @@ bool doStateTest(mValue& _v)
if(expectedAddrs != resultAddrs)
return 1;
#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 0;
}

View File

@ -86,8 +86,8 @@ int main(int argc, char *argv[])
{
"randomStatetest" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x945304eb96065b2a98b57a48a06ae28d285a71b5",
"currentCoinbase" : "945304eb96065b2a98b57a48a06ae28d285a71b5",
"currentDifficulty" : "5623894562375",
"currentGasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
"currentNumber" : "0",
"currentTimestamp" : "1",