-
Notifications
You must be signed in to change notification settings - Fork 88
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
core/validatorapi: workaround for Gnosis proposals #3238
Conversation
3b17178
to
0b37784
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3238 +/- ##
==========================================
+ Coverage 57.63% 57.70% +0.07%
==========================================
Files 211 211
Lines 30370 30375 +5
==========================================
+ Hits 17503 17528 +25
+ Misses 10982 10962 -20
Partials 1885 1885 ☔ View full report in Codecov by Sentry. |
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.
Approved with comments.
Plus consider adding that "real block" unit test.
If the "gnosis_block_hotfix" feature flag is enabled, use the Gnosis-compatible representation of the proposal when calculating its hash tree root. This should fix Gnosis proposals failing due to bad signature.
0b37784
to
320438b
Compare
Quality Gate passedIssues Measures |
|
||
// We're replacing go-eth2-client with a branch off our fork, at version v0.21.10. | ||
// This is needed to ensure Gnosis compatibility. | ||
replace github.com/attestantio/go-eth2-client => github.com/ObolNetwork/go-eth2-client v0.21.11-0.20240822135044-f0a5b21e02c6 |
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.
Wouldn't that mean we will have to manage this repo constantly and rebase it every time there is a new version of go-eth2-client?
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.
Hopefully go-eth2-client will fix this upstream soon
If the "gnosis_block_hotfix" feature flag is enabled, use the Gnosis-compatible representation of the proposal when calculating its hash tree root. This should fix Gnosis proposals failing due to bad signature. category: feature ticket: #3181 feature_flag: gnosis_block_hotfix
For release v1.1.1 cherry picked: * [core/validatorapi: workaround for Gnosis proposals](#3238) * [*: enable gnosis hotfix automatically](#3257) *: [fix flaky testpeers test #3267](#3267) * [cmd: increase testpeers tests timeouts #3268](#3268) * [cmd: fix test peers out of range #3280](#3280) * [testutil: update docker-compose command to docker compose](#3249) category: misc ticket: none
If the "gnosis_block_hotfix" feature flag is enabled, use the Gnosis-compatible representation of the proposal when calculating its hash tree root. This should fix Gnosis proposals failing due to bad signature.
category: feature
ticket: #3181
feature_flag: gnosis_block_hotfix