Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Mar 21, 2024
1 parent 897d79d commit 371eca5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 21 deletions.
3 changes: 2 additions & 1 deletion integration-tests/actions/vrf/vrfv1/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package vrfv1
import (
"fmt"

"github.com/smartcontractkit/chainlink/integration-tests/contracts"
"github.com/smartcontractkit/seth"

"github.com/smartcontractkit/chainlink/integration-tests/contracts"
)

var (
Expand Down
14 changes: 1 addition & 13 deletions integration-tests/contracts/ethereum_vrf_contracts_seth.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,15 @@ import (

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/smartcontractkit/seth"

"github.com/smartcontractkit/chainlink/integration-tests/wrappers"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/batch_blockhash_store"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/blockhash_store"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/solidity_vrf_consumer_interface"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/solidity_vrf_coordinator_interface"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/solidity_vrf_wrapper"
"github.com/smartcontractkit/seth"
)

// EthereumBatchBlockhashStore represents BatchBlockhashStore contract
type EthereumBatchBlockhashStore struct {
address *common.Address
client *seth.Client
batchBlockhashStore *batch_blockhash_store.BatchBlockhashStore
}

// EthereumBlockhashStore represents a blockhash store for VRF contract
type EthereumBlockhashStore struct {
address *common.Address
Expand Down Expand Up @@ -253,7 +245,3 @@ func (v *EthereumVRF) ProofLength(ctx context.Context) (*big.Int, error) {
Context: ctx,
})
}

func (v *EthereumBatchBlockhashStore) Address() string {
return v.address.Hex()
}
2 changes: 1 addition & 1 deletion integration-tests/smoke/ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/rs/zerolog"
"github.com/smartcontractkit/seth"
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-testing-framework/logging"
"github.com/smartcontractkit/chainlink-testing-framework/networks"
"github.com/smartcontractkit/chainlink-testing-framework/utils/testcontext"
"github.com/smartcontractkit/chainlink/v2/core/config/env"
"github.com/smartcontractkit/seth"

"github.com/smartcontractkit/chainlink/integration-tests/actions"
actions_seth "github.com/smartcontractkit/chainlink/integration-tests/actions/seth"
Expand Down
5 changes: 2 additions & 3 deletions integration-tests/smoke/ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/rs/zerolog"
"github.com/smartcontractkit/seth"
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-testing-framework/logging"
"github.com/smartcontractkit/chainlink-testing-framework/networks"
"github.com/smartcontractkit/chainlink-testing-framework/utils/testcontext"
"github.com/smartcontractkit/seth"

"github.com/smartcontractkit/chainlink/integration-tests/actions"
actions_seth "github.com/smartcontractkit/chainlink/integration-tests/actions/seth"
"github.com/smartcontractkit/chainlink/integration-tests/contracts"
"github.com/smartcontractkit/chainlink/integration-tests/docker/test_env"

actions_seth "github.com/smartcontractkit/chainlink/integration-tests/actions/seth"
tc "github.com/smartcontractkit/chainlink/integration-tests/testconfig"
)

Expand Down
5 changes: 2 additions & 3 deletions integration-tests/smoke/vrf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ import (
"github.com/google/uuid"
"github.com/onsi/gomega"
"github.com/rs/zerolog"
"github.com/smartcontractkit/seth"
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-testing-framework/logging"
"github.com/smartcontractkit/chainlink-testing-framework/networks"
"github.com/smartcontractkit/chainlink-testing-framework/utils/testcontext"
"github.com/smartcontractkit/seth"

"github.com/smartcontractkit/chainlink/integration-tests/actions/vrf/vrfv1"

"github.com/smartcontractkit/chainlink/integration-tests/actions"
"github.com/smartcontractkit/chainlink/integration-tests/actions/vrf/vrfv1"
"github.com/smartcontractkit/chainlink/integration-tests/client"
ethcontracts "github.com/smartcontractkit/chainlink/integration-tests/contracts"
"github.com/smartcontractkit/chainlink/integration-tests/docker/test_env"
Expand Down

0 comments on commit 371eca5

Please sign in to comment.