Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Feb 20, 2024
1 parent cbb83ca commit aeadb4d
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions integration_tests/test_ibc_rly.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,20 @@ def recv_packet(seq, src, dst, amt, denom):
"packetDstPort": "transfer",
"packetDstChannel": channel,
"connectionId": "connection-0",
"packetDataHex": (dst, src, [(amt, denom)]),
"packetDataHex": AttributeDict(
{
"receiver": dst,
"sender": src,
"amount": [
AttributeDict(
{
"amount": amt,
"denom": denom,
}
)
],
}
),
}


Expand Down Expand Up @@ -146,7 +159,20 @@ def write_ack(seq, src, dst, amt, denom):
"packetDstPort": "transfer",
"packetDstChannel": channel,
"connectionId": "connection-0",
"packetDataHex": (dst, src, [(amt, denom)]),
"packetDataHex": AttributeDict(
{
"receiver": dst,
"sender": src,
"amount": [
AttributeDict(
{
"amount": amt,
"denom": denom,
}
)
],
}
),
}


Expand Down

0 comments on commit aeadb4d

Please sign in to comment.