-
Notifications
You must be signed in to change notification settings - Fork 44
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
WEB3-99: feat: add EvmEnvBuilder #215
Conversation
@@ -45,8 +45,11 @@ pub(crate) type HostEvmEnv<D, H> = EvmEnv<TraceDb<D>, H>; | |||
impl EthEvmEnv<TraceDb<AlloyDb<Http<Client>, Ethereum, RootProvider<Http<Client>>>>> { | |||
/// Creates a new provable [EvmEnv] for Ethereum from an HTTP RPC endpoint. | |||
pub async fn from_rpc(url: Url, number: BlockNumberOrTag) -> Result<Self> { |
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.
Should this now redundant function be removed, or at least marked as #[deprecated]
?
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.
Maybe we mark it as deprecated for one release to avoid needless pain to our devs.
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.
fixed in 4188638
supersedes #204 |
Co-authored-by: Victor Graf <[email protected]>
Add the `EvmEnvBuilder` to simplify the creation of an `EvmEnv` on the host. See #204 for more context. --------- Co-authored-by: Victor Graf <[email protected]>
Add the `EvmEnvBuilder` to simplify the creation of an `EvmEnv` on the host. See #204 for more context. --------- Co-authored-by: Victor Graf <[email protected]>
Add the
EvmEnvBuilder
to simplify the creation of anEvmEnv
on the host.See #204 for more context.