Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 1675f56

Browse files
authored
dev: use modified tests for rip7212 compat (#713) (#714)
1 parent a50c10f commit 1675f56

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/ef-testing/src/evm_sequencer/account/v0.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use starknet_crypto::FieldElement;
88

99
use super::{split_bytecode_to_starkfelt, KakarotAccount};
1010
use crate::evm_sequencer::constants::storage_variables::{
11-
ACCOUNT_BYTECODE_LEN, ACCOUNT_EVM_ADDRESS, ACCOUNT_IS_INITIALIZED, ACCOUNT_NONCE,
12-
ACCOUNT_STORAGE, ACCOUNT_VALID_JUMPDESTS,
11+
ACCOUNT_BYTECODE_LEN, ACCOUNT_EVM_ADDRESS, ACCOUNT_IS_INITIALIZED,
12+
ACCOUNT_JUMPDESTS_INITIALIZED, ACCOUNT_NONCE, ACCOUNT_STORAGE, ACCOUNT_VALID_JUMPDESTS,
1313
};
1414
use crate::evm_sequencer::{types::felt::FeltSequencer, utils::split_u256};
1515
use crate::starknet_storage;
@@ -35,6 +35,7 @@ impl KakarotAccount {
3535
starknet_storage!(ACCOUNT_EVM_ADDRESS, evm_address),
3636
starknet_storage!(ACCOUNT_IS_INITIALIZED, 1u8),
3737
starknet_storage!(ACCOUNT_BYTECODE_LEN, code.len() as u32),
38+
starknet_storage!(ACCOUNT_JUMPDESTS_INITIALIZED, 1u8),
3839
];
3940

4041
// Write the nonce of the account is written to storage after each tx.

crates/ef-testing/src/evm_sequencer/constants.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ pub mod storage_variables {
111111
pub const ACCOUNT_IMPLEMENTATION: &str = "Account_implementation";
112112
pub const ACCOUNT_CAIRO1_HELPERS_CLASS: &str = "Account_cairo1_helpers_class_hash";
113113
pub const ACCOUNT_VALID_JUMPDESTS : &str = "Account_valid_jumpdests";
114+
pub const ACCOUNT_JUMPDESTS_INITIALIZED : &str = "Account_jumpdests_initialized";
114115

115116
pub const KAKAROT_COINBASE: &str = "Kakarot_coinbase";
116117
pub const KAKAROT_BASE_FEE: &str = "Kakarot_base_fee";

0 commit comments

Comments
 (0)