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

Cannot process any tx when AccountQueue limit is reached #68

Open
bap2pecs opened this issue Feb 3, 2024 · 0 comments
Open

Cannot process any tx when AccountQueue limit is reached #68

bap2pecs opened this issue Feb 3, 2024 · 0 comments

Comments

@bap2pecs
Copy link

bap2pecs commented Feb 3, 2024

System information

zkEVM Node version: CDK: v0.3.1-RC2
OS & Version: Ubuntu
Network: local devnet setup with https://github.com/Snapchain/zkValidium-quickstart/

Steps to reproduce the behaviour

we were using the polygon-cli tool to load test

polycli loadtest --verbosity 700 --chain-id 1001  --concurrency 1 --requests 6000 --rate-limit 6000 --mode i --rpc-url http://<REDACTED>:8123/  --private-key "<REDACTED>" --legacy 

and got

image
ERR Recorded an error while sending transactions error="nonce too high" nonce=5614 request time=552

The error was originated from https://github.com/0xPolygon/cdk-validium-node/blob/develop/pool/pool.go#L496 where AccountQueue was configured in the node config file (64 was used in the quickstart)

Expected behaviour

when AccountQueue limit is hit, the chain should just ignore new transactions from the sender and not add tx to the storage, until the old ones are processed.

the chain should continue to process other senders' transactions normally

Actual behaviour

The chain cannot process any transaction from any accounts. when I send transaction from other accounts, it's stuck in "pending" status on my MM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant