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

Taiko #7326

Merged
merged 109 commits into from
Oct 24, 2024
Merged

Taiko #7326

merged 109 commits into from
Oct 24, 2024

Conversation

jmederosalvarado
Copy link
Member

@jmederosalvarado jmederosalvarado commented Aug 12, 2024

Taiko chain support

Changes

  • Separate custom timestamp comparison logic in ForkChoiceHandler so it does not break regular merge
  • Remove unused code
  • Improve Base64Converter
  • Fix licenses
  • Fix configs, rpc origin, and release spec, meta data
  • Check AlwaysPoS.FinalTotalDifficulty=0 reasoning
  • IsOnMainChainBehindHead is commented for taiko, fix for merge

Further prs:

  • Refactor ForkChoiceHandler
  • Recover addresses in the background threads to improve performance
  • Speed up sync by improving single peer/single fcu case
  • Make consts for all TransactionResult strings

Needs resync due to a database schema change

@flcl42 flcl42 requested a review from rubo October 15, 2024 09:01
Copy link
Contributor

@emlautarom1 emlautarom1 left a comment

Choose a reason for hiding this comment

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

Overall looks good, some small details and questions. Before merging I suggest to extend the test suite.

src/Nethermind/Nethermind.Taiko/IL1OriginStore.cs Outdated Show resolved Hide resolved
src/Nethermind/Nethermind.Taiko/TaikoPlugin.cs Outdated Show resolved Hide resolved
src/Nethermind/Nethermind.Taiko/TaikoPlugin.cs Outdated Show resolved Hide resolved
src/Nethermind/Nethermind.Taiko/TaikoTxProcessor.cs Outdated Show resolved Hide resolved
Copy link
Member

@LukaszRozmej LukaszRozmej left a comment

Choose a reason for hiding this comment

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

Some smaller potential improvements

src/Nethermind/Nethermind.Taiko/TaikoBlockValidator.cs Outdated Show resolved Hide resolved
src/Nethermind/Nethermind.Taiko/TaikoBlockValidator.cs Outdated Show resolved Hide resolved
src/Nethermind/Nethermind.Taiko/BlockInvalidTxExecutor.cs Outdated Show resolved Hide resolved
Copy link
Contributor

@emlautarom1 emlautarom1 left a comment

Choose a reason for hiding this comment

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

LGTM

@flcl42 flcl42 merged commit d3d0ec0 into master Oct 24, 2024
75 checks passed
@flcl42 flcl42 deleted the taiko branch October 24, 2024 14:54
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.

6 participants