Skip to content

WIP: Unify EVM SS into single DB with store key prefixes#3134

Draft
Kbhat1 wants to merge 1 commit intomainfrom
kartik/evm-ss-unified-db
Draft

WIP: Unify EVM SS into single DB with store key prefixes#3134
Kbhat1 wants to merge 1 commit intomainfrom
kartik/evm-ss-unified-db

Conversation

@Kbhat1
Copy link
Copy Markdown
Contributor

@Kbhat1 Kbhat1 commented Mar 30, 2026

Describe your changes and provide context

WIP

Testing performed to validate your change

Replace 5 separate MVCC databases (nonce, codehash, code, storage,
legacy) with a single DB. EVM sub-types are namespaced via the MVCC
store key prefix (s/k:<storeType>/) instead of separate directories.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kbhat1 Kbhat1 changed the title Unify EVM SS into single DB with store key prefixes WIP: Unify EVM SS into single DB with store key prefixes Mar 30, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 30, 2026

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

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMar 30, 2026, 4:16 PM

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

❌ Patch coverage is 79.24528% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.76%. Comparing base (cf2abd8) to head (6627f3e).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
sei-db/state_db/ss/evm/store.go 79.24% 4 Missing and 7 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3134      +/-   ##
==========================================
- Coverage   58.77%   58.76%   -0.01%     
==========================================
  Files        2094     2094              
  Lines      173056   172992      -64     
==========================================
- Hits       101706   101665      -41     
+ Misses      62304    62292      -12     
+ Partials     9046     9035      -11     
Flag Coverage Δ
sei-chain-pr 80.31% <79.24%> (?)
sei-db 70.41% <ø> (ø)

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

Files with missing lines Coverage Δ
sei-db/state_db/ss/evm/types.go 100.00% <ø> (ø)
sei-db/state_db/ss/evm/store.go 75.96% <79.24%> (+4.53%) ⬆️
🚀 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant