mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
add sleep 1 second to avoid invalid blocks due to same timestamp during creation
Conflicts: test/blockchain.cpp
This commit is contained in:
parent
f6cfe40010
commit
35dafa7479
@ -226,7 +226,7 @@
|
||||
"transactions" : [
|
||||
{
|
||||
"data" : "setInt8",
|
||||
"data" : "0x9a19a953000000000000000000000000000000000000000000000000fffffffffffffffa",
|
||||
"data" : "0x9a19a953fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa",
|
||||
"gasLimit" : "314159",
|
||||
"gasPrice" : "1",
|
||||
"nonce" : "10",
|
||||
|
@ -289,6 +289,7 @@ void doBlockchainTests(json_spirit::mValue& _v, bool _fillin)
|
||||
state = stateTemp; //revert state as if it was before executing this block
|
||||
}
|
||||
blArray.push_back(blObj);
|
||||
sleep(1);
|
||||
} //for blocks
|
||||
|
||||
if (o.count("expect") > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user