-
Notifications
You must be signed in to change notification settings - Fork 927
Default ExtraData to "besu vM.m.p" rather than empty #8536
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
Conversation
2ab7341
to
a259acd
Compare
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.
LGTM, please add a CHANGELOG entry
Signed-off-by: Ben Adams <thundercat@illyriad.co.uk>
Signed-off-by: Ben Adams <thundercat@illyriad.co.uk>
efc86d6
to
f823050
Compare
Added changelog, fixed compilation error |
Nethermind is also adding version to default ExtraData (is currently just |
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/MiningConfiguration.java
Outdated
Show resolved
Hide resolved
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/MiningConfiguration.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> # Conflicts: # ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/MiningConfiguration.java
Refactor to use BesuVersionUtils everywhere version info are required
Updated with changes |
Oh, yea 🫠 So in the Nethermind PR we did it so the main app triggered the version add (or in this case could be non-emptiness); because the ExtraData is included in the blockhash so as not to either rekt all the tests or have to update them every version. Wouldn't know how to go about that in besu |
And how it would interplay with config overrides |
There are some other tests failing because they expected any empty extra data field, I can take care of them tomorrow |
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.
LGTM but still some test failures to fix
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
PR benaadams#2 that should fix the failing tests |
Update and fix tests
Head branch was pushed to by a user without write access
Merged |
Signed-off-by: Ben {chmark} Adams <thundercat@illyriad.co.uk>
PR description
Default ExtraData to "besu vM.m.p" rather than empty e.g. "besu v25.4.0"
This is done similarly by Geth, Nethermind and reth; and will be in latest version of Erigon erigontech/erigon#14419
This helps if are any built block issues to know if is old version (with known fixed issues) or new version