-
Notifications
You must be signed in to change notification settings - Fork 461
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
Fixed ExtraData in MiningConfig #4665 #4734
Conversation
Added it to referenced in the issue-4665 locations and their references
@@ -113,8 +115,58 @@ public virtual async Task forkchoiceUpdatedV1_should_communicate_with_boost_rela | |||
.WithContent("{\"timestamp\":\"0x3e8\",\"prevRandao\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"suggestedFeeRecipient\":\"0x0000000000000000000000000000000000000000\"}") | |||
.Respond("application/json", "{\"timestamp\":\"0x3e9\",\"prevRandao\":\"0x03783fac2efed8fbc9ad443e592ee30e61d65f471140c10ca155e937b435b760\",\"suggestedFeeRecipient\":\"0xb7705ae4c6f81b66cdb323c65f4e8133690fc099\"}"); | |||
|
|||
//TODO: think about extracting an essely serialisable class, test its serializatoin sepratly, refactor with it similar methods like the one above |
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.
Minor thing - typo: sepratly
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.
Great work! :) Let's make CI green and test it on sepolia validators
Missed the constant variable override
@MarekM25 Please review the update (1 hardcoded hash line update) |
Samples of configuration in-use Shout out to the Angkor team; thanks for your help in the testing of this! |
Fixes #4665
Changes:
ExtraData
is hardcoded in different ways.ExtraData
fromIMiningConfig
and expands on preexisting ExtraData roots inMiningConfig
Types of changes
Testing
Requires testing
Tested locally with Goreli, Unit Tested locally, requires wider testing as the this is implementer's first issue
In case you checked yes, did you write tests??
All new code developed in the fixing of this issue has Unit Tests
MiningConfigTest.cs
Comments about testing, should you have some (optional)
Not 100% of unit tests do currently pass on stand-alone windows (yet the same amount of tests fail on this PR Unit test results as on Master nethermind brunch)