Skip to content

Commit

Permalink
bump gas limits
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Sep 28, 2024
1 parent 29ad08f commit d20dd12
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ ef-test-v0: build
ef-test-v1: build
cargo test --test tests --no-fail-fast --quiet --features "v1,ci"

# Runs ef-tests with cairo-native mode
ef-test-v1-native: build
cargo test --test tests --no-fail-fast --quiet --features "v1,native,ci"

# Build the rust crates
build:
cargo build --release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"max_calldata_length": 5000,
"max_contract_bytecode_size": 81920
},
"invoke_tx_max_n_steps": 50000000,
"invoke_tx_max_n_steps": 100000000,
"l2_resource_gas_costs": {
"gas_per_data_felt": [128, 1000],
"event_key_factor": [2, 1],
Expand Down Expand Up @@ -63,7 +63,7 @@
"syscall_base_gas_cost": 1
},
"initial_gas_cost": {
"step_gas_cost": 500000000
"step_gas_cost": 800000000
},
"keccak_gas_cost": {
"syscall_base_gas_cost": 1
Expand Down
4 changes: 2 additions & 2 deletions crates/sequencer/src/resources/versioned_constants.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"max_calldata_length": 5000,
"max_contract_bytecode_size": 81920
},
"invoke_tx_max_n_steps": 50000000,
"invoke_tx_max_n_steps": 100000000,
"l2_resource_gas_costs": {
"gas_per_data_felt": [128, 1000],
"event_key_factor": [2, 1],
Expand Down Expand Up @@ -63,7 +63,7 @@
"syscall_base_gas_cost": 1
},
"initial_gas_cost": {
"step_gas_cost": 500000000
"step_gas_cost": 800000000
},
"keccak_gas_cost": {
"syscall_base_gas_cost": 1
Expand Down

0 comments on commit d20dd12

Please sign in to comment.