Skip to content

Commit 9d2477a

Browse files
authored
Skip EEST test_authorization_reusing_nonce on the live devnet (#4472)
EEST's `test_authorization_reusing_nonce` sends a plain transfer from `auth_signer` and, from a different sender, a set-code tx carrying an authorization signed by `auth_signer` with the same nonce. It expects both in one block with the transfer first, so the authorization is then invalid. On the live devnet nothing guarantees that: in both failures the set-code tx was included alone in the next block, its authorization consumed the nonce, and the transfer was left with a stale nonce until the runner's 120s inclusion timeout. This adds an `eip7702-reused-nonce-ordering` skip rule in `eest_plugin.py` that matches only this test, with a reason stating the same-block ordering requirement. Other EIP-7702 vectors still run. Flaked in: https://github.com/sei-protocol/sei-chain/actions/runs/36926411885/job/110589581374 https://github.com/sei-protocol/sei-chain/actions/runs/35601008726/job/106338501221
1 parent a5edb7e commit 9d2477a

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎integration_test/exec_specs/plugin/eest_plugin.py‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ def _eip7702_system_contract(item: pytest.Item) -> bool:
114114
)
115115

116116

117+
def _eip7702_reused_nonce_ordering(item: pytest.Item) -> bool:
118+
return (
119+
"tests/prague/eip7702_set_code_tx/test_set_code_txs.py" in item.nodeid
120+
and getattr(item, "originalname", None) == "test_authorization_reusing_nonce"
121+
)
122+
123+
117124
SKIP_RULES: tuple[SkipRule, ...] = (
118125
SkipRule(
119126
id="eip7623-admission",
@@ -154,6 +161,15 @@ def _eip7702_system_contract(item: pytest.Item) -> bool:
154161
reason="Sei genesis does not contain Ethereum system-contract bytecode.",
155162
matches=_eip7702_system_contract,
156163
),
164+
SkipRule(
165+
id="eip7702-reused-nonce-ordering",
166+
reason=(
167+
"Requires a transfer and a set-code authorization sharing its nonce, "
168+
"sent by different senders, to land in one block in order, which a "
169+
"live chain does not guarantee."
170+
),
171+
matches=_eip7702_reused_nonce_ordering,
172+
),
157173
)
158174

159175

0 commit comments

Comments
 (0)