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

WEB3-333: fix: unstable-history doctest #429

Merged
merged 3 commits into from
Jan 31, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add hidden feature to doc test
  • Loading branch information
Wollac committed Jan 31, 2025
commit 0d61bdb84c845ad109f7b1367489f7445b93a51c
8 changes: 4 additions & 4 deletions crates/steel/src/host/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,10 @@ impl<P> EvmEnvBuilder<P, EthBlockHeader, Url> {
/// let env = EthEvmEnv::builder()
/// .rpc(Url::parse("https://ethereum-rpc.publicnode.com")?)
/// .beacon_api(Url::parse("https://ethereum-beacon-api.publicnode.com")?)
/// .block_number(1_000_000) // execute against historical state
/// .commitment_block_hash(commitment_hash) // commit to recent block
/// .build()
/// .await?;
/// .block_number(1_000_000); // execute against historical state
/// # #[cfg(feature = "unstable-history")] // required because of the stability crate
/// let env = env.commitment_block_hash(commitment_hash); // commit to recent block
/// env.build().await?;
/// # Ok(())
/// # }
/// ```
Expand Down
Loading