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

Enable Quorum/IBFT1 to Besu migration #8262

Merged
merged 25 commits into from
Mar 12, 2025

Conversation

pullurib
Copy link
Contributor

@pullurib pullurib commented Feb 6, 2025

PR description

  • Restored and updated the removed IBFT1 code required for parsing and validating IBFT1 extra data.
  • Made required changes to enable transitioning to QBFT after IBFT1 block import.
  • Added test for importing IBFT1 blocks into a Besu network that transitions to QBFT after the imported IBFT1 blocks.
  • Added an end-to-end test case to simulate a 5-node Besu network and validate the block import and transition process.

pullurib and others added 4 commits February 13, 2025 02:13
…esuControllerBuilder.java

Co-authored-by: Matt Whitehead <[email protected]>
Signed-off-by: Bhanu Pulluri <[email protected]>
Signed-off-by: Bhanu Pulluri <[email protected]>
…s in consensus schedule

Signed-off-by: Bhanu Pulluri <[email protected]>
@matthew1001
Copy link
Contributor

I've approved the PR @pullurib, couple of last comments:

  • It's probably worth @jframe having a look at these changes if he has some time
  • The gradle verification changes look like we're pulling in some old versions of tuweni. Can you do a build & trivy scan to see if those versions have HIGH or CRITICAL CVEs in? I wonder if we can just bump the version to use the one currently in main?

Bhanu Pulluri added 4 commits February 26, 2025 14:40
Signed-off-by: Bhanu Pulluri <[email protected]>
Signed-off-by: Bhanu Pulluri <[email protected]>
Signed-off-by: Bhanu Pulluri <[email protected]>
@macfarla
Copy link
Contributor

haven't reviewed in detail but could use a changelog entry :)

@macfarla macfarla requested a review from jframe March 3, 2025 23:19
@matthew1001 matthew1001 enabled auto-merge (squash) March 12, 2025 12:56
@matthew1001 matthew1001 merged commit 2db46e9 into hyperledger:main Mar 12, 2025
43 checks passed
marcosio pushed a commit to IoBuilders/besu that referenced this pull request Mar 12, 2025
* Enable Quorum/IBFT1 to Besu migration

Signed-off-by: Bhanu Pulluri <[email protected]>

* Fix BftMining acceptance test

Signed-off-by: Bhanu Pulluri <[email protected]>

* Introduce delay after London fork update in BFT mining test to prevent timing issues

Signed-off-by: Bhanu Pulluri <[email protected]>

* Update besu/src/main/java/org/hyperledger/besu/controller/IbftLegacyBesuControllerBuilder.java

Co-authored-by: Matt Whitehead <[email protected]>
Signed-off-by: Bhanu Pulluri <[email protected]>

* Review changes

Signed-off-by: Bhanu Pulluri <[email protected]>

* update creating additional JSON RPC methods for all controllerbuidlers in consensus schedule

Signed-off-by: Bhanu Pulluri <[email protected]>

* Create ethprotocol manager and plugin factory for both consensus controllers in migration

Signed-off-by: Bhanu Pulluri <[email protected]>

* Refactor resource files

Signed-off-by: Bhanu Pulluri <[email protected]>

* fix verification metadata

Signed-off-by: Bhanu Pulluri <[email protected]>

* fix regression

Signed-off-by: Bhanu Pulluri <[email protected]>

* update changelog

Signed-off-by: Bhanu Pulluri <[email protected]>

* Fix controller selection at the transition block

Signed-off-by: Bhanu Pulluri <[email protected]>

* Review changes

Signed-off-by: Bhanu Pulluri <[email protected]>

* Revert BftExtraData changes

Signed-off-by: Bhanu Pulluri <[email protected]>

---------

Signed-off-by: Bhanu Pulluri <[email protected]>
Signed-off-by: Bhanu Pulluri <[email protected]>
Co-authored-by: Bhanu Pulluri <[email protected]>
Co-authored-by: Matt Whitehead <[email protected]>
Co-authored-by: Matt Whitehead <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
Signed-off-by: Marcos Serradilla Diez <[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.

4 participants