Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BCI-3989][core] - CR methods err when service unstarted #14123

Draft
wants to merge 80 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
111057c
add isStarted check
Farber98 Aug 14, 2024
6f8ed23
move start outside getChainReader
Farber98 Aug 14, 2024
0074a33
bump common version
Farber98 Aug 14, 2024
2132bf0
Squashed commit of the following:
Farber98 Aug 14, 2024
53adad8
Revert "Squashed commit of the following:"
Farber98 Aug 15, 2024
bf588c7
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 15, 2024
2cce774
bump common version
Farber98 Aug 15, 2024
e8b366e
fix ccip failing integration tests
Farber98 Aug 15, 2024
7fa91e6
Revert "fix ccip failing integration tests"
Farber98 Aug 15, 2024
ed83615
remove check from bind
Farber98 Aug 15, 2024
fa2d416
bump common version
Farber98 Aug 15, 2024
4b2e503
fix chain reader tests
Farber98 Aug 15, 2024
7184150
StartChainReader method
Farber98 Aug 15, 2024
1e41db4
bump common version
Farber98 Aug 15, 2024
add59d8
start chain reader inside registry syncer
Farber98 Aug 15, 2024
db99f56
Revert "start chain reader inside registry syncer"
Farber98 Aug 15, 2024
7fde790
make error more clear for logging
Farber98 Aug 15, 2024
83c2559
starting cr service in write capability
Farber98 Aug 15, 2024
52e3313
starting contractReader inside registrySyncer
Farber98 Aug 15, 2024
b0c3305
idempotency if already started or already closed
Farber98 Aug 15, 2024
46d0c84
start reader in ccip delegate
Farber98 Aug 15, 2024
deb2d30
create var for err
Farber98 Aug 16, 2024
8a7054d
bump common version
Farber98 Aug 16, 2024
2aa2ee3
close chain reader after tests
Farber98 Aug 16, 2024
c63bcc6
bump common version
Farber98 Aug 16, 2024
733e0e0
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 22, 2024
894835e
bump common version
Farber98 Aug 22, 2024
d7153ac
add changeset
Farber98 Aug 22, 2024
be1d2c8
use state machine instead of flag
Farber98 Aug 22, 2024
46d7e32
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 22, 2024
4ea601d
use state machine ready method
Farber98 Aug 22, 2024
19a0268
idempotent start and close
Farber98 Aug 22, 2024
a0344e4
rename methods + bump common version
Farber98 Aug 23, 2024
5f45f15
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 23, 2024
482bb8b
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 23, 2024
5c93499
bump common version
Farber98 Aug 23, 2024
0e8f75f
bump common
Farber98 Aug 23, 2024
2eb9b0d
use state machine helpers to check if started inside methods
Farber98 Aug 24, 2024
6381bcd
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 24, 2024
f8d149d
bump common version
Farber98 Aug 24, 2024
160ea54
fix conflict
Farber98 Aug 24, 2024
0272eec
fix conflict
Farber98 Aug 24, 2024
d945744
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 26, 2024
017380c
remove start and close state check
Farber98 Aug 26, 2024
7448064
separate instantiation from starting svc in syncer tests
Farber98 Aug 26, 2024
6fc175f
remove Start and return svc started from getChainReader
Farber98 Aug 26, 2024
2a236da
bump common
Farber98 Aug 26, 2024
e42f6dd
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 28, 2024
3bff641
bump deps
Farber98 Aug 28, 2024
917add2
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 28, 2024
732f4c0
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 28, 2024
ca2124d
bump common
Farber98 Aug 28, 2024
19ac700
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 28, 2024
f13379f
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 29, 2024
ec4dcbd
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Aug 30, 2024
3684bde
bump common
Farber98 Aug 30, 2024
eaa8149
fix tidy & generate ci
Farber98 Aug 30, 2024
e06b1d1
fix go.md error
Farber98 Aug 30, 2024
d6e2d43
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
ilija42 Sep 2, 2024
cadbc0f
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Sep 3, 2024
2715354
bump common
Farber98 Sep 3, 2024
9b8be2f
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Sep 4, 2024
8ddc56c
add start. add start and close where needed
Farber98 Sep 4, 2024
8095ff8
bump common
Farber98 Sep 4, 2024
872fd3c
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Sep 4, 2024
00044c6
bump common
Farber98 Sep 4, 2024
e1792e9
merge develop
Farber98 Sep 5, 2024
76ed985
merge develop
Farber98 Sep 5, 2024
218f3cd
merge develop
Farber98 Sep 5, 2024
d8e1c2b
fix conflicts with chain components pr
Farber98 Sep 5, 2024
37c892c
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Sep 12, 2024
3fcbbf6
fix conflicts pr
Farber98 Sep 12, 2024
56b0f5f
bump common
Farber98 Sep 12, 2024
e569a69
add flag to control if we return cr started
Farber98 Sep 15, 2024
36e4489
bump common
Farber98 Sep 15, 2024
c83a850
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Sep 15, 2024
40d2cc1
bump common
Farber98 Sep 16, 2024
e96d20c
refactor codec and chaincomponents ifaces
Farber98 Sep 16, 2024
07c8f01
Merge branch 'develop' into BCI-3989-cr-methods-error-when-unstarted
Farber98 Sep 16, 2024
b22ad6b
bump common
Farber98 Sep 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/rotten-timers-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

