Skip to content

Trim commit bounds #84

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

Merged
merged 2 commits into from
Feb 27, 2025
Merged

Trim commit bounds #84

merged 2 commits into from
Feb 27, 2025

Conversation

prestwich
Copy link
Member

@prestwich prestwich commented Feb 26, 2025

Remove + DatabaseCommit wherever possible. Goal is to make trevm more-useful for simulation that (may or may not) result in modifying the underlying state

@prestwich prestwich requested a review from Evalir February 26, 2025 20:40
@prestwich prestwich self-assigned this Feb 26, 2025
where
Db: Database + DatabaseCommit,
{
pub fn apply_eip7251(&mut self) -> Result<Bytes, EVMError<Db::Error>> {
Copy link
Member

Choose a reason for hiding this comment

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

I see, so we're relaxing the bounds on the impl by moving DatabaseCommit strictly to the functions where it's needed. This imo makes sense to make and makes trevm easier to instantiate.

Copy link
Member Author

prestwich commented Feb 27, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@prestwich prestwich merged commit f83eed9 into main Feb 27, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants