-
Notifications
You must be signed in to change notification settings - Fork 837
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
Add network support for ephemery testnet #7471
Add network support for ephemery testnet #7471
Conversation
3f6b682
to
f58f4e0
Compare
besu/src/test/java/org/hyperledger/besu/cli/BesuCommandTest.java
Outdated
Show resolved
Hide resolved
evm/src/test/java/org/hyperledger/besu/evm/operation/Create2OperationTest.java
Outdated
Show resolved
Hide resolved
@gconnect is this still WIP as the title suggests, or ready for review? |
Yes @macfarla it is. Currently working on the requested changed. I have made most of the changes what is left is the test. Should be done with it later today and push update then remove the WIP. Also a quick one, I created the standalone class under the utils directory am not sure if it's okay there. |
besu/src/main/java/org/hyperledger/besu/util/GenerateEphemeryGenesisFile.java
Outdated
Show resolved
Hide resolved
besu/src/main/java/org/hyperledger/besu/util/GenerateEphemeryGenesisFile.java
Outdated
Show resolved
Hide resolved
besu/src/main/java/org/hyperledger/besu/util/GenerateEphemeryGenesisFile.java
Outdated
Show resolved
Hide resolved
) * exclude permissioning test from default ATs run on PRs Signed-off-by: Sally MacFarlane <[email protected]> --------- Signed-off-by: Sally MacFarlane <[email protected]> Signed-off-by: gconnect <[email protected]>
Signed-off-by: Gabriel-Trintinalia <[email protected]> Signed-off-by: gconnect <[email protected]>
… trace (hyperledger#7336) * eliminate non-constant string concatenation from debug and trace Signed-off-by: Sally MacFarlane <[email protected]> * adjustments Signed-off-by: Sally MacFarlane <[email protected]> --------- Signed-off-by: Sally MacFarlane <[email protected]> Signed-off-by: gconnect <[email protected]>
Signed-off-by: Simon Dudley <[email protected]> Signed-off-by: gconnect <[email protected]>
--------- Signed-off-by: Simon Dudley <[email protected]> Signed-off-by: gconnect <[email protected]>
…perledger#7296) Optimistic transaction parallelization execution during block processing to improve the performances. This feature can enabled with a flag --Xbonsai-parallel-tx-processing-enabled=true Signed-off-by: Karim Taam <[email protected]> Co-authored-by: Ameziane H <[email protected]> Co-authored-by: garyschulte <[email protected]> Signed-off-by: gconnect <[email protected]>
…7353) * 7732: Remove datagas related stuff in favour of blobgas Signed-off-by: Matilda Clerke <[email protected]> --------- Signed-off-by: Matilda Clerke <[email protected]> Signed-off-by: gconnect <[email protected]>
Fix NPE for legacy ForkId with no forks Signed-off-by: [email protected] <[email protected]> Signed-off-by: gconnect <[email protected]>
…resh, not just the first one (hyperledger#7314) * Add new config option to use bootnodes during any peer table refresh, not just the first one Signed-off-by: Matthew Whitehead <[email protected]> * Update everything-config list Signed-off-by: Matthew Whitehead <[email protected]> * Revert debug setting Signed-off-by: Matthew Whitehead <[email protected]> * Update ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/internal/PeerDiscoveryController.java Co-authored-by: Stefan Pingel <[email protected]> Signed-off-by: Matt Whitehead <[email protected]> --------- Signed-off-by: Matthew Whitehead <[email protected]> Signed-off-by: Matt Whitehead <[email protected]> Co-authored-by: Stefan Pingel <[email protected]> Signed-off-by: gconnect <[email protected]>
This avoids executing TrieLogPruner.preload Signed-off-by: Simon Dudley <[email protected]> Signed-off-by: gconnect <[email protected]>
Add unit tests to the EXTCODE* series operations. Also, put all EVM operations tests in the proper package. Signed-off-by: Danno Ferrin <[email protected]> Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
…ction pool (hyperledger#7359) * Introduce score for pending transactions Signed-off-by: Fabio Di Fabio <[email protected]> * Introduce score for pending transactions Signed-off-by: Fabio Di Fabio <[email protected]> * Update package javadoc Signed-off-by: Fabio Di Fabio <[email protected]> --------- Signed-off-by: Fabio Di Fabio <[email protected]> Signed-off-by: gconnect <[email protected]>
…yperledger#7377) * Update GeneralStateTestCaseEipSpec for use in linea-arithmetization Signed-off-by: Gaurav Ahuja <[email protected]> * formatting Signed-off-by: Sally MacFarlane <[email protected]> --------- Signed-off-by: Gaurav Ahuja <[email protected]> Signed-off-by: Sally MacFarlane <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: gconnect <[email protected]>
…act (hyperledger#7380) Signed-off-by: garyschulte <[email protected]> Signed-off-by: gconnect <[email protected]>
…#7357) There is still a startup error when bonsai-limit-trie-logs-enabled is explicitly set to true --------- Signed-off-by: Simon Dudley <[email protected]> Signed-off-by: gconnect <[email protected]>
* Do not maintain connections to bootnodes Signed-off-by: Matthew Whitehead <[email protected]> * Update changelog entry Signed-off-by: Matthew Whitehead <[email protected]> --------- Signed-off-by: Matthew Whitehead <[email protected]> Co-authored-by: Stefan Pingel <[email protected]> Signed-off-by: gconnect <[email protected]>
Also reduce pruning window from 30_000 to 5_000 --------- Signed-off-by: Simon Dudley <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: gconnect <[email protected]>
…exist (hyperledger#7305) Signed-off-by: Jason Frame <[email protected]> Signed-off-by: gconnect <[email protected]>
…Info is null (hyperledger#7508) Signed-off-by: kesrishubham2510 <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: gconnect <[email protected]>
Signed-off-by: Neo <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: gconnect <[email protected]>
…er#7517) * fleet-mode safe behavior for fcU in SynchronizationService Signed-off-by: garyschulte <[email protected]> * spotless Signed-off-by: garyschulte <[email protected]> --------- Signed-off-by: garyschulte <[email protected]> Signed-off-by: gconnect <[email protected]>
* EVMTool should respect --genesis option Update the code so that the genesis file option will be respected when set. Also, default --fork options should set a rational base fee. Signed-off-by: Danno Ferrin <[email protected]> --------- Signed-off-by: Danno Ferrin <[email protected]> Signed-off-by: gconnect <[email protected]>
The fuzzAll task depended on targets that didn't exist. Signed-off-by: Danno Ferrin <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: gconnect <[email protected]>
* Release checklist update More details on homebrew and docs releases in release checklist issue template Co-authored-by: Simon Dudley <[email protected]> Signed-off-by: Chaminda Divitotawela <[email protected]> * Remove release creation for besu-docs from checklist It has been agreed there is no value creating releases in the hyperledger/besu-docs repo. Remove the related instruction from checklist Signed-off-by: Chaminda Divitotawela <[email protected]> --------- Signed-off-by: Chaminda Divitotawela <[email protected]> Signed-off-by: Chaminda Divitotawela <[email protected]> Co-authored-by: Simon Dudley <[email protected]> Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
4a45494
to
ef55bed
Compare
Signed-off-by: Glory Agatevure <[email protected]>
@macfarla I have made the requested changes. |
… test Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
@macfarla I have made the requested changes and added the update changelog.md file |
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.
it's coming together! a few more comments
besu/src/main/java/org/hyperledger/besu/cli/config/NetworkName.java
Outdated
Show resolved
Hide resolved
besu/src/main/java/org/hyperledger/besu/util/EphemeryGenesisFile.java
Outdated
Show resolved
Hide resolved
besu/src/main/java/org/hyperledger/besu/util/EphemeryGenesisFile.java
Outdated
Show resolved
Hide resolved
ephemeryGenesisFile = | ||
new EphemeryGenesisFile(readGenesisConfigFile(), readGenesisConfigOptions()); | ||
ephemeryGenesisFile.updateGenesis(); | ||
} |
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.
I actually think lines 1096 - 1100 should be part of readGenesisConfigFile() so that calling readGenesisConfigFile will always give you the effective genesis file, and then maybe you don't need to modify the EPHEMERY networkName object itself.
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.
Moving the code to this readGenesisConfigFile() resulted in a recursive error. I placed the code where it is now because I want the check to happen on client start
Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
36e1ce1
to
2027ff1
Compare
Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
Signed-off-by: gconnect <[email protected]>
PR description
Fixed Issue(s)
This PR is in response to this issue 7404
@non-fungible-nelson please review when you have some time.
Thanks for sending a pull request! Have you done the following?
doc-change-required
label to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew build
./gradlew acceptanceTest
./gradlew integrationTest
./gradlew ethereum:referenceTests:referenceTests