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

Coordinator Integration Test - Account Manager helper #215

Open
jpnovais opened this issue Oct 21, 2024 · 0 comments
Open

Coordinator Integration Test - Account Manager helper #215

jpnovais opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working Coordinator

Comments

@jpnovais
Copy link
Collaborator

Impact

Environments: CI/Local

Describe the bug

Sometimes coordinator's integration test fail with

Response.Error(code=-32000, message=Replacement transaction underpriced)
Response.Error(code=-32001, message=Nonce too low)

This comes from WhaleBasedAccountManager. It must handle and retry the request better.

    java.lang.RuntimeException: Failed to send funds from accAddress=9d14ef14d4c90436a062efd7dc8354a7ded9712e, accBalance=0x130d48919d5226beb809, accPrivKey=0x...f152866a, error: Response.Error(code=-32001, message=Nonce too low)
        at net.consensys.zkevm.ethereum.WhaleBasedAccountManager.generateAccounts(AccountManager.kt:149)
        at net.consensys.zkevm.ethereum.L2AccountManager.generateAccounts(AccountManager.kt)

Steps to Reproduce

No deterministic way to reproduce.

@jpnovais jpnovais added Coordinator bug Something isn't working labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Coordinator
Projects
None yet
Development

No branches or pull requests

1 participant