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

refactor: remove Account_jumpdests_initialized #736

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/ef-testing/src/evm_sequencer/account/v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use starknet_crypto::Felt;
use super::{pack_byte_array_to_starkfelt_array, KakarotAccount};
use crate::evm_sequencer::constants::storage_variables::{
ACCOUNT_BYTECODE_LEN, ACCOUNT_CODE_HASH, ACCOUNT_EVM_ADDRESS, ACCOUNT_IS_INITIALIZED,
ACCOUNT_JUMPDESTS_INITIALIZED, ACCOUNT_NONCE, ACCOUNT_STORAGE, ACCOUNT_VALID_JUMPDESTS,
ACCOUNT_NONCE, ACCOUNT_STORAGE, ACCOUNT_VALID_JUMPDESTS,
};
use crate::evm_sequencer::{types::felt::FeltSequencer, utils::split_u256};
use crate::starknet_storage;
Expand All @@ -38,7 +38,6 @@ impl KakarotAccount {
starknet_storage!(ACCOUNT_EVM_ADDRESS, evm_address),
starknet_storage!(ACCOUNT_IS_INITIALIZED, 1u8),
starknet_storage!(ACCOUNT_BYTECODE_LEN, code.len() as u32),
starknet_storage!(ACCOUNT_JUMPDESTS_INITIALIZED, 1u8),
];

// Write the nonce of the account is written to storage after each tx.
Expand Down
1 change: 0 additions & 1 deletion crates/ef-testing/src/evm_sequencer/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ pub mod storage_variables {
pub const ACCOUNT_KAKAROT_ADDRESS: &str = "Account_kakarot_address";
pub const ACCOUNT_IMPLEMENTATION: &str = "Account_implementation";
pub const ACCOUNT_VALID_JUMPDESTS : &str = "Account_valid_jumpdests";
pub const ACCOUNT_JUMPDESTS_INITIALIZED : &str = "Account_jumpdests_initialized";
pub const ACCOUNT_PUBLIC_KEY: &str = "Account_public_key";
pub const ACCOUNT_CODE_HASH: &str = "Account_code_hash";

Expand Down
Loading