Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Dec 3, 2024
1 parent 394c9e7 commit 73dc666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/testsetups/ccip/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ func CreateChainConfigFromNetworks(
networkPvtKeys := make(map[uint64][]string)
for _, net := range evmNetworks {
require.Greater(t, len(net.PrivateKeys), 0, "No private keys found for network")
require.GreaterOrEqual(t, net.ChainID, 0, "Negative chain ID")
require.GreaterOrEqual(t, net.ChainID, int64(0), "Negative chain ID")
networkPvtKeys[uint64(net.ChainID)] = net.PrivateKeys

Check failure on line 663 in integration-tests/testsetups/ccip/test_helpers.go

View workflow job for this annotation

GitHub Actions / Lint integration-tests

G115: integer overflow conversion int64 -> uint64 (gosec)
}
type chainDetails struct {
Expand Down

0 comments on commit 73dc666

Please sign in to comment.