Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

feat(supervisor/storage): derivation schema#1808

Merged
emhane merged 31 commits intomainfrom
feat/derivation-schema
May 21, 2025
Merged

feat(supervisor/storage): derivation schema#1808
emhane merged 31 commits intomainfrom
feat/derivation-schema

Conversation

@dhyaniarun1993
Copy link
Collaborator

@dhyaniarun1993 dhyaniarun1993 commented May 19, 2025

Closes #1749
Ref #1684

@dhyaniarun1993 dhyaniarun1993 self-assigned this May 19, 2025
@dhyaniarun1993 dhyaniarun1993 added W-supervisor Workstream: supervisor A-db Area: database labels May 19, 2025
@codecov
Copy link

codecov bot commented May 19, 2025

Codecov Report

Attention: Patch coverage is 91.79104% with 11 lines in your changes missing coverage. Please review.

Project coverage is 84.0%. Comparing base (1681ca2) to head (4b3057e).
Report is 14 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
crates/supervisor/storage/src/models/common.rs 88.4% 6 Missing ⚠️
crates/supervisor/storage/src/models/mod.rs 91.1% 4 Missing ⚠️
crates/supervisor/storage/src/models/derivation.rs 97.2% 1 Missing ⚠️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dhyaniarun1993 dhyaniarun1993 changed the base branch from main to sa/feat/log-storage May 19, 2025 14:18
@dhyaniarun1993 dhyaniarun1993 changed the base branch from sa/feat/log-storage to main May 19, 2025 14:44
@dhyaniarun1993 dhyaniarun1993 marked this pull request as ready for review May 19, 2025 17:20
Comment on lines +7 to +9
/// Wrapper for `Vec<u64>` to represent a list of numbers.
#[derive(Debug, Clone, PartialEq, Eq, Default, Serialize, Deserialize, Compact)]
pub struct U64List(pub Vec<u64>);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this type seems redundant, why do we need it?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vec<u64> doesn't implement Compress and Decompress trait which is required by the table.
I will add a todo here to add support for Vec<u64>.

Comment on lines +7 to +9
/// Wrapper for `Vec<u64>` to represent a list of numbers.
#[derive(Debug, Clone, PartialEq, Eq, Default, Serialize, Deserialize, Compact)]
pub struct U64List(pub Vec<u64>);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@emhane emhane added this pull request to the merge queue May 21, 2025
Merged via the queue into main with commit 91a5511 May 21, 2025
22 checks passed
@emhane emhane deleted the feat/derivation-schema branch May 21, 2025 09:20
@github-project-automation github-project-automation bot moved this from In Review to Done in Project Tracking May 21, 2025
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
Closes op-rs/kona#1749

---------

Co-authored-by: sadiq1971 <sadiqurr8@gmail.com>
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
Closes #1749

---------

Co-authored-by: sadiq1971 <sadiqurr8@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A-db Area: database W-supervisor Workstream: supervisor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(supervisor/state-manager): derivation storage schema

4 participants