scroll-tech / stateless-block-verifier

20 stars 6 forks source link

Panics on NonceTooHigh #12

Closed lightsing closed 1 week ago

lightsing commented 1 week ago

sepolia testnet blk 4647155 4648052

[2024-06-26T08:18:05.859Z INFO  stateless_block_verifier::commands::run_rpc] worker#0: load trace for block #4647155(0xb453a59bfd62c6d994bf70cb8e77483cf26ffb5d60618937b7720a3d07cc5b97)
[2024-06-26T08:18:05.859Z INFO  stateless_block_verifier::utils] Root after in trace: 10d2b500111eb24671b4f3d0c998db3f41979ed4ff83a6efa9f486996af4ad69
thread 'tokio-runtime-worker' panicked at src/executor.rs:99:53:
called `Result::unwrap()` on an `Err` value: Transaction(NonceTooHigh { tx: 1048035, state: 1048011 })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lispc commented 1 week ago

is this l1 tx?

lightsing commented 1 week ago

caused by use queue index as nonce for l1msg in trace, skip nonce check for l1msg, cc infra team for review later.

lightsing commented 1 week ago

fix in https://github.com/scroll-tech/stateless-block-verifier/commit/05ea8bfe2ee2b5d3c4e9127464bcf961034b4b79