Skip to content
Merged
Changes from all commits
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
10 changes: 10 additions & 0 deletions crates/rpc-types-eth/src/simulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ pub struct SimCallResult {
/// The amount of gas used by the transaction.
#[cfg_attr(feature = "serde", serde(with = "alloy_serde::quantity"))]
pub gas_used: u64,
/// Maximum gas consumed during execution, before refunds.
#[cfg_attr(
feature = "serde",
serde(
default,
skip_serializing_if = "Option::is_none",
with = "alloy_serde::quantity::opt"
)
)]
pub max_used_gas: Option<u64>,
/// The final status of the transaction, typically indicating success or failure.
#[cfg_attr(feature = "serde", serde(with = "alloy_serde::quantity"))]
pub status: bool,
Expand Down