-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: add error traits and ATs #11
Conversation
@@ -14,12 +21,17 @@ use revm::{ | |||
/// Executing a transaction will return the outcome of the transaction. | |||
pub trait Evm { | |||
/// Database type held by the EVM. | |||
type DB: Database; | |||
type DB; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh that's kinda nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's actually just a workaround for weird trait bounds issue :/ we still require DB: Database
on EvmFactory
ci is failing because current revm feature-gates |
since this is a new release basically revm ideally bumps msrv so we can use core |
is it possible to ship a std only version of this first of all, so I can base re-impl of paradigmxyz/reth#14124 on main with paradigmxyz/reth#14021 merged? that way we can work in parallel and be more efficient. alt is there a revm issue for making |
1e4ebfd
to
e3d24c1
Compare
* wip * wip * wip * wip * rename * fix * update docs * fix transact * generalize from impl * use patches * fix deny warning * fix features * newline * conflicts * Simple -> Raw * deref + fixes * bump revm * bump revm * JournalExt bound * bump revm * rm EthInterpreter * bump revm * chore: relax a generic trait (#12) * bump revm * add new fn for EthEvm * use evm for EthEvm * fn change * bump revm * bump revm * cleanup and new revm commit * add into_inner function * bump revm * bump revm --------- Co-authored-by: rakita <rakita@users.noreply.github.com>
Motivation
Extracts some API changes from #7 to make it easier to prototype with reth in scope of paradigmxyz/reth#14021
Solution
PR Checklist