-
Notifications
You must be signed in to change notification settings - Fork 880
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 consolidationRequestContract in jsonGenesisConfig #7647
Add consolidationRequestContract in jsonGenesisConfig #7647
Conversation
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
…ntractAddress Signed-off-by: gconnect <agatevureglory@gmail.com>
@macfarla please review when you have the time. |
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. If possible, wrap the addresses in a new class instead of passing the three addresses as parameters
...e/src/main/java/org/hyperledger/besu/ethereum/mainnet/requests/MainnetRequestsValidator.java
Outdated
Show resolved
Hide resolved
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolSpecs.java
Outdated
Show resolved
Hide resolved
Signed-off-by: gconnect <agatevureglory@gmail.com>
I am thinking whether I should add this or leave it as it is. Because I noticed it wasn't added
|
Signed-off-by: gconnect <agatevureglory@gmail.com>
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolSpecs.java
Outdated
Show resolved
Hide resolved
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolSpecs.java
Outdated
Show resolved
Hide resolved
Signed-off-by: gconnect <agatevureglory@gmail.com>
@Gabriel-Trintinalia I have made the requested changes. |
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.
Thank you for the PR. It looks good to me
* Include consolidationRequestContract in jsonGenesisConfigOptions Signed-off-by: gconnect <agatevureglory@gmail.com> * Update changelog and ran spotlessApply Signed-off-by: gconnect <agatevureglory@gmail.com> * Rename consolidationRequestPredeployAddress to consolidationRequestContractAddress Signed-off-by: gconnect <agatevureglory@gmail.com> * Create request contract addresses class Signed-off-by: gconnect <agatevureglory@gmail.com> * Update method calls Signed-off-by: gconnect <agatevureglory@gmail.com> * Refactor RequestContractAddresses class and update method calls and test Signed-off-by: gconnect <agatevureglory@gmail.com> --------- Signed-off-by: gconnect <agatevureglory@gmail.com> Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net> Signed-off-by: Wolmin <lamonos123@gmail.com>
PR description
Fixed Issue(s)
fixes #7381
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