Skip to content

Pipeline giga static block processing#3495

Open
codchen wants to merge 1 commit into
mainfrom
codex/giga-static-pipeline
Open

Pipeline giga static block processing#3495
codchen wants to merge 1 commit into
mainfrom
codex/giga-static-pipeline

Conversation

@codchen
Copy link
Copy Markdown
Collaborator

@codchen codchen commented May 22, 2026

Summary

  • split giga static transaction preparation from stateful execution
  • add an async per-block static processing pipeline so later block stateless work can overlap earlier block stateful execution
  • wire giga synchronous and OCC execution paths to consume prepared EVM metadata, keeping Cosmos transactions as legacy fallbacks

Tests

  • go test ./app
  • make giga-integration-test
  • make giga-mixed-integration-test
  • make autobahn-integration-test
  • make parquet-integration-test

@cursor
Copy link
Copy Markdown

cursor Bot commented May 22, 2026

PR Summary

High Risk
High risk because it changes consensus-critical block transaction execution flow for the Giga executor (both synchronous and OCC), adds new concurrent background processing, and alters how EVM transactions are validated and executed using precomputed metadata.

Overview
Adds an async state-free “static” processing pipeline for Giga blocks that precomputes EVM transaction metadata (envelope/stateless checks, ethTx conversion, sender recovery) in the background and retains results across a small rolling window of heights.

Wires ProcessProposalHandler and ProcessBlock to start/consume this pipeline, and updates both synchronous Giga execution and OCC Giga scheduling to use the prepared static results (fast-failing invalid txs early and falling back to V2 for non-EVM/abort cases). Also refactors executeEVMTxWithGigaExecutor to take a prepared gigaStaticEVMTx instead of recomputing per-tx, and adds tests covering static precompute correctness and multi-height pipeline behavior.

Reviewed by Cursor Bugbot for commit 365db4e. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions
Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMay 22, 2026, 6:22 AM

@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

❌ Patch coverage is 44.44444% with 105 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.25%. Comparing base (5ac709d) to head (365db4e).
⚠️ Report is 31 commits behind head on main.

Files with missing lines Patch % Lines
app/app.go 44.44% 95 Missing and 10 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3495      +/-   ##
==========================================
- Coverage   59.30%   59.25%   -0.05%     
==========================================
  Files        2127     2127              
  Lines      175876   176612     +736     
==========================================
+ Hits       104305   104656     +351     
- Misses      62473    62829     +356     
- Partials     9098     9127      +29     
Flag Coverage Δ
sei-chain-pr 50.39% <44.44%> (?)
sei-db 70.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
app/app.go 63.68% <44.44%> (-5.71%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant