@@ -3,7 +3,7 @@ use std::str::FromStr;
33use cosmwasm_std:: testing:: { message_info, MockApi , MockStorage } ;
44use cosmwasm_std:: {
55 coins, to_json_binary, Addr , BankMsg , Binary , ContractResult , CosmosMsg , MsgResponse ,
6- OwnedDeps , QuerierResult , Reply , SubMsgResponse , SubMsgResult , SystemResult , Uint128 ,
6+ OwnedDeps , QuerierResult , Reply , SubMsgResponse , SubMsgResult , SystemResult , Uint256 ,
77} ;
88
99use injective_cosmwasm:: InjectiveMsg :: CreateSpotMarketOrder ;
@@ -120,9 +120,9 @@ fn test_swap() {
120120 assert_eq ! ( to_address, sender_addr) ;
121121 assert_eq ! ( 2 , amount. len( ) ) ;
122122 assert_eq ! ( amount[ 0 ] . denom, "INJ" ) ;
123- assert_eq ! ( amount[ 0 ] . amount, Uint128 :: from( 8u128 ) ) ;
123+ assert_eq ! ( amount[ 0 ] . amount, Uint256 :: from( 8u128 ) ) ;
124124 assert_eq ! ( amount[ 1 ] . denom, "USDT" ) ;
125- assert_eq ! ( amount[ 1 ] . amount, Uint128 :: from( 9000u128 - 8036u128 ) ) ;
125+ assert_eq ! ( amount[ 1 ] . amount, Uint256 :: from( 9000u128 - 8036u128 ) ) ;
126126 } else {
127127 panic ! ( "Wrong message type!" ) ;
128128 }
0 commit comments