Conversation
Develop -> Master Release PR
Develop -> Master PR
theochap
pushed a commit
that referenced
this pull request
Dec 10, 2025
Part of #1746 --- ### Summary This PR introduces the initial database schema definitions required to support log storage in the `supervisor`. It includes only the model layer — no storage logic or APIs are implemented yet. --- ### Changes Introduced #### Log Storage Schema * **`LogEntry`**: A compact-encoded struct that stores: * `hash`: the emitted log's hash * `executing_message_hash`: optional cross-chain execution hash * `timestamp`: optional time the log was recorded * **`LogEntries`**: A dup-sorted table for storing logs per block: * **Key**: `u64` block number * **SubKey**: `u32` log index * **Value**: `LogEntry` #### Block Metadata Schema * **`BlockHeader`**: A minimal header struct storing: * `hash`: block hash * `parent_hash`: hash of the parent block * `time`: block timestamp * **`BlockHeaders`**: A flat table (not dup-sorted) mapping: * **Key**: `u64` block number * **Value**: `BlockHeader` --- ### Context This schema will be used by the upcoming `LogStorage` component to persist logs emitted from L2 execution, and to support later retrieval, rewinds, and cross-chain validation. --- ### Notes * No storage logic or tests included — this is schema-only. * Follows reth-db conventions for table layout and compression. --- --------- Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com>
theochap
pushed a commit
that referenced
this pull request
Dec 10, 2025
Closes #1746 --------- Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com> Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
theochap
pushed a commit
that referenced
this pull request
Jan 14, 2026
) Part of #1746 --- ### Summary This PR introduces the initial database schema definitions required to support log storage in the `supervisor`. It includes only the model layer — no storage logic or APIs are implemented yet. --- ### Changes Introduced #### Log Storage Schema * **`LogEntry`**: A compact-encoded struct that stores: * `hash`: the emitted log's hash * `executing_message_hash`: optional cross-chain execution hash * `timestamp`: optional time the log was recorded * **`LogEntries`**: A dup-sorted table for storing logs per block: * **Key**: `u64` block number * **SubKey**: `u32` log index * **Value**: `LogEntry` #### Block Metadata Schema * **`BlockHeader`**: A minimal header struct storing: * `hash`: block hash * `parent_hash`: hash of the parent block * `time`: block timestamp * **`BlockHeaders`**: A flat table (not dup-sorted) mapping: * **Key**: `u64` block number * **Value**: `BlockHeader` --- ### Context This schema will be used by the upcoming `LogStorage` component to persist logs emitted from L2 execution, and to support later retrieval, rewinds, and cross-chain validation. --- ### Notes * No storage logic or tests included — this is schema-only. * Follows reth-db conventions for table layout and compression. --- --------- Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com>
theochap
pushed a commit
that referenced
this pull request
Jan 14, 2026
Closes #1746 --------- Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com> Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@eth-optimism/builder@0.1.0
Minor Changes
regenesis/0.5.0releasePatch Changes
@eth-optimism/hardhat-node@0.1.0
Minor Changes
regenesis/0.5.0releasePatch Changes
ethereumoptimism/hardhat-nodedocker image@eth-optimism/common-ts@0.2.0
Minor Changes
regenesis/0.5.0release@eth-optimism/contracts@0.5.0
Minor Changes
regenesis/0.5.0releasePatch Changes
OVM_GasPriceOraclefor the l1 base feedeployerdocker image to build with python3namesobject with contract and account names@eth-optimism/core-utils@0.7.0
Minor Changes
regenesis/0.5.0releasePatch Changes
@eth-optimism/message-relayer@0.2.0
Minor Changes
regenesis/0.5.0releasePatch Changes
@eth-optimism/proxyd@2.0.0
Major Changes
Minor Changes
Patch Changes
@eth-optimism/gas-oracle@0.1.0
Minor Changes
regenesis/0.5.0releasePatch Changes
@eth-optimism/integration-tests@0.3.0
Minor Changes
regenesis/0.5.0releasePatch Changes
@eth-optimism/l2geth@0.5.0
Minor Changes
regenesis/0.5.0releasePatch Changes
time.TickerssyncBatchesToTipin the mainsequence()loopdebug_ingestTransactionsendpoint andtxTypefrom RPC transactionsSyncServiceOVM_GasPriceOraclebased L1 base fee instead of fetching it from remote@eth-optimism/batch-submitter@0.4.0
Minor Changes
regenesis/0.5.0releasePatch Changes
VALIDATE_TX_BATCHconfig option that can disable batch validation@eth-optimism/data-transport-layer@0.5.0
Minor Changes
regenesis/0.5.0releasePatch Changes
@eth-optimism/regenesis-surgery@0.2.0
Minor Changes
regenesis/0.5.0releasePatch Changes
@eth-optimism/replica-healthcheck@0.3.0
Minor Changes
regenesis/0.5.0releasePatch Changes
@eth-optimism/specs@0.3.0
Minor Changes
Patch Changes