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

clients/besu: fix clique mining #730

Merged
merged 1 commit into from
Feb 23, 2023
Merged

clients/besu: fix clique mining #730

merged 1 commit into from
Feb 23, 2023

Conversation

gfukushima
Copy link
Contributor

@gfukushima gfukushima commented Feb 22, 2023

Reverse the logic to deploy clique key to bootnode only.
This commit 104c185 introduced an additional check to prevent deploying the same private key to a second node. Accidentally ended up stopping the deployment of the key for the first node which prevents besu from mining a block using clique and broke a couple of the RPC suite tests.
Please kindly review that and let me know if there's any additional changes required.
This change has been tested running hive locally and fixes the RPC suite. Didn't detect any new regression

Reversed the logic to deploy clique key to bootnode only.
Original change was to avoid deploying the same clique key to 2 different nodes. Ended up stopping the deployment of the clique key to the first node causing test that rely on a single node to mine to fail due to timeout.
@fjl fjl changed the title Fix clique mining on besu tests clients/besu: fix clique mining Feb 23, 2023
@fjl fjl merged commit 0ddc0b8 into ethereum:master Feb 23, 2023
mattsse pushed a commit to mattsse/hive that referenced this pull request Mar 24, 2023
Reversed the logic to deploy clique key to bootnode only.
Original change was to avoid deploying the same clique key to 2 different
nodes. Ended up stopping the deployment of the clique key to the first node,
causing test that rely on a single node to mine to fail due to timeout.
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