Skip to content

fix(taiko-client): fix an occasional engine.SYNCING error when receiving P2P preconf blocks #19262

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

Merged
merged 8 commits into from
Apr 14, 2025

Conversation

davidtaikocha
Copy link
Member

@davidtaikocha davidtaikocha commented Apr 13, 2025

Also added some improvements for Ontake blocks basefee calculation in this PR, which is not necessary but a nice to have.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

@davidtaikocha davidtaikocha marked this pull request as draft April 13, 2025 09:52
@davidtaikocha davidtaikocha marked this pull request as ready for review April 13, 2025 10:55
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

packages/taiko-client/driver/driver_test.go:688

  • [nitpick] Consider using a consistent RPC interface reference (e.g., s.d.rpc) instead of a package-level rpc to improve code clarity.
s.Nil(rpc.SetHead(context.Background(), s.RPCClient.L2, l2Head1.Number))

packages/taiko-client/driver/driver_test.go:649

  • The test uses randomness (e.g., for fork lengths and block shuffling) which may lead to nondeterministic behavior; consider setting a fixed random seed to ensure reproducibility.
func (s *DriverTestSuite) TestGossipMessagesRandomReorgs() {

@davidtaikocha davidtaikocha added this pull request to the merge queue Apr 14, 2025
Merged via the queue into main with commit 23e4bc5 Apr 14, 2025
8 checks passed
@davidtaikocha davidtaikocha deleted the improve-createExecutionPayloadsAndSetHead branch April 14, 2025 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants