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

Split etherbase: geth validators flags for e2e tests #6471

Merged
merged 8 commits into from
Jan 18, 2021

Conversation

gastonponti
Copy link
Contributor

Description

Add required flags to run a validator, that are needed since the split etherbase change in the blockchain

Backwards compatibility

No. Works only for the instances of geth that already have the etherbase split (since the donut fork)

@gastonponti gastonponti merged commit c24706f into master Jan 18, 2021
@gastonponti gastonponti deleted the gastonponti/split-etherbase branch January 18, 2021 23:29
mergify bot pushed a commit that referenced this pull request Dec 1, 2021
### Description

Developers could previously avoid rerunning most of the setup for e2e tests by commenting out the `hooks.before()` call. #6471 broke this by adding a new value on geth instances that was set only at `hooks.before` time, but not at `hooks.restart` time. With this PR, the necessary values are set in `hooks.restart`, allowing for e2e test reruns without having to wait for migrations and other initialization steps after having run them once.

### Tested

Before, after running the governance e2e tests once, commenting out the `hooks.before()` call, and running the e2e tests again, the tests would fail with "Error: miner.validator address from the instance is required". With these changes, e2e tests run as expected.
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