@@ -2,7 +2,6 @@ use assert_matches::assert_matches;
22use pretty_assertions:: assert_eq;
33use starknet_api:: block:: { BlockHash , BlockHashAndNumber , BlockNumber } ;
44use starknet_api:: core:: EntryPointSelector ;
5- use starknet_api:: hash:: StarkHash ;
65use starknet_api:: transaction:: L1HandlerTransaction ;
76use starknet_api:: { calldata, contract_address, felt} ;
87
@@ -17,6 +16,7 @@ use crate::test_utils::{
1716 anvil_instance_from_config,
1817 ethereum_base_layer_config_for_anvil,
1918 get_test_ethereum_node,
19+ DEFAULT_ANVIL_L1_ACCOUNT_ADDRESS ,
2020} ;
2121use crate :: { BaseLayerContract , L1Event } ;
2222
@@ -120,9 +120,6 @@ async fn events_from_other_contract() {
120120 "The two contracts should be different."
121121 ) ;
122122
123- // TODO(Arni): This constant is defined somewhere else. Move it to a share location and use it.
124- pub const DEFAULT_ANVIL_L1_ACCOUNT_ADDRESS : StarkHash =
125- StarkHash :: from_hex_unchecked ( "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266" ) ;
126123 let this_l1_handler = L1HandlerTransaction {
127124 contract_address : contract_address ! ( "0x12" ) ,
128125 entry_point_selector : EntryPointSelector ( felt ! ( "0x34" ) ) ,
0 commit comments