Skip to content

Commit

Permalink
chore: rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ftupas committed Sep 13, 2023
1 parent 66d0ba3 commit 03e9a4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/test-utils/src/deploy_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -647,13 +647,13 @@ pub fn dumped_katana_state() -> SerializableState {
/// Returns a `StarknetConfig` instance customized for Kakarot.
/// If `with_dumped_state` is true, the config will be initialized with the dumped state.
pub fn kakarot_starknet_config(with_dumped_state: bool) -> StarknetConfig {
let kakarot_steps = std::u32::MAX;
let max_steps = std::u32::MAX;
StarknetConfig {
disable_fee: true,
env: Environment {
chain_id: "SN_GOERLI".into(),
invoke_max_steps: kakarot_steps,
validate_max_steps: kakarot_steps,
invoke_max_steps: max_steps,
validate_max_steps: max_steps,
gas_price: 1,
},
init_state: if with_dumped_state { Some(dumped_katana_state()) } else { None },
Expand Down

0 comments on commit 03e9a4a

Please sign in to comment.