Skip to content

Commit

Permalink
Resolve the validator url
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Oct 28, 2022
1 parent 345127a commit 6aa2ccc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e/common/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/rs/zerolog/log"
envclient "github.com/smartcontractkit/chainlink-env/client"
"github.com/smartcontractkit/chainlink-env/environment"
mockservercfg "github.com/smartcontractkit/chainlink-env/pkg/helm/mockserver-cfg"
"github.com/smartcontractkit/chainlink-solana/tests/e2e/solclient"
Expand Down Expand Up @@ -225,8 +226,10 @@ func (m *OCRv2TestState) DeployContracts(contractsDir string) {
Expect(err).ShouldNot(HaveOccurred())
cd.RegisterAnchorPrograms()

netRemote, err := m.Env.Fwd.FindPort("sol:0", "sol-val", "http-rpc").As(envclient.RemoteConnection, envclient.HTTP)
Expect(err).ShouldNot(HaveOccurred())
cd.Client.Gauntlet.SetupNetwork(
"http://sol:8899",
netRemote,
cd.Client.ProgramWallets["access_controller-keypair.json"].PublicKey().String(),
cd.Client.ProgramWallets["store-keypair.json"].PublicKey().String(),
cd.Client.ProgramWallets["ocr2-keypair.json"].PublicKey().String(),
Expand Down

0 comments on commit 6aa2ccc

Please sign in to comment.