From 7ef8da06e38d123925bc955dfe0cab67b331e263 Mon Sep 17 00:00:00 2001 From: Yonatan-Starkware Date: Sun, 15 Dec 2024 10:02:49 +0200 Subject: [PATCH] chore(blockifier): erase block_hash_contract_address --- 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 | 3 +-- 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/blockifier/resources/versioned_constants_0_13_2.json b/crates/blockifier/resources/versioned_constants_0_13_2.json index 571cce2ee0..1bb72c3d04 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_2.json +++ b/crates/blockifier/resources/versioned_constants_0_13_2.json @@ -58,7 +58,6 @@ "max_recursion_depth": 50, "segment_arena_cells": false, "os_constants": { - "block_hash_contract_address": 1, "constructor_entry_point_selector": "0x28ffe4ff0f226a9107253e17a904099aa4f63a02a5621de0576e5aa71bc5194", "default_entry_point_selector": 0, "entry_point_initial_budget": { 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 ea79b39e53..e20aee6358 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_2_1.json +++ b/crates/blockifier/resources/versioned_constants_0_13_2_1.json @@ -58,7 +58,6 @@ "enable_reverts": false, "segment_arena_cells": false, "os_constants": { - "block_hash_contract_address": 1, "constructor_entry_point_selector": "0x28ffe4ff0f226a9107253e17a904099aa4f63a02a5621de0576e5aa71bc5194", "default_entry_point_selector": 0, "entry_point_initial_budget": { diff --git a/crates/blockifier/resources/versioned_constants_0_13_3.json b/crates/blockifier/resources/versioned_constants_0_13_3.json index ea79b39e53..e20aee6358 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_3.json +++ b/crates/blockifier/resources/versioned_constants_0_13_3.json @@ -58,7 +58,6 @@ "enable_reverts": false, "segment_arena_cells": false, "os_constants": { - "block_hash_contract_address": 1, "constructor_entry_point_selector": "0x28ffe4ff0f226a9107253e17a904099aa4f63a02a5621de0576e5aa71bc5194", "default_entry_point_selector": 0, "entry_point_initial_budget": { diff --git a/crates/blockifier/resources/versioned_constants_0_13_4.json b/crates/blockifier/resources/versioned_constants_0_13_4.json index dbb15ca39d..d5cd2508f2 100644 --- a/crates/blockifier/resources/versioned_constants_0_13_4.json +++ b/crates/blockifier/resources/versioned_constants_0_13_4.json @@ -58,7 +58,6 @@ "max_recursion_depth": 50, "segment_arena_cells": false, "os_constants": { - "block_hash_contract_address": 1, "constructor_entry_point_selector": "0x28ffe4ff0f226a9107253e17a904099aa4f63a02a5621de0576e5aa71bc5194", "default_entry_point_selector": 0, "entry_point_initial_budget": { diff --git a/crates/blockifier/src/versioned_constants.rs b/crates/blockifier/src/versioned_constants.rs index 1bf86ff6df..8e6b7032d3 100644 --- a/crates/blockifier/src/versioned_constants.rs +++ b/crates/blockifier/src/versioned_constants.rs @@ -715,8 +715,7 @@ impl OsConstants { // not used by the blockifier but included for transparency. These constanst will be ignored // during the creation of the struct containing the gas costs. - const ADDITIONAL_FIELDS: [&'static str; 30] = [ - "block_hash_contract_address", + const ADDITIONAL_FIELDS: [&'static str; 29] = [ "constructor_entry_point_selector", "default_entry_point_selector", "entry_point_type_constructor",