This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add more constants to
VersionedConstants
- Add gateway constants, these are only for transparency, and aren't used directly by the Blockifier whatsoever. - Pass `validate_max_n_steps` into the blockifier via native_blockifier, to override versioned constants defaults. - Sort json
- Loading branch information
Gilad Chase
committed
Jan 31, 2024
1 parent
51afda5
commit ca8f28f
Showing
5 changed files
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
{ | ||
"gateway": { | ||
"max_calldata_length": 4000, | ||
"max_contract_bytecode_size": 61440 | ||
}, | ||
"invoke_tx_max_n_steps": 3000000, | ||
"max_recursion_depth": 50, | ||
"validate_max_n_steps": 1000000, | ||
"vm_resource_fee_cost": { | ||
|
||
"bitwise_builtin":0.32, | ||
"ec_op_builtin":5.12, | ||
"ecdsa_builtin":10.24, | ||
"keccak_builtin":10.24, | ||
"bitwise_builtin": 0.32, | ||
"ec_op_builtin": 5.12, | ||
"ecdsa_builtin": 10.24, | ||
"keccak_builtin": 10.24, | ||
"n_steps": 0.005, | ||
"output_builtin": 0, | ||
"pedersen_builtin": 0.16, | ||
"poseidon_builtin":0.16, | ||
"range_check_builtin":0.08 | ||
}, | ||
"invoke_tx_max_n_steps": 3000000, | ||
"max_recursion_depth": 50, | ||
"validate_max_n_steps": 1000000 | ||
"poseidon_builtin": 0.16, | ||
"range_check_builtin": 0.08 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters