Skip to content

Commit

Permalink
consistent PrefixedCoin conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Jan 10, 2025
1 parent 15f683a commit d4f2c76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion relayer/crates/starknet-integration-tests/src/tests/ics20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,10 @@ fn test_starknet_ics20_contract() -> Result<(), Error> {
.unwrap_or(TimeoutTimestamp::Never);

let ibc_transfer_packet_data = PacketData {
token: format!("{}{}", send_ics20_event.amount, send_ics20_event.denom).parse()?,
token: PrefixedCoin {
denom: send_ics20_event.denom.to_string().parse()?,
amount: send_ics20_event.amount.to_string().parse()?,
},
sender: send_ics20_event.sender.to_string().into(),
receiver: send_ics20_event.receiver.to_string().into(),
memo: send_ics20_event.memo.into(),
Expand Down

0 comments on commit d4f2c76

Please sign in to comment.