Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Dec 3, 2024
1 parent 6854e09 commit 052dbc1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions integration-tests/testsetups/ccip/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ func CreateChainConfigFromNetworks(
networkPvtKeys[net.ChainID] = net.PrivateKeys
}
type chainDetails struct {
chainId int64
chainId uint64
wsRPCs []string
httpRPCs []string
}
Expand All @@ -675,7 +675,7 @@ func CreateChainConfigFromNetworks(
t.Fatalf("negative chain ID: %d", chainId)
}
chaindetails = append(chaindetails, chainDetails{
chainId: chainId,
chainId: uint64(chainId),
wsRPCs: net.URLs,
httpRPCs: net.HTTPURLs,
})
Expand All @@ -689,18 +689,18 @@ func CreateChainConfigFromNetworks(
rpcProvider, err := env.GetRpcProvider(int64(chainId))
require.NoError(t, err, "Error getting rpc provider")
chaindetails = append(chaindetails, chainDetails{
chainId: int64(chainId),
chainId: uint64(chainId),
wsRPCs: rpcProvider.PublicWsUrls(),
httpRPCs: rpcProvider.PublicHttpUrls(),
})
}
}
for _, cd := range chaindetails {
chainId := cd.chainId
chainName, err := chainsel.NameFromChainId(uint64(chainId))
chainName, err := chainsel.NameFromChainId(chainId)
require.NoError(t, err, "Error getting chain name")
chainCfg := devenv.ChainConfig{
ChainID: uint64(chainId),
ChainID: chainId,
ChainName: chainName,
ChainType: "EVM",
WSRPCs: cd.wsRPCs,
Expand Down

0 comments on commit 052dbc1

Please sign in to comment.