diff --git a/bolt-client/src/utils.rs b/bolt-client/src/utils.rs index 6863b851f..be55f618a 100644 --- a/bolt-client/src/utils.rs +++ b/bolt-client/src/utils.rs @@ -12,7 +12,7 @@ use beacon_api_client::{mainnet::Client as BeaconApiClient, BlockId, ProposerDut use rand::{thread_rng, Rng}; use serde_json::Value; -pub const NOICE_GAS_PRICE: u128 = 69_420_000u128; +pub const DEFAULT_GAS_PRICE: u128 = 2_000_000_000u128; // 2 gwei pub const DEAD_ADDRESS: &str = "0xdeaDDeADDEaDdeaDdEAddEADDEAdDeadDEADDEaD"; /// Generates random ETH transfer to `DEAD_ADDRESS` with a random payload. @@ -21,7 +21,7 @@ pub fn generate_random_tx() -> TransactionRequest { .with_to(Address::from_str(DEAD_ADDRESS).unwrap()) .with_value(U256::from(thread_rng().gen_range(1..100))) .with_gas_limit(1000000u128) - .with_gas_price(NOICE_GAS_PRICE) + .with_gas_price(DEFAULT_GAS_PRICE) } /// Generate random transaction with blob (eip4844) diff --git a/bolt-kurtosis-client/src/constants.rs b/bolt-kurtosis-client/src/constants.rs index a741f8ef7..4491cdaed 100644 --- a/bolt-kurtosis-client/src/constants.rs +++ b/bolt-kurtosis-client/src/constants.rs @@ -1,4 +1,4 @@ pub const SLOTS_PER_EPOCH: u64 = 32; -pub const NOICE_GAS_PRICE: u128 = 69_420_000u128; +pub const NOICE_GAS_PRICE: u128 = 6_942_000_000u128; // 6.9420 gwei pub const DEAD_ADDRESS: &str = "0xdeaDDeADDEaDdeaDdEAddEADDEAdDeadDEADDEaD"; pub const KURTOSIS_CHAIN_ID: u64 = 3151908; diff --git a/bolt-sidecar/src/config/mod.rs b/bolt-sidecar/src/config/mod.rs index 3e953a544..1b1f6686e 100644 --- a/bolt-sidecar/src/config/mod.rs +++ b/bolt-sidecar/src/config/mod.rs @@ -31,7 +31,7 @@ pub const DEFAULT_CONSTRAINTS_PROXY_PORT: u16 = 18551; // Default limit values pub const DEFAULT_MAX_COMMITMENTS: usize = 128; pub const DEFAULT_MAX_COMMITTED_GAS: u64 = 10_000_000; -pub const DEFAULT_MIN_PRIORITY_FEE: u128 = 1000000000; // 1 Gwei +pub const DEFAULT_MIN_PRIORITY_FEE: u128 = 1_000_000_000; // 1 Gwei /// Command-line options for the Bolt sidecar #[derive(Parser, Debug)]