You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coordinator integration tests generate new accounts for every run for test isolation, this account generation relies on whale accounts from the genesis file to fund the new account.
When tests run in parallel, sometimes the same whale account is used to fund the new account and we get Response.Error(code=-32000, message=Replacement transaction underpriced) in net.consensys.zkevm.ethereum.WhaleBasedAccountManager.generateAccounts(AccountManager.kt:149)
The WhaleBasedAccountManager shall be adapted to handle this error and retry funding the account with new nonce
The bugs is not deterministically reproducible. It happens randomly sometimes
Hi, yes issues is still open to be addressed. As mentioned in the ticket description the error shall be handled here
I would recommend to create a function fundAccount(fromAccountTxManager, toAccountAddress, amount) with this code and retries when it gets a "Replacement transaction underpriced" error
Impact
environment: CI Pipeline
Describe the bug
Steps to Reproduce
Coordinator integration tests generate new accounts for every run for test isolation, this account generation relies on whale accounts from the genesis file to fund the new account.
When tests run in parallel, sometimes the same whale account is used to fund the new account and we get
Response.Error(code=-32000, message=Replacement transaction underpriced)
innet.consensys.zkevm.ethereum.WhaleBasedAccountManager.generateAccounts(AccountManager.kt:149)
The WhaleBasedAccountManager shall be adapted to handle this error and retry funding the account with new nonce
The bugs is not deterministically reproducible. It happens randomly sometimes
Failure example: https://github.com/Consensys/linea-monorepo/actions/runs/12245260143/job/34158810717
The text was updated successfully, but these errors were encountered: