Skip to content

Conversation

@emhane
Copy link
Member

@emhane emhane commented Oct 17, 2025

Ref #205

Removes redundant dep reth-db-api from reth-optimism-trie, since used types are re-exported via reth-db

Copilot AI review requested due to automatic review settings October 17, 2025 10:13
@emhane emhane added the K-debt Kind: debt label Oct 17, 2025
@emhane emhane added the W-historical-proofs Workstream: historical-proofs label Oct 17, 2025
@emhane emhane enabled auto-merge October 17, 2025 10:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Removes the redundant reth-db-api dependency in favor of using the DatabaseError re-export from reth-db within the optimism trie crate.

  • Replace imports of DatabaseError from reth_db_api with reth_db::DatabaseError
  • Remove reth-db-api from Cargo.toml dependencies

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
crates/optimism/trie/src/proof.rs Switches import to reth_db::DatabaseError to use re-export.
crates/optimism/trie/src/api.rs Switches import to reth_db::DatabaseError to use re-export.
crates/optimism/trie/Cargo.toml Removes the redundant reth-db-api dependency.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@emhane emhane added this pull request to the merge queue Oct 20, 2025
@emhane emhane removed this pull request from the merge queue due to a manual request Oct 20, 2025
@emhane emhane merged commit 2ac79f9 into unstable Oct 20, 2025
42 of 44 checks passed
@emhane emhane deleted the emhane/rm-redundant-dep branch October 20, 2025 11:22
emhane added a commit that referenced this pull request Oct 20, 2025
Ref #205

Removes redundant dep `reth-db-api` from `reth-optimism-trie`, since
used types are re-exported via `reth-db`

---------

Co-authored-by: Arun Dhyani <[email protected]>
meyer9 pushed a commit that referenced this pull request Oct 31, 2025
Ref #205

Removes redundant dep `reth-db-api` from `reth-optimism-trie`, since
used types are re-exported via `reth-db`

---------

Co-authored-by: Arun Dhyani <[email protected]>
emhane added a commit that referenced this pull request Nov 11, 2025
Ref #205

Removes redundant dep `reth-db-api` from `reth-optimism-trie`, since
used types are re-exported via `reth-db`

---------

Co-authored-by: Arun Dhyani <[email protected]>
meyer9 pushed a commit that referenced this pull request Nov 13, 2025
Ref #205

Removes redundant dep `reth-db-api` from `reth-optimism-trie`, since
used types are re-exported via `reth-db`

---------

Co-authored-by: Arun Dhyani <[email protected]>
emhane added a commit that referenced this pull request Nov 18, 2025
Ref #205

Removes redundant dep `reth-db-api` from `reth-optimism-trie`, since
used types are re-exported via `reth-db`

---------

Co-authored-by: Arun Dhyani <[email protected]>
emhane added a commit that referenced this pull request Nov 25, 2025
Ref #205

Removes redundant dep `reth-db-api` from `reth-optimism-trie`, since
used types are re-exported via `reth-db`

---------

Co-authored-by: Arun Dhyani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

K-debt Kind: debt W-historical-proofs Workstream: historical-proofs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants