kroma-network / kroma

A developer-friendly, rollup-based Ethereum Layer 2 solution that offers low fees and EVM equivalence.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TestBatchInLastPossibleBlocks is failed on CI

chokobole opened this issue · comments

Issue Type

None

Kanvas Version

0.1.0

OS Platform and Distribution

Linux Ubuntu 22.04

Go version

go1.19.3 linux/amd64

Node version

v16.14.2

Current Behaviour?

TestBatchInLastPossibleBlocks fails time to time. Need to check why it sometimes failed. I am suspicious around here.

2023-03-29T11:12:12.1902089Z ERROR[03-29|11:03:51.317] Missing block in the middle, aiming genesis number=18,446,744,073,709,551,615 hash=000000..000000

Standalone code to reproduce the issue

go test ./e2e/actions (on ci)

Relevant log output

See https://pipelines.actions.githubusercontent.com/serviceHosts/21e583e2-d6a0-45c6-8467-1553461385db/_apis/pipelines/1/runs/286/signedlogcontent/2?urlExpires=2023-03-29T11%3A32%3A49.0624750Z&urlSigningMethod=HMACV1&urlSignature=Q1wcY7o18Um9yB9n0QTBlRM8lOrW%2B%2F%2BWxvmn7SHkRUg%3D

Here's another log. See https://github.com/wemixkanvas/kanvas/actions/runs/4596864314/jobs/8118857935?pr=6. Suspicious log is below.

2023-04-03T13:03:28.3116514Z     l2_engine.go:189: failed to apply transaction to L2 block (tx 1): nonce too low: address 0x14dC79964da2C08b23698B3D3cc7Ca32193d9955, tx: 21 state: 22```

Found another one, https://github.com/wemixkanvas/kanvas/actions/runs/4669333116/jobs/8267631293?pr=24

2023-04-11T15:50:10.2860637Z     l2_engine.go:189: failed to apply transaction to L2 block (tx 1): nonce too low: address 0x14dC79964da2C08b23698B3D3cc7Ca32193d9955, tx: 15 state: 16

I'll reopen the issue if it happens again. Seems #26 resolved the issue