feat: Fetch proper block header for simulation

- Similarly to the way it was done in the python package.
This commit is contained in:
TAMARA LIPOWSKI
2025-09-08 12:22:11 -04:00
committed by Tamara
parent dc288bcf29
commit d75e62ed3d
2 changed files with 16 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ use alloy::{
eips::eip1898::BlockId,
primitives::{address, Address, U256},
providers::{Provider, ProviderBuilder},
rpc::types::Block,
transports::http::reqwest::Url,
};
use miette::{IntoDiagnostic, WrapErr};