chainReader methods return err when called and service is not started yet. #internal
5 changes: 5 additions & 0 deletions core/capabilities/ccip/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,11 @@ func (d *Delegate) getHomeChainContractReader(
return nil, fmt.Errorf("failed to create home chain contract reader: %w", err)
}

err = reader.Start(ctx)
if err != nil {
return nil, err
}

reader, err = bindReader(ctx, reader, d.capabilityConfig.ExternalRegistry().Address(), capabilityLabelledName, capabilityVersion)
if err != nil {
return nil, fmt.Errorf("failed to bind home chain contract reader: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
github.com/prometheus/client_golang v1.17.0
github.com/shopspring/decimal v1.4.0
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b

Check failure on line 25 in core/scripts/go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch
github.com/smartcontractkit/chainlink/v2 v2.0.0-00010101000000-000000000000
github.com/smartcontractkit/libocr v0.0.0-20240717100443-f6226e09bee7
github.com/spf13/cobra v1.8.0
Expand Down Expand Up @@ -275,7 +275,7 @@
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240801131703-fd75761c982f // indirect
github.com/smartcontractkit/chainlink-feeds v0.0.0-20240710170203-5b41615da827 // indirect
github.com/smartcontractkit/chainlink-solana v1.1.1-0.20240821170223-a2f5c39f457f // indirect
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240709043547-03612098f799 // indirect

Check failure on line 278 in core/scripts/go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch
github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20230906073235-9e478e5e19f1 // indirect
github.com/smartcontractkit/tdh2/go/tdh2 v0.0.0-20230906073235-9e478e5e19f1 // indirect
github.com/smartcontractkit/wsrpc v0.7.3 // indirect
Expand Down Expand Up @@ -367,7 +367,7 @@
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

// until merged upstream: https://github.com/hashicorp/go-plugin/pull/257
github.com/hashicorp/go-plugin => github.com/smartcontractkit/go-plugin v0.0.0-20240208201424-b3b91517de16

Check failure on line 370 in core/scripts/go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch

// until merged upstream: https://github.com/mwitkow/grpc-proxy/pull/69
github.com/mwitkow/grpc-proxy => github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f
Expand Down
4 changes: 2 additions & 2 deletions core/scripts/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1186,8 +1186,8 @@ github.com/smartcontractkit/chainlink-automation v1.0.4 h1:iyW181JjKHLNMnDleI8um
github.com/smartcontractkit/chainlink-automation v1.0.4/go.mod h1:u4NbPZKJ5XiayfKHD/v3z3iflQWqvtdhj13jVZXj/cM=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95 h1:LAgJTg9Yr/uCo2g7Krp88Dco2U45Y6sbJVl8uKoLkys=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95/go.mod h1:/ZWraCBaDDgaIN1prixYcbVvIk/6HeED9+8zbWQ+TMo=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097 h1:88WOOrXy7t8IxS+91AKItN/HTzIHvEgFNetZDOhosKc=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097/go.mod h1:HqdnbHS9j9EKPidpSUI9S37zl0blbVjB+NP4ztdYta8=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b h1:i4kcLplKSgtDeedVrLHZ7oilL8lMLtJVea6ZY/ZhmKI=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b/go.mod h1:HqdnbHS9j9EKPidpSUI9S37zl0blbVjB+NP4ztdYta8=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45 h1:NBQLtqk8zsyY4qTJs+NElI3aDFTcAo83JHvqD04EvB0=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45/go.mod h1:LV0h7QBQUpoC2UUi6TcUvcIFm1xjP/DtEcqV8+qeLUs=
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240801131703-fd75761c982f h1:I9fTBJpHkeldFplXUy71eLIn6A6GxuR4xrABoUeD+CM=
Expand Down
5 changes: 5 additions & 0 deletions core/services/registrysyncer/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,11 @@ func (s *registrySyncer) Sync(ctx context.Context, isInitialSync bool) error {
return err
}

err = reader.Start(ctx)
if err != nil {
return err
}
Comment on lines +280 to +283
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be started in func (s *registrySyncer) Start(ctx context.Context) error {

Copy link
Contributor Author

@Farber98 Farber98 Aug 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

func (s *registrySyncer) Start(ctx context.Context) error calls func (s *registrySyncer) syncLoop() that calls func (s *registrySyncer) Sync(ctx context.Context, isInitialSync bool) error which initializes the CR.

I added these lines to start the CR service right after this initialization

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it better to have the initialization here, rather than in (*registrySyncer).Start? Isn't that just contributing to this problem in the first place?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean by this problem?

There's a note in the newReader func that says why this is achieved this way:

// NOTE: this can't be called while initializing the syncer and needs to be called in the sync loop.
// This is because Bind() makes an onchain call to verify that the contract address exists, and if
// called during initialization, this results in a "no live nodes" error.

Copy link
Contributor Author

@Farber98 Farber98 Aug 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added these lines as we are now enforcing CR service to be in Started state before calling the methods. This syncer was not starting the service previously and that's why we got some tests failing but now they are passing with this change

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean by this problem?

If all dependencies are Started before anything that uses them, then there is no need to be defensive about checking internally if Start has been called. But I see that there is a good reason to defer in this case.


s.reader = reader
}

Expand Down
34 changes: 32 additions & 2 deletions core/services/relay/evm/chain_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ type chainReader struct {
bindings
codec commontypes.RemoteCodec
commonservices.StateMachine
isStarted bool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to access the started state in the StateMachine without the need to add a new property.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! Looks cleaner. I was trying to replicate the way txm components do this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed here: 19a0268 (#14123)

}

var _ ChainReaderService = (*chainReader)(nil)
var _ commontypes.ContractTypeProvider = &chainReader{}
var errServiceNotStarted = errors.New("ContractReader service not started")

// NewChainReaderService is a constructor for ChainReader, returns nil if there is any error
// Note that the ChainReaderService returned does not support anonymous events.
Expand Down Expand Up @@ -141,31 +143,47 @@ func (cr *chainReader) Name() string { return cr.lggr.Name() }

// Start registers polling filters if contracts are already bound.
func (cr *chainReader) Start(ctx context.Context) error {
if cr.isStarted {
return nil
}

return cr.StartOnce("ChainReader", func() error {
return cr.bindings.ForEach(ctx, func(c context.Context, cb *contractBinding) error {
err := cr.bindings.ForEach(ctx, func(c context.Context, cb *contractBinding) error {
for _, rb := range cb.readBindings {
if err := rb.Register(ctx); err != nil {
return err
}
}
return cb.Register(ctx, cr.lp)
})
if err == nil {
cr.isStarted = true
}
return err
})
}

// Close unregisters polling filters for bound contracts.
func (cr *chainReader) Close() error {
if !cr.isStarted {
return nil
}

return cr.StopOnce("ChainReader", func() error {
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel()
return cr.bindings.ForEach(ctx, func(c context.Context, cb *contractBinding) error {
err := cr.bindings.ForEach(ctx, func(c context.Context, cb *contractBinding) error {
for _, rb := range cb.readBindings {
if err := rb.Unregister(ctx); err != nil {
return err
}
}
return cb.Unregister(ctx, cr.lp)
})
if err == nil {
cr.isStarted = false
}
return err
})
}

Expand All @@ -176,6 +194,10 @@ func (cr *chainReader) HealthReport() map[string]error {
}

func (cr *chainReader) GetLatestValue(ctx context.Context, contractName, method string, confidenceLevel primitives.ConfidenceLevel, params, returnVal any) error {
if !cr.isStarted {
return errServiceNotStarted
}

b, err := cr.bindings.GetReadBinding(contractName, method)
if err != nil {
return err
Expand All @@ -185,6 +207,10 @@ func (cr *chainReader) GetLatestValue(ctx context.Context, contractName, method
}

func (cr *chainReader) BatchGetLatestValues(ctx context.Context, request commontypes.BatchGetLatestValuesRequest) (commontypes.BatchGetLatestValuesResult, error) {
if !cr.isStarted {
return nil, errServiceNotStarted
}

return cr.bindings.BatchGetLatestValues(ctx, request)
}

Expand All @@ -193,6 +219,10 @@ func (cr *chainReader) Bind(ctx context.Context, bindings []commontypes.BoundCon
}

func (cr *chainReader) QueryKey(ctx context.Context, contractName string, filter query.KeyFilter, limitAndSort query.LimitAndSort, sequenceDataType any) ([]commontypes.Sequence, error) {
if !cr.isStarted {
return nil, errServiceNotStarted
}

b, err := cr.bindings.GetReadBinding(contractName, filter.Key)
if err != nil {
return nil, err
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,18 @@ func (it *EVMChainReaderInterfaceTester[T]) GetChainReader(t T) clcommontypes.Co

cr, err := evm.NewChainReaderService(ctx, lggr, lp, ht, it.client, conf)
require.NoError(t, err)
require.NoError(t, cr.Start(ctx))
it.cr = cr
return cr
}

func (it *EVMChainReaderInterfaceTester[T]) StartChainReader(t T) {
require.NoError(t, it.cr.Start(it.Helper.Context(t)))
}

func (it *EVMChainReaderInterfaceTester[T]) CloseChainReader(t T) {
require.NoError(t, it.cr.Close())
}

func (it *EVMChainReaderInterfaceTester[T]) SetTestStructLatestValue(t T, testStruct *TestStruct) {
it.sendTxWithTestStruct(t, it.address, testStruct, (*chain_reader_tester.ChainReaderTesterTransactor).AddTestStruct)
}
Expand Down
6 changes: 6 additions & 0 deletions core/services/relay/evm/evmtesting/run_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ func RunChainReaderEvmTests[T TestingT[T]](t T, it *EVMChainReaderInterfaceTeste

cr := it.GetChainReader(t)
require.NoError(t, cr.Bind(ctx, it.GetBindings(t)))
it.StartChainReader(t)
defer it.CloseChainReader(t)

input := struct{ Field string }{Field: anyString}
tp := cr.(clcommontypes.ContractTypeProvider)
Expand Down Expand Up @@ -62,6 +64,8 @@ func RunChainReaderEvmTests[T TestingT[T]](t T, it *EVMChainReaderInterfaceTeste
ctx := it.Helper.Context(t)
cr := it.GetChainReader(t)
require.NoError(t, cr.Bind(ctx, it.GetBindings(t)))
it.StartChainReader(t)
defer it.CloseChainReader(t)
var latest struct{ Field1, Field2, Field3 int32 }
params := struct{ Field1, Field2, Field3 int32 }{Field1: 1, Field2: 2, Field3: 3}

Expand All @@ -83,6 +87,8 @@ func RunChainReaderEvmTests[T TestingT[T]](t T, it *EVMChainReaderInterfaceTeste
ctx := it.Helper.Context(t)
cr := it.GetChainReader(t)
require.NoError(t, cr.Bind(ctx, it.GetBindings(t)))
it.StartChainReader(t)
defer it.CloseChainReader(t)
var latest struct {
Field3 [32]byte
}
Expand Down
5 changes: 5 additions & 0 deletions core/services/relay/evm/write_target.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ func NewWriteTarget(ctx context.Context, relayer *Relayer, chain legacyevm.Chain
return nil, err
}

err = cr.Start(ctx)
if err != nil {
return nil, err
}

var gasLimit uint64 = 400_000
chainWriterConfig := relayevmtypes.ChainWriterConfig{
Contracts: map[string]*relayevmtypes.ContractConfig{
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
github.com/smartcontractkit/chain-selectors v1.0.21
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b

Check failure on line 78 in go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240801131703-fd75761c982f
github.com/smartcontractkit/chainlink-feeds v0.0.0-20240710170203-5b41615da827
github.com/smartcontractkit/chainlink-solana v1.1.1-0.20240821170223-a2f5c39f457f
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240709043547-03612098f799

Check failure on line 83 in go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch
github.com/smartcontractkit/libocr v0.0.0-20240717100443-f6226e09bee7
github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20230906073235-9e478e5e19f1
github.com/smartcontractkit/tdh2/go/tdh2 v0.0.0-20230906073235-9e478e5e19f1
Expand Down Expand Up @@ -355,7 +355,7 @@
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

// until merged upstream: https://github.com/hashicorp/go-plugin/pull/257
github.com/hashicorp/go-plugin => github.com/smartcontractkit/go-plugin v0.0.0-20240208201424-b3b91517de16

Check failure on line 358 in go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch

// until nolag updates merged upstream
github.com/mitchellh/mapstructure => github.com/nolag/mapstructure v1.5.2-0.20240625151721-90ea83a3f479
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1141,8 +1141,8 @@ github.com/smartcontractkit/chainlink-automation v1.0.4 h1:iyW181JjKHLNMnDleI8um
github.com/smartcontractkit/chainlink-automation v1.0.4/go.mod h1:u4NbPZKJ5XiayfKHD/v3z3iflQWqvtdhj13jVZXj/cM=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95 h1:LAgJTg9Yr/uCo2g7Krp88Dco2U45Y6sbJVl8uKoLkys=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95/go.mod h1:/ZWraCBaDDgaIN1prixYcbVvIk/6HeED9+8zbWQ+TMo=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097 h1:88WOOrXy7t8IxS+91AKItN/HTzIHvEgFNetZDOhosKc=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097/go.mod h1:HqdnbHS9j9EKPidpSUI9S37zl0blbVjB+NP4ztdYta8=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b h1:i4kcLplKSgtDeedVrLHZ7oilL8lMLtJVea6ZY/ZhmKI=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b/go.mod h1:HqdnbHS9j9EKPidpSUI9S37zl0blbVjB+NP4ztdYta8=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45 h1:NBQLtqk8zsyY4qTJs+NElI3aDFTcAo83JHvqD04EvB0=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45/go.mod h1:LV0h7QBQUpoC2UUi6TcUvcIFm1xjP/DtEcqV8+qeLUs=
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240801131703-fd75761c982f h1:I9fTBJpHkeldFplXUy71eLIn6A6GxuR4xrABoUeD+CM=
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
github.com/slack-go/slack v0.12.2
github.com/smartcontractkit/chain-selectors v1.0.21
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b

Check failure on line 36 in integration-tests/go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch
github.com/smartcontractkit/chainlink-testing-framework v1.34.5
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.0-20240405215812-5a72bc9af239
github.com/smartcontractkit/chainlink/v2 v2.0.0-00010101000000-000000000000
Expand Down Expand Up @@ -386,7 +386,7 @@
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240801131703-fd75761c982f // indirect
github.com/smartcontractkit/chainlink-feeds v0.0.0-20240710170203-5b41615da827 // indirect
github.com/smartcontractkit/chainlink-solana v1.1.1-0.20240821170223-a2f5c39f457f // indirect
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240709043547-03612098f799 // indirect

Check failure on line 389 in integration-tests/go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch
github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20230906073235-9e478e5e19f1 // indirect
github.com/smartcontractkit/tdh2/go/tdh2 v0.0.0-20230906073235-9e478e5e19f1 // indirect
github.com/smartcontractkit/wsrpc v0.7.3 // indirect
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1490,8 +1490,8 @@ github.com/smartcontractkit/chainlink-automation v1.0.4 h1:iyW181JjKHLNMnDleI8um
github.com/smartcontractkit/chainlink-automation v1.0.4/go.mod h1:u4NbPZKJ5XiayfKHD/v3z3iflQWqvtdhj13jVZXj/cM=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95 h1:LAgJTg9Yr/uCo2g7Krp88Dco2U45Y6sbJVl8uKoLkys=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95/go.mod h1:/ZWraCBaDDgaIN1prixYcbVvIk/6HeED9+8zbWQ+TMo=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097 h1:88WOOrXy7t8IxS+91AKItN/HTzIHvEgFNetZDOhosKc=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097/go.mod h1:HqdnbHS9j9EKPidpSUI9S37zl0blbVjB+NP4ztdYta8=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b h1:i4kcLplKSgtDeedVrLHZ7oilL8lMLtJVea6ZY/ZhmKI=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b/go.mod h1:HqdnbHS9j9EKPidpSUI9S37zl0blbVjB+NP4ztdYta8=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45 h1:NBQLtqk8zsyY4qTJs+NElI3aDFTcAo83JHvqD04EvB0=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45/go.mod h1:LV0h7QBQUpoC2UUi6TcUvcIFm1xjP/DtEcqV8+qeLUs=
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240801131703-fd75761c982f h1:I9fTBJpHkeldFplXUy71eLIn6A6GxuR4xrABoUeD+CM=
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/load/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
github.com/rs/zerolog v1.31.0
github.com/slack-go/slack v0.12.2
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b

Check failure on line 19 in integration-tests/load/go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch
github.com/smartcontractkit/chainlink-testing-framework v1.34.5
github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240214231432-4ad5eb95178c
github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240216210048-da02459ddad8
Expand Down Expand Up @@ -374,7 +374,7 @@
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240801131703-fd75761c982f // indirect
github.com/smartcontractkit/chainlink-feeds v0.0.0-20240710170203-5b41615da827 // indirect
github.com/smartcontractkit/chainlink-solana v1.1.1-0.20240821170223-a2f5c39f457f // indirect
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240709043547-03612098f799 // indirect

Check failure on line 377 in integration-tests/load/go.mod

View workflow job for this annotation

GitHub Actions / Validate go.mod dependencies

err: dependency not on default branch
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.2-0.20240805111647-acf86c1e347a // indirect
github.com/smartcontractkit/havoc/k8schaos v0.0.0-20240409145249-e78d20847e37 // indirect
github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20230906073235-9e478e5e19f1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1472,8 +1472,8 @@ github.com/smartcontractkit/chainlink-automation v1.0.4 h1:iyW181JjKHLNMnDleI8um
github.com/smartcontractkit/chainlink-automation v1.0.4/go.mod h1:u4NbPZKJ5XiayfKHD/v3z3iflQWqvtdhj13jVZXj/cM=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95 h1:LAgJTg9Yr/uCo2g7Krp88Dco2U45Y6sbJVl8uKoLkys=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240806144315-04ac101e9c95/go.mod h1:/ZWraCBaDDgaIN1prixYcbVvIk/6HeED9+8zbWQ+TMo=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097 h1:88WOOrXy7t8IxS+91AKItN/HTzIHvEgFNetZDOhosKc=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240821145706-0dd95151c097/go.mod h1:HqdnbHS9j9EKPidpSUI9S37zl0blbVjB+NP4ztdYta8=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b h1:i4kcLplKSgtDeedVrLHZ7oilL8lMLtJVea6ZY/ZhmKI=
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240822113805-0cf190ee471b/go.mod h1:HqdnbHS9j9EKPidpSUI9S37zl0blbVjB+NP4ztdYta8=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45 h1:NBQLtqk8zsyY4qTJs+NElI3aDFTcAo83JHvqD04EvB0=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240710121324-3ed288aa9b45/go.mod h1:LV0h7QBQUpoC2UUi6TcUvcIFm1xjP/DtEcqV8+qeLUs=
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240801131703-fd75761c982f h1:I9fTBJpHkeldFplXUy71eLIn6A6GxuR4xrABoUeD+CM=
Expand Down
Loading