Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
asoliman92 committed Jul 11, 2024
1 parent ca409d5 commit 1bab4fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions core/services/ocr3/plugins/ccip_integration_tests/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ var (
)

const (
CapabilityRegistryLabellableName = "ccip"
CapabilityRegistryVersion = "v1.0.0"
CapabilityLabelledName = "ccip"
CapabilityVersion = "v1.0.0"
)

func e18Mult(amount uint64) *big.Int {
Expand Down Expand Up @@ -79,10 +79,10 @@ type chainBase struct {

// createUniverses does the following:
// 1. Creates 1 home chain and `numChains`-1 non-home chains
// 2. Deploys the CCIP contracts on the home chain and the non-home chains.
// 3. Sets up the initial configurations for the contracts on the non-home chains.
// 2. Sets up home chain with the capability registry and the CCIP config contract
// 2. Deploys the CCIP contracts to non-home chains.
// 3. Sets up the initial configurations for the contracts on non-home chains.
// 4. Wires the chains together.

func createUniverses(
t *testing.T,
numUniverses int,
Expand Down Expand Up @@ -249,8 +249,8 @@ func setupHomeChain(t *testing.T, owner *bind.TransactOpts, backend *backends.Si

_, err = capabilityRegistry.AddCapabilities(owner, []kcr.CapabilitiesRegistryCapability{
{
LabelledName: CapabilityRegistryLabellableName,
Version: CapabilityRegistryVersion,
LabelledName: CapabilityLabelledName,
Version: CapabilityVersion,
CapabilityType: 2, // consensus. not used (?)
ResponseType: 0, // report. not used (?)
ConfigurationContract: ccAddress,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestPingPong(t *testing.T) {
pingPongs := initializePingPongContracts(t, universes)
for chainID, universe := range universes {
for otherChain, pingPong := range pingPongs[chainID] {
println("PingPong From: ", chainID, " To: ", otherChain)
t.Log("PingPong From: ", chainID, " To: ", otherChain)
_, err := pingPong.StartPingPong(universe.owner)
require.NoError(t, err)
universe.backend.Commit()
Expand Down

0 comments on commit 1bab4fa

Please sign in to comment.