File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
cosmwasm/ibc-union/app/ucs03-zkgm/src Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -3925,7 +3925,6 @@ mod verify_token_order_v2_tests {
39253925 let ( mut deps, _, info, _) = init_with_custom_querier ( MockCodeHashQuerier ) ;
39263926
39273927 let mut response = Response :: new ( ) ;
3928- let mut funds = Coins :: try_from ( info. funds . clone ( ) ) . unwrap ( ) ;
39293928
39303929 TOKEN_ORIGIN
39313930 . save (
@@ -3949,10 +3948,17 @@ mod verify_token_order_v2_tests {
39493948 metadata : b"" . into ( ) ,
39503949 } ;
39513950
3951+ let funds = Coins :: try_from ( vec ! [ Coin {
3952+ denom: PREDICT_TOKEN . into( ) ,
3953+ amount: Uint128 :: from( AMOUNT ) ,
3954+ } ] )
3955+ . unwrap ( ) ;
3956+
39523957 let _ = verify_token_order_v2 (
39533958 deps. as_mut ( ) ,
39543959 info. clone ( ) ,
3955- & mut funds,
3960+ // we don't want the original to be changed
3961+ & mut funds. clone ( ) ,
39563962 DESTINATION_CHANNEL_ID ,
39573963 U256 :: ZERO ,
39583964 & token_order,
@@ -3973,7 +3979,7 @@ mod verify_token_order_v2_tests {
39733979 sender: info. sender,
39743980 } ,
39753981 & minter,
3976- vec! [ ]
3982+ funds . into_vec ( )
39773983 )
39783984 . unwrap( )
39793985 )
You can’t perform that action at this time.
0 commit comments