ethereum-optimism / ethereum-optimism/optimism

flaky test: `TestWithdrawal_CannonKona`

Open
#19,964 2 comments 0 reactions 0 assignees View on GitHub
C-flake
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 15h
Merged PRs (30d)
145

Description

**CI runs:**
- https://app.circleci.com/pipelines/gh/ethereum-optimism/optimism/122085/workflows/6cf88e0b-42ba-43c0-a614-d2ba04ec4fae/jobs/4762437 (memory-all-kona-op-reth)
- https://app.circleci.com/pipelines/gh/ethereum-optimism/optimism/122085/workflows/6cf88e0b-42ba-43c0-a614-d2ba04ec4fae/jobs/4762436 (memory-all-opn-op-geth)

**Package:** `op-acceptance-tests/tests/base/withdrawal/cannon_kona`

**Error:**
```
Error: Received unexpected error:
failed to run UpgradeOPChain.s.sol script: execution reverted at 0x8f0818c1e0a4cA9Bc005f61428f7f8a371464D38 with error selector: 0x7c165cd6
Test: TestWithdrawal_CannonKona
Messages: failed to run upgrade script for add game types
```

**Error trace:**
```
op-devstack/sysgo/add_game_type.go:213
op-devstack/sysgo/singlechain_runtime.go:411
op-devstack/sysgo/singlechain_runtime.go:123
op-devstack/sysgo/singlechain_runtime.go:159
op-devstack/presets/minimal.go:69
```

**Related:** Same root cause as #19896 (`TestSmoke`), `TestWithdrawal_Cannon`, `TestExecuteStep_Cannon`, `TestExecuteStep_CannonKona` — all fail during `add_game_type` setup via `UpgradeOPChain.s.sol`.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing TestWithdrawal_CannonKona in op-acceptance-tests/tests/base/withdrawal/cannon_kona and inspect the failure at op-devstack/sysgo/add_game_type.go:213, then follow the single-chain runtime calls and UpgradeOPChain.s.sol setup. Compare the related failures named in the issue; done means the add_game_type setup no longer reverts and the affected acceptance tests pass reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, solidity
Domain
blockchain, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.