Skip to content

Commit e4cbb33

Browse files
committed
Merge remote-tracking branch 'origin/develop' into fix-healthchecker-stale-cache
# Conflicts: # integration-tests/load/go.mod
2 parents 6cb2fe7 + e523032 commit e4cbb33

18 files changed

Lines changed: 52 additions & 29 deletions

File tree

core/scripts/cre/environment/completions.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ func buildCommandTree() *CompletionNode {
244244
{Text: "--extra-allowed-gateway-ports", Description: "Extra allowed ports for outgoing connections from the Gateway Connector (e.g. 8080,8081)"},
245245
{Text: "--with-example", Description: "Deploys and registers example workflow (default: false)"},
246246
{Text: "--example-workflow-timeout", Description: "Time to wait until example workflow succeeds (e.g. 10s, 1m, 1h) (default: 5m)"},
247-
{Text: "--with-plugins-docker-image", Description: "Docker image to use (must have all capabilities included)"},
248247
{Text: "--with-beholder", Description: "Deploys Beholder (Chip Ingress + Red Panda) (default: false)"},
249248
{Text: "--with-dashboards", Description: "Deploys Observability Stack and Grafana Dashboards (default: false)"},
250249
{Text: "--with-billing", Description: "Deploys Billing Platform Service (default: false)"},

core/scripts/cre/environment/environment/setup.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,6 @@ func RunSetup(ctx context.Context, config SetupConfig, noPrompt, purge, withBill
645645
logger.Info().Msg("1. Navigate to the CRE environment directory: cd core/scripts/cre/environment")
646646
logger.Info().Msg("2. Start the environment: go run . env start")
647647
logger.Info().Msg(" Optional: Add --with-example to start with an example workflow")
648-
logger.Info().Msg(" Optional: Add --with-plugins-docker-image to use a pre-built image with capabilities")
649648
logger.Info().Msg(" Optional: Add --with-beholder to start the Beholder")
650649
logger.Info().Msg("\nFor more information, see the documentation in core/scripts/cre/environment/README.md")
651650

core/scripts/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ require (
4949
github.com/smartcontractkit/chainlink-common v0.11.2-0.20260413215716-a931c3f2f162
5050
github.com/smartcontractkit/chainlink-common/keystore v1.0.2
5151
github.com/smartcontractkit/chainlink-data-streams v0.1.13
52-
github.com/smartcontractkit/chainlink-deployments-framework v0.94.1
52+
github.com/smartcontractkit/chainlink-deployments-framework v0.95.0
5353
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20260416173445-80f6efde0a03
5454
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20260119171452-39c98c3b33cd
5555
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260409211238-5b99921cbc7c

core/scripts/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/services/vrf/v2/integration_v2_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package v2_test
33
import (
44
"encoding/hex"
55
"encoding/json"
6+
"errors"
67
"fmt"
78
"math"
89
"math/big"
@@ -2131,6 +2132,7 @@ func TestStartingCountsV1(t *testing.T) {
21312132
ec.On("ConfiguredChainID").Return(testutils.SimulatedChainID)
21322133
ec.On("BalanceAt", mock.Anything, mock.Anything, mock.Anything).Maybe().Return(big.NewInt(0), nil)
21332134
ec.On("LatestBlockHeight", mock.Anything).Return(big.NewInt(2), nil).Maybe()
2135+
ec.On("SubscribeToHeads", mock.Anything).Maybe().Return(nil, nil, errors.ErrUnsupported)
21342136
txm := makeTestTxm(t, txStore, ks.Eth(), ec)
21352137
legacyChains := evmtest.NewLegacyChains(t, evmtest.TestChainOpts{
21362138
KeyStore: ks.Eth(),

deployment/cre/jobs/propose_aptos_cap.go

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ var _ cldf.ChangeSetV2[ProposeAptosCapJobSpecInput] = ProposeAptosCapJobSpec{}
1717
const aptosNetwork = "aptos"
1818

1919
type AptosOverrideDefaultCfg struct {
20-
CREForwarderAddress string `json:"creForwarderAddress,omitempty" yaml:"creForwarderAddress,omitempty"`
21-
Network string `json:"network,omitempty" yaml:"network,omitempty"`
22-
ChainID string `json:"chainId,omitempty" yaml:"chainId,omitempty"`
23-
ObservationPollerWorkersCount uint `json:"observationPollerWorkersCount,omitempty" yaml:"observationPollerWorkersCount,omitempty"`
24-
ObservationPollPeriod time.Duration `json:"observationPollPeriod,omitempty" yaml:"observationPollPeriod,omitempty"`
25-
ChainHeightPollPeriod time.Duration `json:"chainHeightPollPeriod,omitempty" yaml:"chainHeightPollPeriod,omitempty"`
26-
UnknownRequestsTTL time.Duration `json:"unknownRequestsTTL,omitempty" yaml:"unknownRequestsTTL,omitempty"`
27-
DeltaStage time.Duration `json:"deltaStage" yaml:"deltaStage,omitempty"`
28-
TxSearchStartingBuffer time.Duration `json:"txSearchStartingBuffer" yaml:"txSearchStartingBuffer,omitempty"`
20+
CREForwarderAddress string `json:"creForwarderAddress,omitempty" yaml:"creForwarderAddress,omitempty"`
21+
Network string `json:"network,omitempty" yaml:"network,omitempty"`
22+
ChainID string `json:"chainId,omitempty" yaml:"chainId,omitempty"`
23+
ObservationPollerWorkersCount uint `json:"observationPollerWorkersCount,omitempty" yaml:"observationPollerWorkersCount,omitempty"`
24+
ObservationPollPeriod time.Duration `json:"observationPollPeriod,omitempty" yaml:"observationPollPeriod,omitempty"`
25+
ChainHeightPollPeriod time.Duration `json:"chainHeightPollPeriod,omitempty" yaml:"chainHeightPollPeriod,omitempty"`
26+
UnknownRequestsTTL time.Duration `json:"unknownRequestsTTL,omitempty" yaml:"unknownRequestsTTL,omitempty"`
27+
DeltaStage time.Duration `json:"deltaStage" yaml:"deltaStage,omitempty"`
28+
TxSearchStartingBuffer time.Duration `json:"txSearchStartingBuffer" yaml:"txSearchStartingBuffer,omitempty"`
29+
P2PToTransmitterMap map[string]string `json:"p2pToTransmitterMap,omitempty" yaml:"p2pToTransmitterMap,omitempty"`
2930
}
3031

3132
type AptosCapabilityInput struct {
@@ -47,6 +48,7 @@ type ProposeAptosCapJobSpecInput struct {
4748
DeltaStage time.Duration `json:"deltaStage" yaml:"deltaStage,omitempty"`
4849
TxSearchStartingBuffer time.Duration `json:"txSearchStartingBuffer" yaml:"txSearchStartingBuffer,omitempty"`
4950
CREForwarderAddress string `json:"creForwarderAddress" yaml:"creForwarderAddress,omitempty"`
51+
P2PToTransmitterMap map[string]string `json:"p2pToTransmitterMap,omitempty" yaml:"p2pToTransmitterMap,omitempty"`
5052
AptosCapabilityInputs []AptosCapabilityInput `json:"aptosCapabilityInputs" yaml:"aptosCapabilityInputs"`
5153
}
5254

@@ -153,6 +155,7 @@ func (u ProposeAptosCapJobSpec) Apply(e cldf.Environment, input ProposeAptosCapJ
153155
cfg.ChainID = chainIDStr
154156
cfg.Network = aptosNetwork
155157
cfg.CREForwarderAddress = input.CREForwarderAddress // PLEX-2797
158+
cfg.P2PToTransmitterMap = input.P2PToTransmitterMap
156159
cfg.DeltaStage = input.DeltaStage
157160
cfg.TxSearchStartingBuffer = input.TxSearchStartingBuffer
158161
enc, err := json.Marshal(cfg)

deployment/cre/jobs/propose_aptos_cap_test.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,23 @@ func TestProposeAptosCapJobSpec_Apply_success(t *testing.T) {
281281
assert.Len(t, out.Reports, 1)
282282
}
283283

284+
func TestProposeAptosCapJobSpec_Apply_withP2PToTransmitterMap(t *testing.T) {
285+
setup := setupAptosCapTest(t)
286+
env := setup.env
287+
288+
input := setup.baseInput
289+
input.P2PToTransmitterMap = map[string]string{
290+
"aabbccdd": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
291+
"11223344": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcd",
292+
}
293+
294+
require.NoError(t, jobs.ProposeAptosCapJobSpec{}.VerifyPreconditions(*env, input))
295+
296+
out, err := jobs.ProposeAptosCapJobSpec{}.Apply(*env, input)
297+
require.NoError(t, err)
298+
assert.Len(t, out.Reports, 1)
299+
}
300+
284301
func TestProposeAptosCapJobSpec_Apply_duplicateNodeIDs(t *testing.T) {
285302
setup := setupAptosCapTest(t)
286303
env := setup.env

deployment/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ require (
4545
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20260415165642-49f23e4d76cc
4646
github.com/smartcontractkit/chainlink-common v0.11.2-0.20260413215716-a931c3f2f162
4747
github.com/smartcontractkit/chainlink-common/keystore v1.0.2
48-
github.com/smartcontractkit/chainlink-deployments-framework v0.94.1
48+
github.com/smartcontractkit/chainlink-deployments-framework v0.95.0
4949
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20260416173445-80f6efde0a03
5050
github.com/smartcontractkit/chainlink-evm/contracts/cre/gobindings v0.0.0-20260403151002-2c91155b5501
5151
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20260119171452-39c98c3b33cd

deployment/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ require (
119119
github.com/smartcontractkit/tdh2/go/tdh2 v0.0.0-20251120172354-e8ec0386b06c
120120
github.com/smartcontractkit/wsrpc v0.8.5-0.20250502134807-c57d3d995945
121121
github.com/spf13/cast v1.10.0
122-
github.com/spf13/cobra v1.10.1
122+
github.com/spf13/cobra v1.10.2
123123
github.com/stretchr/testify v1.11.1
124124
github.com/theodesp/go-heaps v0.0.0-20190520121037-88e35354fe0a
125125
github.com/tidwall/gjson v1.18.0
@@ -259,7 +259,7 @@ require (
259259
github.com/go-playground/universal-translator v0.18.1 // indirect
260260
github.com/go-playground/validator/v10 v10.30.1 // indirect
261261
github.com/go-webauthn/x v0.1.5 // indirect
262-
github.com/goccy/go-yaml v1.12.0 // indirect
262+
github.com/goccy/go-yaml v1.19.2 // indirect
263263
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
264264
github.com/gofrs/flock v0.12.1 // indirect
265265
github.com/gogo/protobuf v1.3.2 // indirect

0 commit comments

Comments
 (0)