Skip to content

Commit

Permalink
refactor(katana): decrease default fixed gas prices values (#2658)
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy authored Nov 8, 2024
1 parent 3db62fa commit bb87958
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/katana/core/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ use lazy_static::lazy_static;
use starknet::macros::felt;

// Default gas prices
pub const DEFAULT_ETH_L1_GAS_PRICE: u128 = 100 * u128::pow(10, 9); // Given in units of Wei.
pub const DEFAULT_STRK_L1_GAS_PRICE: u128 = 100 * u128::pow(10, 9); // Given in units of STRK.
pub const DEFAULT_ETH_L1_GAS_PRICE: u128 = 20 * u128::pow(10, 9); // Given in units of Wei.
pub const DEFAULT_STRK_L1_GAS_PRICE: u128 = 20 * u128::pow(10, 9); // Given in units of STRK.

// Default data gas prices
pub const DEFAULT_ETH_L1_DATA_GAS_PRICE: u128 = u128::pow(10, 6); // Given in units of Wei.
pub const DEFAULT_STRK_L1_DATA_GAS_PRICE: u128 = u128::pow(10, 9); // Given in units of STRK.
pub const DEFAULT_STRK_L1_DATA_GAS_PRICE: u128 = u128::pow(10, 6); // Given in units of STRK.

lazy_static! {

Expand Down
Binary file modified spawn-and-move-db.tar.gz
Binary file not shown.
Binary file modified types-test-db.tar.gz
Binary file not shown.

0 comments on commit bb87958

Please sign in to comment.