Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
chray-zhang committed Dec 4, 2024
1 parent b6f3b66 commit 97aef91
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion integration-tests/common/gauntlet_plus_plus_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/smartcontractkit/chainlink-starknet/integration-tests/utils"
"os"

"github.com/smartcontractkit/chainlink-starknet/integration-tests/utils"
)

func (m *OCRv2TestState) fundNodesWithGPP() ([]string, error) {
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/smoke/ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ func TestOCRBasic(t *testing.T) {
state.DeployCluster()
// Setting up G++ Client
rpcURL := state.Common.RPCDetails.RPCL2Internal
gppUrl := state.TestConfig.TestConfig.Common.GauntletPlusPlusUrl
state.Clients.GauntletPPClient, err = gauntlet.NewStarknetGauntletPlusPlus(gppUrl, rpcURL, state.Account.Account, state.Account.PrivateKey)
gppURL := state.TestConfig.TestConfig.Common.GauntletPlusPlusUrl
state.Clients.GauntletPPClient, err = gauntlet.NewStarknetGauntletPlusPlus(gppURL, rpcURL, state.Account.Account, state.Account.PrivateKey)
require.NoError(t, err, "Setting up gauntlet++ should not fail")

state.Clients.GauntletClient, err = gauntlet.NewStarknetGauntlet(fmt.Sprintf("%s/", utils.ProjectRoot))
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/soak/ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ func TestOCRBasicSoak(t *testing.T) {

// Setting up G++ Client
rpcURL := state.Common.RPCDetails.RPCL2Internal
gppUrl := state.TestConfig.TestConfig.Common.GauntletPlusPlusUrl
state.Clients.GauntletPPClient, err = gauntlet.NewStarknetGauntletPlusPlus(gppUrl, rpcURL, state.Account.Account, state.Account.PrivateKey)
gppURL := state.TestConfig.TestConfig.Common.GauntletPlusPlusUrl
state.Clients.GauntletPPClient, err = gauntlet.NewStarknetGauntletPlusPlus(gppURL, rpcURL, state.Account.Account, state.Account.PrivateKey)
require.NoError(t, err, "Setting up gauntlet++ should not fail")

state.Clients.GauntletClient, err = gauntlet.NewStarknetGauntlet(fmt.Sprintf("%s/", utils.ProjectRoot))
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/testconfig/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ type Common struct {
DevnetImage *string `toml:"devnet_image"`
GauntletPlusPlusImage *string `toml:"gauntlet_plus_plus_image"`
PostgresVersion *string `toml:"postgres_version"`
GauntletPlusPlusUrl string
GauntletPlusPlusUrl string
}

func (c *Common) Validate() error {
Expand Down

0 comments on commit 97aef91

Please sign in to comment.