ci: add Autobahn EVM Module; drop sei_getEvmTx test (CON-256)#3468
Conversation
PR SummaryLow Risk Overview Removes the Reviewed by Cursor Bugbot for commit bd295fe. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).
|
|
The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).
|
f3976e9 to
6accbac
Compare
|
This should succeed after PR#3452 lands. |
Mirrors the existing "EVM Module" CI job with AUTOBAHN=true plus the
GIGA_EXECUTOR/GIGA_STORAGE/GIGA_OCC flag set used by the "Autobahn
EVM GIGA Module" job. Same 4 steps as the CometBFT job:
- evm_tests.sh (EVMCompatabilityTest,
EVMPrecompileTest,
SeiEndpointsTest,
AssociateTest)
- deploy_flatkv_evm_fixture.sh (seeds historical EVM
state: balance, storage,
code)
- flatkv_evm_test.yaml (historical EVM RPC reads
via cast: balance, storage,
code at past block heights)
- verify_flatkv_evm_store.sh (seidb dump-flatkv smoke
check on the on-disk
storage bucket)
Complements the narrower "Autobahn EVM GIGA Module" (smoke-tests
EVMGigaTest.js on native+ERC20 transfers only) by adding broader
EVM-compat + Sei-precompile + sei-endpoint + association coverage
plus historical-state correctness, none of which are exercised
elsewhere under Autobahn.
Verified locally on a 4-node Autobahn docker cluster:
evm_tests.sh: 101 passing, 1 pending, 0 failing
deploy_flatkv_evm_fixture.sh: fixture seeded at heights 17567/17571
(flatkv yaml + verify steps deferred to CI; the 3 flatkv components
have zero -b block usages and use only EVM RPC + seid queries, so
they're Autobahn-clean.)
Autobahn EVM Interoperability deferred until #3406 (lib.js
response-reading helper migration) lands; without it, the
suite's CW-deploy setup hooks depend on unmigrated -b block
helpers and CI passing would be accidental rather than verified.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6accbac to
a9bb50e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3468 +/- ##
==========================================
- Coverage 59.08% 59.02% -0.06%
==========================================
Files 2187 2188 +1
Lines 182281 181836 -445
==========================================
- Hits 107699 107334 -365
+ Misses 64936 64893 -43
+ Partials 9646 9609 -37
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
… (CON-256) Under Autobahn the cosmos tx indexer isn't wired, so sei_getEvmTx (cosmos->evm reverse lookup) can't resolve. String-variable coverage is preserved by sibling bytes/mapping/private-var cases in the same Variable Types block. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Under Autobahn, /block_results returns a stub ResultBlockResults with empty TxsResults (see sei-tendermint/internal/rpc/core/blocks.go). Indexing TxsResults[msg.index] for Wasm or bank txs trips an out-of-range access and surfaces as "method handler crashed" on sei_getBlockByNumber and sei_getBlockByHash. Bounds-check before indexing: for Wasm, fall back to receipt.GasUsed (receipt is already fetched and guaranteed by filterTransactions); for bank, skip the gas increment (no receipt is fetched in that branch). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Supersedes df033b7's bounds-check fix on this branch with #3477's final shape: removes the blockRes parameter from EncodeTmBlock entirely, using receipt.GasUsed (already fetched for wasm; newly fetched for bank) as the per-tx gas source. Verifies that #3477's refactor unblocks this PR's Autobahn EVM Module CI job. Will collapse with df033b7 on rebase once #3477 merges. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds Autobahn EVM Module CI. Drops EVMCompatabilityTest string-var
test (sei_getEvmTx has been on the decomm list, it's not supported in Autobahn).
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com