Skip to content

Commit

Permalink
fix cr test
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkouv committed Jul 4, 2024
1 parent 70301be commit 389ebb0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import (
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/stretchr/testify/assert"

"github.com/smartcontractkit/chainlink-common/pkg/codec"
types2 "github.com/smartcontractkit/chainlink-common/pkg/types"
query2 "github.com/smartcontractkit/chainlink-common/pkg/types/query"
Expand All @@ -28,7 +30,6 @@ import (
logger2 "github.com/smartcontractkit/chainlink/v2/core/logger"
"github.com/smartcontractkit/chainlink/v2/core/services/relay/evm"
evmtypes "github.com/smartcontractkit/chainlink/v2/core/services/relay/evm/types"
"github.com/stretchr/testify/assert"
)

const chainID = 1337
Expand Down Expand Up @@ -77,6 +78,9 @@ func TestChainReader(t *testing.T) {
cfg := evmtypes.ChainReaderConfig{
Contracts: map[string]evmtypes.ChainContractReader{
ContractNameAlias: {
ContractPollingFilter: evmtypes.ContractPollingFilter{
GenericEventNames: []string{EventNameAlias},
},
ContractABI: ChainreaderMetaData.ABI,
Configs: map[string]*evmtypes.ChainReaderDefinition{
EventNameAlias: {
Expand Down

0 comments on commit 389ebb0

Please sign in to comment.