@@ -454,7 +454,6 @@ fn l1_deposit_and_withdraw_asset_integration_test() {
454454 // Start Stacks L1.
455455 let l1_toml_file = "../../contrib/conf/stacks-l1-mocknet.toml" ;
456456 let l1_rpc_origin = "http://127.0.0.1:20443" ;
457- let trait_standard_contract_name = "subnet-traits" ;
458457
459458 // Start the L2 run loop.
460459 let mut config = super :: new_l1_test_conf ( & * MOCKNET_PRIVATE_KEY_2 , & * MOCKNET_PRIVATE_KEY_1 ) ;
@@ -602,6 +601,11 @@ fn l1_deposit_and_withdraw_asset_integration_test() {
602601 ) ;
603602 l1_nonce += 1 ;
604603
604+ submit_tx ( & l2_rpc_origin, & subnet_ft_publish) ;
605+ submit_tx ( & l2_rpc_origin, & subnet_nft_publish) ;
606+ submit_tx ( l1_rpc_origin, & l1_mint_ft_tx) ;
607+ submit_tx ( l1_rpc_origin, & l1_mint_nft_tx) ;
608+
605609 // Register the contract (submitted by miner)
606610 let account = get_account ( & l1_rpc_origin, & miner_account) ;
607611 let subnet_setup_ft_tx = make_contract_call (
@@ -617,6 +621,8 @@ fn l1_deposit_and_withdraw_asset_integration_test() {
617621 Value :: Principal ( PrincipalData :: Contract ( subnet_ft_contract_id. clone ( ) ) ) ,
618622 ] ,
619623 ) ;
624+ submit_tx ( l1_rpc_origin, & subnet_setup_ft_tx) ;
625+
620626 let subnet_setup_nft_tx = make_contract_call (
621627 & MOCKNET_PRIVATE_KEY_2 ,
622628 LAYER_1_CHAIN_ID_TESTNET ,
@@ -630,12 +636,6 @@ fn l1_deposit_and_withdraw_asset_integration_test() {
630636 Value :: Principal ( PrincipalData :: Contract ( subnet_nft_contract_id. clone ( ) ) ) ,
631637 ] ,
632638 ) ;
633-
634- submit_tx ( & l2_rpc_origin, & subnet_ft_publish) ;
635- submit_tx ( & l2_rpc_origin, & subnet_nft_publish) ;
636- submit_tx ( l1_rpc_origin, & l1_mint_ft_tx) ;
637- submit_tx ( l1_rpc_origin, & l1_mint_nft_tx) ;
638- submit_tx ( l1_rpc_origin, & subnet_setup_ft_tx) ;
639639 submit_tx ( l1_rpc_origin, & subnet_setup_nft_tx) ;
640640
641641 wait_for_next_stacks_block ( & sortition_db) ;
0 commit comments