Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
greged93 committed Feb 6, 2024
1 parent 2666640 commit a1763bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ef-testing/src/evm_sequencer/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ pub(crate) fn default_account_class_hash() -> ClassHash {
pub(crate) fn account_constructor_args(_evm_address: Address) -> Vec<FieldElement> {
#[cfg(feature = "v1")]
{
use crate::evm_sequencer::constants::KAKAROT_ADDRESS;
let evm_address: FeltSequencer = _evm_address.try_into().unwrap(); // infallible
return vec![(*KAKAROT_ADDRESS.0.key()).into(), evm_address.into()];
}
Expand Down Expand Up @@ -81,6 +82,7 @@ pub fn to_broadcasted_starknet_transaction(
let mut execute_calldata = {
#[cfg(feature = "v0")]
{
use crate::evm_sequencer::constants::KAKAROT_ADDRESS;
vec![
FieldElement::ONE, // call array length
(*KAKAROT_ADDRESS.0.key()).into(), // contract address
Expand All @@ -92,6 +94,7 @@ pub fn to_broadcasted_starknet_transaction(
}
#[cfg(feature = "v1")]
{
use crate::evm_sequencer::constants::KAKAROT_ADDRESS;
vec![
FieldElement::ONE, // call array length
(*KAKAROT_ADDRESS.0.key()).into(), // contract address
Expand Down

0 comments on commit a1763bb

Please sign in to comment.