From 2de8cb37b21d88d8c6cb52e7d21cff4c5118fd60 Mon Sep 17 00:00:00 2001 From: Yoav Gross Date: Mon, 2 Dec 2024 14:32:49 +0200 Subject: [PATCH] Add comprehensive state diff versioned constant --- crates/blockifier/resources/versioned_constants_0_13_0.json | 1 + crates/blockifier/resources/versioned_constants_0_13_1.json | 1 + crates/blockifier/resources/versioned_constants_0_13_1_1.json | 1 + crates/blockifier/resources/versioned_constants_0_13_2.json | 1 + crates/blockifier/resources/versioned_constants_0_13_2_1.json | 1 + crates/blockifier/resources/versioned_constants_0_13_3.json | 1 + crates/blockifier/resources/versioned_constants_0_13_4.json | 1 + crates/blockifier/src/versioned_constants.rs | 1 + 8 files changed, 8 insertions(+) diff --git a/crates/blockifier/resources/versioned_constants_0_13_0.json b/crates/blockifier/resources/versioned_constants_0_13_0.json index 294fa14ecc4..fd98c3ef07f 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_0.json +++ b/crates/blockifier/resources/versioned_constants_0_13_0.json @@ -9,6 +9,7 @@ "segment_arena_cells": true, "disable_cairo0_redeclaration": false, "enable_stateful_compression": false, + "comprehensive_state_diff": false, "allocation_cost": { "blob_cost": { "l1_gas": 0, diff --git a/crates/blockifier/resources/versioned_constants_0_13_1.json b/crates/blockifier/resources/versioned_constants_0_13_1.json index d70e03cc557..2b634be9045 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_1.json +++ b/crates/blockifier/resources/versioned_constants_0_13_1.json @@ -42,6 +42,7 @@ "segment_arena_cells": true, "disable_cairo0_redeclaration": false, "enable_stateful_compression": false, + "comprehensive_state_diff": false, "allocation_cost": { "blob_cost": { "l1_gas": 0, diff --git a/crates/blockifier/resources/versioned_constants_0_13_1_1.json b/crates/blockifier/resources/versioned_constants_0_13_1_1.json index 20463ac3072..17d83179e58 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_1_1.json +++ b/crates/blockifier/resources/versioned_constants_0_13_1_1.json @@ -42,6 +42,7 @@ "segment_arena_cells": true, "disable_cairo0_redeclaration": false, "enable_stateful_compression": false, + "comprehensive_state_diff": false, "allocation_cost": { "blob_cost": { "l1_gas": 0, diff --git a/crates/blockifier/resources/versioned_constants_0_13_2.json b/crates/blockifier/resources/versioned_constants_0_13_2.json index e02561d4660..edec0112943 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_2.json +++ b/crates/blockifier/resources/versioned_constants_0_13_2.json @@ -40,6 +40,7 @@ }, "disable_cairo0_redeclaration": true, "enable_stateful_compression": false, + "comprehensive_state_diff": false, "allocation_cost": { "blob_cost": { "l1_gas": 0, diff --git a/crates/blockifier/resources/versioned_constants_0_13_2_1.json b/crates/blockifier/resources/versioned_constants_0_13_2_1.json index 0cc54060789..aa76c68c45c 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_2_1.json +++ b/crates/blockifier/resources/versioned_constants_0_13_2_1.json @@ -40,6 +40,7 @@ }, "disable_cairo0_redeclaration": true, "enable_stateful_compression": false, + "comprehensive_state_diff": false, "allocation_cost": { "blob_cost": { "l1_gas": 0, diff --git a/crates/blockifier/resources/versioned_constants_0_13_3.json b/crates/blockifier/resources/versioned_constants_0_13_3.json index 0cc54060789..aa76c68c45c 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_3.json +++ b/crates/blockifier/resources/versioned_constants_0_13_3.json @@ -40,6 +40,7 @@ }, "disable_cairo0_redeclaration": true, "enable_stateful_compression": false, + "comprehensive_state_diff": false, "allocation_cost": { "blob_cost": { "l1_gas": 0, diff --git a/crates/blockifier/resources/versioned_constants_0_13_4.json b/crates/blockifier/resources/versioned_constants_0_13_4.json index f8c835060db..3993b8567d3 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_4.json +++ b/crates/blockifier/resources/versioned_constants_0_13_4.json @@ -40,6 +40,7 @@ }, "disable_cairo0_redeclaration": true, "enable_stateful_compression": true, + "comprehensive_state_diff": true, "allocation_cost": { "blob_cost": { "l1_gas": 0, diff --git a/crates/blockifier/src/versioned_constants.rs b/crates/blockifier/src/versioned_constants.rs index 85f61f483af..02c65754d66 100644 --- a/crates/blockifier/src/versioned_constants.rs +++ b/crates/blockifier/src/versioned_constants.rs @@ -192,6 +192,7 @@ pub struct VersionedConstants { // Transactions settings. pub disable_cairo0_redeclaration: bool, pub enable_stateful_compression: bool, + pub comprehensive_state_diff: bool, pub ignore_inner_event_resources: bool, // Compiler settings.