-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Eth2 showcase with log poller #11214
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
func (te *CLClusterTestEnv) StartGeth() (blockchain.EVMNetwork, test_env.InternalDockerUrls, error) { | ||
return te.Geth.StartContainer() | ||
func (te *CLClusterTestEnv) StartEthereumNetwork(b *test_env.EthereumNetworkBuilder) (blockchain.EVMNetwork, test_env.RpcProvider, test_env.EthereumNetworkConfig, error) { | ||
// if environment is being restored from a previous state, use the existing config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this provision? is there any use case for it already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet, but I didn't want to break what we had there, because it allowed to re-use existing configuration (even if we never did it)
Geth GethConfig `json:"geth"` | ||
MockAdapter MockAdapterConfig `json:"mock_adapter"` | ||
ClCluster *ClCluster `json:"clCluster"` | ||
Networks []string `json:"networks"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we change this to toml? in case in future we want to pass this from test input toml ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should! but I think we need to move the CTF config first and then we can move product-specific test configs?
SonarQube Quality Gate 0 Bugs No Coverage information |
Shows how to use new proposed Ethereum Network Builder using a log poller test. And how to make it backward compatible with existing tests that just use
Geth
withPoW
.