Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/e2e/github.com/cometbf…
Browse files Browse the repository at this point in the history
…t/cometbft-0.38.9
  • Loading branch information
crodriguezvega authored Jul 2, 2024
2 parents c98bce9 + 38e4c71 commit 84992d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ func ApplyPacketFilter(ctx context.Context, t *testing.T, r ibc.Relayer, chainID
return fmt.Errorf("failed to find chain with id %s", chainID)
}

var chanelEndpoints [][]string
var channelEndpoints [][]string
for _, c := range channels {
chanelEndpoints = append(chanelEndpoints, []string{c.PortID, c.ChannelID})
channelEndpoints = append(channelEndpoints, []string{c.PortID, c.ChannelID})
}

// [chains.packet_filter]
Expand All @@ -100,12 +100,12 @@ func ApplyPacketFilter(ctx context.Context, t *testing.T, r ibc.Relayer, chainID
// TODO(chatton): explicitly enable watching of ICA channels
// this will ensure the ICA tests pass, but this will need to be modified to make sure
// ICA tests will succeed in parallel.
chanelEndpoints = append(chanelEndpoints, []string{"ica*", "*"})
channelEndpoints = append(channelEndpoints, []string{"ica*", "*"})

// we explicitly override the full list, this allows this function to provide a complete set of channels to watch.
chain["packet_filter"] = map[string]interface{}{
"policy": "allow",
"list": chanelEndpoints,
"list": channelEndpoints,
}

return nil
Expand Down

0 comments on commit 84992d4

Please sign in to comment.