Skip to content
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

Conversation

gconnect
Copy link
Contributor

@gconnect gconnect commented Sep 19, 2024

PR description

Fixed Issue(s)

fixes #7381

Thanks for sending a pull request! Have you done the following?

  • Checked out our contribution guidelines?
  • Considered documentation and added the doc-change-required label to this PR if updates are required.
  • Considered the changelog and included an update if required.
  • For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

  • unit tests: ./gradlew build
  • acceptance tests: ./gradlew acceptanceTest
  • integration tests: ./gradlew integrationTest
  • reference tests: ./gradlew ethereum:referenceTests:referenceTests

@gconnect
Copy link
Contributor Author

@macfarla please review when you have the time.

Copy link
Contributor

@Gabriel-Trintinalia Gabriel-Trintinalia left a 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

@gconnect
Copy link
Contributor Author

gconnect commented Sep 20, 2024

I am thinking whether I should add this or leave it as it is. Because I noticed it wasn't added

 .requestsValidator(pragueRequestsValidator(withdrawalRequestContractAddress))

Signed-off-by: gconnect <[email protected]>
@gconnect
Copy link
Contributor Author

@Gabriel-Trintinalia I have made the requested changes.

@gconnect gconnect changed the title Include consolidationRequestContract in jsonGenesisConfigOptions Add consolidationRequestContract in jsonGenesisConfig Sep 24, 2024
@Gabriel-Trintinalia Gabriel-Trintinalia enabled auto-merge (squash) September 24, 2024 04:45
Copy link
Contributor

@Gabriel-Trintinalia Gabriel-Trintinalia left a 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

@Gabriel-Trintinalia Gabriel-Trintinalia merged commit 04ba15a into hyperledger:main Sep 24, 2024
43 checks passed
Wolmin pushed a commit to lukso-network/network-besu that referenced this pull request Sep 27, 2024
* Include consolidationRequestContract in jsonGenesisConfigOptions

Signed-off-by: gconnect <[email protected]>

* Update changelog and ran spotlessApply

Signed-off-by: gconnect <[email protected]>

* Rename consolidationRequestPredeployAddress to consolidationRequestContractAddress

Signed-off-by: gconnect <[email protected]>

* Create request contract addresses class

Signed-off-by: gconnect <[email protected]>

* Update method calls

Signed-off-by: gconnect <[email protected]>

* Refactor RequestContractAddresses class and update method calls and test

Signed-off-by: gconnect <[email protected]>

---------

Signed-off-by: gconnect <[email protected]>
Co-authored-by: Gabriel-Trintinalia <[email protected]>
Signed-off-by: Wolmin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parameterize Consolidation Request contract address
2 participants