Skip to content

Commit

Permalink
fix: keep serialization the same
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jan 7, 2025
1 parent 3f381e8 commit e55c653
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/rpc-types-anvil/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,15 @@ pub struct NodeInfo {
#[serde(rename_all = "camelCase")]
pub struct NodeEnvironment {
/// Base fee of the current block
#[serde(with = "alloy_serde::quantity")]
pub base_fee: u128,
/// Chain id of the node.
pub chain_id: ChainId,
/// Configured block gas limit
#[serde(with = "alloy_serde::quantity")]
pub gas_limit: u64,
/// Configured gas price
#[serde(with = "alloy_serde::quantity")]
pub gas_price: u128,
}

Expand Down

0 comments on commit e55c653

Please sign in to comment.