Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid block timestamp #109

Open
xuhcc opened this issue Jan 19, 2018 · 1 comment
Open

Invalid block timestamp #109

xuhcc opened this issue Jan 19, 2018 · 1 comment

Comments

@xuhcc
Copy link

xuhcc commented Jan 19, 2018

  • eth-testrpc Version 1.3.3
  • py-geth Version: 2.0.0
  • go-ethereum Version: 1.7.3
  • Python Version: 3.6.4
  • OS: linux

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
Copy link
Author

xuhcc commented Feb 9, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant