pipermerriam / eth-testrpc

Used for testing all maner of Ethereum JSON-RPC interactions.
MIT License
163 stars 46 forks source link

Invalid block timestamp #109

Open xuhcc opened 6 years ago

xuhcc commented 6 years ago

What was wrong?

block.timestamp in solidity returns wrong time, somewhere between 1400000000 and 1500000000.

There is similar old issue: #25

Cute Animal Picture

mongoose2

xuhcc commented 6 years ago

The workaround is to use testing_timeTravel RPC call before running tests.