Skip to content

Commit

Permalink
chore: Upgrade to 500k
Browse files Browse the repository at this point in the history
  • Loading branch information
andreespirela committed Oct 30, 2024
1 parent 888c162 commit a0f92f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/interpreter/src/gas/calc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ use crate::{
AccountLoad, Eip7702CodeLoad, SStoreResult, SelfDestructResult, StateLoad,
};

pub static WVM_INITIAL_GAS: u64 = 500_000u64;

/// `const` Option `?`.
macro_rules! tri {
($e:expr) => {
Expand Down Expand Up @@ -397,10 +399,10 @@ pub fn validate_initial_tx_gas(
// EIP-2: Homestead Hard-fork Changes
53000
} else {
21000
WVM_INITIAL_GAS
}
} else {
21000
WVM_INITIAL_GAS
};

// EIP-3860: Limit and meter initcode
Expand Down

0 comments on commit a0f92f9

Please sign in to comment.