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

Update permission less rpc's batch time #3580

Closed

Conversation

zjg555543
Copy link

What does this PR do?

It fixes the issue of inaccurate timestamps on RPC nodes when batching, which maybe leads to older batch timestamps being greater than newer ones after database recovery.

Issue:
The trust batch of the Permitionless RPC retrieves directly from theTrust RPC and using local timestamps, but there's no subsequent update.

Solution:
Upon detecting an L1 sequence batch event, the Permitionless RPC updates its local batch timestamp to the MaxSequenceTimestamp within L1.

Reviewers

Main reviewers:

Codeowner reviewers:

  • @-Alice
  • @-Bob

@cla-bot cla-bot bot added the cla-signed label Apr 23, 2024
@zjg555543 zjg555543 closed this May 13, 2024
@zjg555543 zjg555543 deleted the zjg/develop-rpc-batch-time branch May 13, 2024 06:48
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.

None yet

1 participant