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

Go bindings and tests #2

Open
2 tasks
shanev opened this issue May 28, 2018 · 2 comments
Open
2 tasks

Go bindings and tests #2

shanev opened this issue May 28, 2018 · 2 comments

Comments

@shanev
Copy link
Member

shanev commented May 28, 2018

  • auto-generate bindings whenever Solidity file changes using go generate
  • tests using blockchain simulator
@bonedaddy
Copy link

One thing to keep in mind about the blockchain simulator, I have never ever been able to get the adjust time function to work from go-ethereum's simulated backend:

https://godoc.org/github.com/ethereum/go-ethereum/accounts/abi/bind/backends#SimulatedBackend.AdjustTime

@shanev
Copy link
Member Author

shanev commented May 29, 2018

@postables Ah that sucks. We may not have to use it if we go with block height vs. time for the HTLC.

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

2 participants