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: move payload/builder/src/database.rs to revm/src/cached.rs #12252

Merged
merged 10 commits into from
Nov 1, 2024

Conversation

lean-apple
Copy link
Contributor

Closes #12249

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.

cool, the clippy/wasm issues are probably coming from std usage.

we can use core::cell instead
and for Hashmap there's alloy_primitives::map which should be no-std

@mattsse mattsse added the C-debt Refactor of code section that is hard to understand or maintain label Nov 1, 2024
@mattsse mattsse marked this pull request as ready for review November 1, 2024 11:05
@lean-apple
Copy link
Contributor Author

lean-apple commented Nov 1, 2024

cool, the clippy/wasm issues are probably coming from std usage.

we can use core::cell instead and for Hashmap there's alloy_primitives::map which should be no-std

Ah, thanks, I was looking for the solution, testing it now

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.

cool, ty

@mattsse mattsse merged commit c1a68f2 into paradigmxyz:main Nov 1, 2024
41 checks passed
@lean-apple lean-apple deleted the refactor-builder-db-revm-cached branch November 1, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move cachedDb to reth-revm crate
2 participants