Skip to content

Commit

Permalink
chore: fix some comments (#7208)
Browse files Browse the repository at this point in the history
Signed-off-by: haouvw <[email protected]>
  • Loading branch information
haouvw authored Aug 26, 2024
1 parent 17a2fe7 commit 5dc21d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion e2e/sample.config.extended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# | RELAYER_ID | The type of relayer to use (rly/hermes) | hermes |


# see sample.config.yaml for a bare minium configuration example.
# see sample.config.yaml for a bare minimum configuration example.
# set env E2E_CONFIG_PATH to point to this file to use it.
---
chains:
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/transfer/ibc_module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func (suite *TransferTestSuite) TestOnRecvPacket() {
"success", func() {}, channeltypes.NewResultAcknowledgement([]byte{byte(1)}), "",
},
{
"success: async aknowledgment with forwarding path",
"success: async acknowledgment with forwarding path",
func() {
packetData := types.NewFungibleTokenPacketDataV2(
[]types.Token{
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/transfer/types/packet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestFungibleTokenPacketDataValidateBasic(t *testing.T) {
{"valid packet with memo", types.NewFungibleTokenPacketData(denom, amount, sender, receiver, "memo"), true},
{"valid packet with large amount", types.NewFungibleTokenPacketData(denom, largeAmount, sender, receiver, ""), true},
{"invalid denom", types.NewFungibleTokenPacketData("", amount, sender, receiver, ""), false},
{"invalid denom, invalid portID", types.NewFungibleTokenPacketData("(tranfer)/channel-1/uatom", amount, sender, receiver, ""), false},
{"invalid denom, invalid portID", types.NewFungibleTokenPacketData("(transfer)/channel-1/uatom", amount, sender, receiver, ""), false},
{"invalid empty amount", types.NewFungibleTokenPacketData(denom, "", sender, receiver, ""), false},
{"invalid zero amount", types.NewFungibleTokenPacketData(denom, "0", sender, receiver, ""), false},
{"invalid negative amount", types.NewFungibleTokenPacketData(denom, "-1", sender, receiver, ""), false},
Expand Down
4 changes: 2 additions & 2 deletions modules/apps/transfer/types/transfer_authorization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ func (suite *TypesTestSuite) TestTransferAuthorizationValidateBasic() {
false,
},
{
"fowarding hop with invalid port ID",
"forwarding hop with invalid port ID",
func() {
transferAuthz.Allocations[0].AllowedForwarding = []types.AllowedForwarding{
{Hops: []types.Hop{validHop}},
Expand All @@ -656,7 +656,7 @@ func (suite *TypesTestSuite) TestTransferAuthorizationValidateBasic() {
false,
},
{
"fowarding hop with invalid channel ID",
"forwarding hop with invalid channel ID",
func() {
transferAuthz.Allocations[0].AllowedForwarding = []types.AllowedForwarding{
{Hops: []types.Hop{validHop}},
Expand Down

0 comments on commit 5dc21d9

Please sign in to comment.