Skip to content

Split etherbase: geth validators flags for e2e tests#6471

Merged
gastonponti merged 8 commits intomasterfrom
gastonponti/split-etherbase
Jan 18, 2021
Merged

Split etherbase: geth validators flags for e2e tests#6471
gastonponti merged 8 commits intomasterfrom
gastonponti/split-etherbase

Conversation

@gastonponti
Copy link
Copy Markdown
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 requested a review from asaj as a code owner January 13, 2021 21:33
@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