Skip to content

Commit

Permalink
chore(blockifier): erase block_hash_contract_address
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonatan-Starkware committed Dec 15, 2024
1 parent c2e1308 commit 7ef8da0
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 1 addition & 2 deletions crates/blockifier/src/versioned_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7ef8da0

Please sign in to comment.