Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(trie): remove dependency on reth-db and reth-db-api #10008

Merged

Conversation

RomanHodulak
Copy link
Contributor

@RomanHodulak RomanHodulak commented Aug 1, 2024

About

This PR removes unused dependencies in reth-trie crate.

Motivation

Expanding on #9282, the reth-db is now an unused dependency in reth-trie

Goals

  • Remove all dependencies on reth-db and reth-db-api from reth-trie

Solution

  • Removed reth-db and reth-db-api from Cargo.toml of reth-trie (including dev)
  • Fixed some left off DatabaseError usage in reth-trie

Additional notes

The moment you've been waiting for.

Closes #9282

@RomanHodulak RomanHodulak force-pushed the romanhodulak/remove-trie-db-dep branch from 953ab2e to fe8e6c6 Compare August 1, 2024 21:54
Copy link
Member

@gakonst gakonst left a comment

Choose a reason for hiding this comment

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

epic -- are we getting to no_std trie crate with this?

@RomanHodulak
Copy link
Contributor Author

@gakonst Definitely

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

niiiiice!

@mattsse mattsse added this pull request to the merge queue Aug 1, 2024
@mattsse mattsse added the C-debt A clean up/refactor of existing code label Aug 1, 2024
Merged via the queue into paradigmxyz:main with commit 7069efc Aug 1, 2024
33 checks passed
martinezjorge pushed a commit to martinezjorge/reth that referenced this pull request Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-debt A clean up/refactor of existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants