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

Introduced separate package for chain-generic functions #57

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

pdyraga
Copy link
Member

@pdyraga pdyraga commented Nov 12, 2020

WaitForBlockConfirmations works with any chain implementation so it should not be placed in /pkg/chain/ethereum/ethutil where Ethereum-specific utils live.

From now on, the code using this util that works with chain abstractions can import pkg/chain/chainutil instead of having to import Ethereum implementation utilities.

See keep-network/keep-ecdsa#592 (comment) for reference.

WaitForBlockConfirmations works with any chain implementation so it
should not be placed in /pkg/chain/ethereum/ethutil where
Ethereum-specific utils live.

From now on, the code using this util that works with chain abstractions
can import pkg/chain/chainutil instead of having to import Ethereum
implementation utilities.
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

Successfully merging this pull request may close these issues.

2 participants