Skip to content

Commit

Permalink
feat: enable stateful compression versioned constant (#1836)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavGrs authored Nov 5, 2024
1 parent 1c99a26 commit 6fc1f26
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"max_recursion_depth": 50,
"segment_arena_cells": true,
"disable_cairo0_redeclaration": false,
"enable_stateful_compression": false,
"enable_reverts": false,
"tx_event_limits": {
"max_data_length": 1000000000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"max_recursion_depth": 50,
"segment_arena_cells": true,
"disable_cairo0_redeclaration": false,
"enable_stateful_compression": false,
"enable_reverts": false,
"os_constants": {
"nop_entry_point_offset": -1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"max_recursion_depth": 50,
"segment_arena_cells": true,
"disable_cairo0_redeclaration": false,
"enable_stateful_compression": false,
"enable_reverts": false,
"os_constants": {
"nop_entry_point_offset": -1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
]
},
"disable_cairo0_redeclaration": true,
"enable_stateful_compression": false,
"enable_reverts": false,
"max_recursion_depth": 50,
"segment_arena_cells": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
]
},
"disable_cairo0_redeclaration": true,
"enable_stateful_compression": false,
"max_recursion_depth": 50,
"enable_reverts": false,
"segment_arena_cells": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
]
},
"disable_cairo0_redeclaration": true,
"enable_stateful_compression": false,
"max_recursion_depth": 50,
"enable_reverts": false,
"segment_arena_cells": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
]
},
"disable_cairo0_redeclaration": true,
"enable_stateful_compression": true,
"enable_reverts": true,
"max_recursion_depth": 50,
"segment_arena_cells": false,
Expand Down
1 change: 1 addition & 0 deletions crates/blockifier/src/versioned_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ pub struct VersionedConstants {

// Transactions settings.
pub disable_cairo0_redeclaration: bool,
pub enable_stateful_compression: bool,

// Compiler settings.
pub enable_reverts: bool,
Expand Down

0 comments on commit 6fc1f26

Please sign in to comment.