Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4489716
SecretsFetcher support for fetching public keys of all Nodes in a DON
prashantkumar1982 Jul 7, 2025
5853d77
Logic update for DON members
prashantkumar1982 Jul 7, 2025
0c8017a
add new mock file
prashantkumar1982 Jul 7, 2025
6426800
fix unittest
prashantkumar1982 Jul 7, 2025
9e3299a
Changeset and lint
prashantkumar1982 Jul 7, 2025
812bbed
Merge branch 'develop' of https://github.com/smartcontractkit/chainli…
prashantkumar1982 Jul 7, 2025
1a3f2c9
Integration Test support
prashantkumar1982 Jul 7, 2025
d8bf990
Lint Errors
prashantkumar1982 Jul 8, 2025
6cf294d
Merge branch 'develop' of https://github.com/smartcontractkit/chainli…
prashantkumar1982 Jul 8, 2025
c21ba59
nit var rename and formatting
prashantkumar1982 Jul 8, 2025
5557b19
mockery fix
prashantkumar1982 Jul 8, 2025
65dc113
Add a tag to changeset
prashantkumar1982 Jul 8, 2025
f00a1e5
review feedback
prashantkumar1982 Jul 8, 2025
47d4839
chore(multi): bumps chainlink-common
MStreet3 Jul 8, 2025
7df87f5
fix(capabilities/fakes): updates use of consensus capability
MStreet3 Jul 8, 2025
c87ba02
fix: re-bump common
MStreet3 Jul 8, 2025
cc676af
Refactor to get all nodes in a don from capability registry
prashantkumar1982 Jul 9, 2025
61f223f
merge develop
prashantkumar1982 Jul 9, 2025
b6028a5
test fixes
prashantkumar1982 Jul 9, 2025
03c7570
Merge develop
prashantkumar1982 Jul 9, 2025
6207810
test fix
prashantkumar1982 Jul 9, 2025
d810587
merge develop
prashantkumar1982 Jul 9, 2025
e5f4ad7
Merge branch 'develop' into street_bumpConsensusProtos
MStreet3 Jul 9, 2025
d54060f
chore: re-bump common
MStreet3 Jul 9, 2025
221bc16
fix(capabilities/fakes): modify report request
MStreet3 Jul 9, 2025
5981aaf
lint
MStreet3 Jul 9, 2025
894005e
fix: make generate
MStreet3 Jul 9, 2025
fe5072a
get latest chainlink-common change
prashantkumar1982 Jul 9, 2025
df6bf21
Pull breaking change fix from another PR(18558) to unblock test failures
prashantkumar1982 Jul 9, 2025
c04d8ff
merge develop
prashantkumar1982 Jul 9, 2025
ef1e161
chore: bump cre-sdk-go
MStreet3 Jul 9, 2025
fd74128
Merge branch 'develop' into street_bumpConsensusProtos
MStreet3 Jul 9, 2025
f2aa634
chore: bump sdk
MStreet3 Jul 9, 2025
7c8b429
merge branch street_bumpConsensusProtos to unblock
prashantkumar1982 Jul 9, 2025
1ef6fce
merge develop
prashantkumar1982 Jul 10, 2025
19305e9
bump chainlink-common to latest commit on branch
prashantkumar1982 Jul 10, 2025
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/olive-keys-lose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal Implement fetching encryption keys for all Workflow Nodes in the SecretsFetcher
1 change: 1 addition & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ packages:
github.com/smartcontractkit/chainlink/v2/core/services/registrysyncer:
interfaces:
ORM:
RegistrySyncer:
github.com/smartcontractkit/chainlink/v2/core/services/workflows/syncer:
interfaces:
ORM:
Expand Down
2 changes: 1 addition & 1 deletion core/capabilities/ccip/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (d *Delegate) ServicesForSpec(ctx context.Context, spec job.Job) (services
)

// register the capability launcher with the registry syncer
registrySyncer.AddLauncher(capLauncher)
registrySyncer.AddListener(capLauncher)

return []job.ServiceCtx{
homeChainContractReader,
Expand Down
3 changes: 2 additions & 1 deletion core/capabilities/ccip/launcher/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
cciptypes "github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3"

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/ccip_home"

it "github.com/smartcontractkit/chainlink/v2/core/capabilities/ccip/ccip_integration_tests/integrationhelpers"
cctypes "github.com/smartcontractkit/chainlink/v2/core/capabilities/ccip/types"
"github.com/smartcontractkit/chainlink/v2/core/internal/testutils/pgtest"
Expand Down Expand Up @@ -56,7 +57,7 @@ func TestIntegration_Launcher(t *testing.T) {
1*time.Second,
oracleCreator,
)
regSyncer.AddLauncher(launcher)
regSyncer.AddListener(launcher)

require.NoError(t, launcher.Start(ctx))
require.NoError(t, regSyncer.Start(ctx))
Expand Down
6 changes: 3 additions & 3 deletions core/capabilities/ccip/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

var (
_ job.ServiceCtx = (*launcher)(nil)
_ registrysyncer.Launcher = (*launcher)(nil)
_ registrysyncer.Listener = (*launcher)(nil)
)

// New creates a new instance of the CCIP launcher.
Expand Down Expand Up @@ -80,8 +80,8 @@ type launcher struct {
instances map[registrysyncer.DonID]pluginRegistry
}

// Launch implements registrysyncer.Launcher.
func (l *launcher) Launch(ctx context.Context, state *registrysyncer.LocalRegistry) error {
// OnNewRegistry implements registrysyncer.Listener.
func (l *launcher) OnNewRegistry(ctx context.Context, state *registrysyncer.LocalRegistry) error {
l.lock.Lock()
defer l.lock.Unlock()
l.lggr.Debugw("Received new state from syncer", "dons", state.IDsToDONs)
Expand Down
1 change: 1 addition & 0 deletions core/capabilities/fakes/consensus_nodag.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (

valuespb "github.com/smartcontractkit/chainlink-common/pkg/values/pb"
sdkpb "github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb"

"github.com/smartcontractkit/chainlink/v2/core/services/keystore/keys/ocr2key"
"github.com/smartcontractkit/chainlink/v2/core/services/relay/evm"
)
Expand Down
1 change: 1 addition & 0 deletions core/capabilities/fakes/consensus_nodag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

"github.com/smartcontractkit/chainlink-common/pkg/capabilities"
sdkpb "github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb"

"github.com/smartcontractkit/chainlink/v2/core/logger"
"github.com/smartcontractkit/chainlink/v2/core/services/keystore/chaintype"
"github.com/smartcontractkit/chainlink/v2/core/services/keystore/keys/ocr2key"
Expand Down
2 changes: 1 addition & 1 deletion core/capabilities/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (w *launcher) Name() string {
return w.lggr.Name()
}

func (w *launcher) Launch(ctx context.Context, localRegistry *registrysyncer.LocalRegistry) error {
func (w *launcher) OnNewRegistry(ctx context.Context, localRegistry *registrysyncer.LocalRegistry) error {
w.lggr.Debug("CapabilitiesLauncher triggered...")
w.registry.SetLocalRegistry(localRegistry)

Expand Down
Loading
Loading