Open xuhcc opened 6 years ago
eth-testrpc
py-geth
go-ethereum
block.timestamp in solidity returns wrong time, somewhere between 1400000000 and 1500000000.
block.timestamp
There is similar old issue: #25
The workaround is to use testing_timeTravel RPC call before running tests.
testing_timeTravel
eth-testrpc
Version 1.3.3py-geth
Version: 2.0.0go-ethereum
Version: 1.7.3What was wrong?
block.timestamp
in solidity returns wrong time, somewhere between 1400000000 and 1500000000.There is similar old issue: #25
Cute Animal Picture