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

[BUG] Sequencer send can't send tx to L1 #254

Open
zjg555543 opened this issue Dec 31, 2024 · 1 comment
Open

[BUG] Sequencer send can't send tx to L1 #254

zjg555543 opened this issue Dec 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zjg555543
Copy link

zjg555543 commented Dec 31, 2024

Bug Report

Description

  1. When the sequencer account has no balance, it becomes stuck and unable to send to L1.
  2. Even after providing sufficient balance, it remains stuck and cannot send.

To Reproduce

  1. Run all components with kurtosis.
  2. Transfer the balance of the sequencer sender's account to 0, making it unable to send transactions.
  3. At this point, the CDK sequencer sender fails to send transactions, which are stored in the database with a failed status.
  4. Transfer funds back to the sequencer sender account, expecting the transactions to be sent to L1, but they still fail.

Root case

errors.Is can't be checked with two different error types, otherwise it will always return false.
The current bug is caused by the ethtxmanager.

Similar comparisons have also been found in both cdk.

@zjg555543
Copy link
Author

More for this:
https://github.com/0xPolygon/cdk/blob/main/sequencesender/ethtx.go#L309-L315

In fact, will this code never be executed? I'm not quite sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant