You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e822b8f
Browse filesBrowse the repository at this point in the historyBrowse files
Re-enable Autobahn interop and recovery tests on the EVM-only chain (#4353)
This is part 1 of re-enabling all Autobahn tests in EVM-only mode. This
PR enables some of them and others will be enabled once precompiles and
RPC methods are available in EVM only.
Since #4316, Autobahn runs the EVM-only executor, and most Autobahn
integration coverage was
disabled or skipped. Even plain-EVM suites could not run: the shared
hardhat setup looked up each
test account's Sei address, a Cosmos query the EVM-only chain cannot
answer, so every suite failed
before its first test, and `SetCodeTxTest.js` signed for the old chain
ID. The Autobahn Basic
`Recovery` test was skipped until the durable execution cursor reached
`main`, which it now has
(#4351).
The setup now skips the Sei address lookup on the EVM-only chain and
behaves as before on every
other chain, and `SetCodeTxTest.js` reads the chain ID from the node.
`SeiSoloTest.js` is skipped
on the EVM-only chain, because it claims Sei-account and CosmWasm
balances that chain does not have;
it still runs on the non-Autobahn row. With that, the "Autobahn EVM
Interoperability (Misc Tests)"
row passes and is re-enabled, and `Recovery` is un-skipped.
`TestAutobahnStartup` also reads the
sender's nonce before signing, so it can run more than once on the same
cluster.
The other Autobahn rows stay disabled because what they test is not on
the EVM-only chain yet. The
compat and RPC fixture suites need RPC methods it does not serve
(`debug_trace*`, reading state at
past blocks, `eth_getStorageAt`, `eth_getBlockReceipts`, filters,
`web3_clientVersion`,
WebSocket), the precompile suite needs Sei precompiles, and the upgrade
suites need a
governance-driven upgrade. The Giga suite also has test-side fixes to
make: it assumes a new account
starts with a zero balance, and one test hangs. Those rows will be
re-enabled in follow-ups as the
missing methods land.
Tested locally on an EVM-only Autobahn cluster:
- [x] `evm_interoperability_misc_tests.sh` passes end to end
(`SeiSoloTest.js` 3 pending, `SetCodeTxTest.js` 1 passing,
`TransientStorageTest.js` 19 passing)
- [x] `EVMCompatabilityTest.js` gets past setup (59 passing; the rest
need the missing RPC methods)
- [x] `TestAutobahnStartup` passes twice in a row on the same cluster
- [x] Autobahn Basic `Recovery` passes (`make
autobahn-integration-test`)
- [x] Non-Autobahn rows unchanged (covered by CI)
Copy file name to clipboardExpand all lines: .github/workflows/integration-test-matrix.json
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@
31
31
]
32
32
},
33
33
{
34
-
"_comment": "Disabled: needs precompile RPC and eth_estimateGas, which EVM-only Autobahn does not serve. TODO(autobahn): re-enable with the other Autobahn EVM rows.",
34
+
"_comment": "Disabled: EVMPrecompileTest needs Sei precompiles, AssociateTest and the FlatKV fixture need Cosmos address association, and RPC to access state at past blocks, which EVM-only Autobahn does not serve. TODO(autobahn): re-enable with the other Autobahn EVM rows.",
"_comment": "Disabled: needs eth_estimateGas and CW/EVM interop RPC, which EVM-only Autobahn does not serve. TODO(autobahn): re-enable with the other Autobahn EVM rows.",
0 commit comments