-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix(taiko-client): fix an occasional engine.SYNCING
error when receiving P2P preconf blocks
#19262
Conversation
…iving P2P preconf blocks
There was a problem hiding this 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.
packages/taiko-client/driver/chain_syncer/blob/blocks_inserter/common.go
Outdated
Show resolved
Hide resolved
…/common.go Co-authored-by: Copilot <[email protected]>
There was a problem hiding this 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() {
Also added some improvements for Ontake blocks
basefee
calculation in this PR, which is not necessary but a nice to have.