Skip to content

Fleet mode#6003

Closed
matkt wants to merge 44 commits intobesu-eth:mainfrom
matkt:feature/fleet-mode
Closed

Fleet mode#6003
matkt wants to merge 44 commits intobesu-eth:mainfrom
matkt:feature/fleet-mode

Conversation

@matkt
Copy link
Copy Markdown
Contributor

@matkt matkt commented Oct 9, 2023

PR description

Added necessary plugin services and some light modifications to implement a plugin solution for the fleet mode feature.

Add modification in order to have fleet mode

Fixed Issue(s)

matkt added 2 commits October 6, 2023 16:34
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 9, 2023

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

matkt added 7 commits October 11, 2023 14:44
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
…fleet-mode

Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
matkt added 6 commits October 19, 2023 15:49
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
This reverts commit 8f5d67b, reversing
changes made to cf5138e.

Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
@garyschulte garyschulte force-pushed the feature/fleet-mode branch 4 times, most recently from e201183 to 7c1da83 Compare December 6, 2023 19:49
@garyschulte garyschulte mentioned this pull request Dec 6, 2023
Comment on lines +218 to +221
public void setMiningCoordinator(final MiningCoordinator miningCoordinator) {
this.miningCoordinator = miningCoordinator;
}

Copy link
Copy Markdown
Contributor

@garyschulte garyschulte Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this here? future use perhaps?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to be useless I removed it

*/
public BesuConfigurationImpl(final Path dataPath, final Path storagePath) {
this.dataPath = dataPath;
public BesuConfigurationImpl(final Path storagePath, final Path dataPath) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switching the order of these params can lead to problems the compiler won't highlight. I see 6 usages of this constructor in the codebase, but none of them are changed in this pr...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clearly seems to be dangerous and useless, I will revert that

@garyschulte garyschulte force-pushed the feature/fleet-mode branch 3 times, most recently from 6043342 to 033e3c8 Compare December 7, 2023 22:16
delehef and others added 2 commits December 7, 2023 15:16
Signed-off-by: delehef <franklin.delehelle@odena.eu>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
fab-10 and others added 3 commits December 7, 2023 15:16
…he correct number of times (besu-eth#6259)

* Test that the BlockAwareOperationTracer are invoked the correct number of times
* Remove redundant calls to traceEndBlock

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com>
@garyschulte garyschulte force-pushed the feature/fleet-mode branch 2 times, most recently from 8b6aaf1 to 8880cfc Compare December 8, 2023 19:08
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
@matkt matkt marked this pull request as ready for review January 10, 2024 13:07
Signed-off-by: Karim Taam <karim.t2am@gmail.com>

boolean setHead(final BlockHeader blockHeader, final BlockBody blockBody);

boolean setHeadUnsafe(BlockHeader blockHeader, BlockBody blockBody);

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'blockBody' is never used.
@matkt matkt requested a review from garyschulte January 10, 2024 14:00
matkt added 4 commits January 30, 2024 14:57
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
@jframe
Copy link
Copy Markdown
Contributor

jframe commented Jun 10, 2024

Closing for #6641

@jframe jframe closed this Jun 10, 2024
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.

8 participants