diff --git a/core/cmd/shell_local_test.go b/core/cmd/shell_local_test.go index 6d7cd256685..21acc4372f0 100644 --- a/core/cmd/shell_local_test.go +++ b/core/cmd/shell_local_test.go @@ -506,6 +506,7 @@ func TestShell_RemoveBlocks(t *testing.T) { } func TestShell_BeforeNode(t *testing.T) { + testutils.SkipShortDB(t) tests := []struct { name string pwdfile string diff --git a/core/scripts/go.mod b/core/scripts/go.mod index d087789d049..a9ea42ed5c7 100644 --- a/core/scripts/go.mod +++ b/core/scripts/go.mod @@ -47,7 +47,7 @@ require ( github.com/shopspring/decimal v1.4.0 github.com/smartcontractkit/chainlink-automation v0.8.1 github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251128020529-88d93b01d749 - github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 + github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 github.com/smartcontractkit/chainlink-data-streams v0.1.7-0.20251209111830-ccd12a5b2a19 github.com/smartcontractkit/chainlink-deployments-framework v0.70.0 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251210110629-10c56e8d2cec diff --git a/core/scripts/go.sum b/core/scripts/go.sum index cb7cb3916b8..6430a2e0a63 100644 --- a/core/scripts/go.sum +++ b/core/scripts/go.sum @@ -1634,8 +1634,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb09e5363e/go.mod h1:IaoLCQE1miX3iUlQNxOPcVrXrshcO/YsFpxnFuhG9DM= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599 h1:0IMjHpzI9mgvGGtmsr1NdRhoXp++gU805f/f9oN94ls= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599/go.mod h1:Ysd/qkofD0bepk29RS7Q4ZlVDd4yAHXucYsp5gAy6AE= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 h1:2LHrlWAStA2oRcDKrJ9lKOShC9an2Pkis2BwY8J7gDw= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 h1:b8aHhus/+bikhHlR5+Ll4Z0hsczJPA0hEj68/8+xyXs= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 h1:FJAFgXS9oqASnkS03RE1HQwYQQxrO4l46O5JSzxqLgg= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10/go.mod h1:oiDa54M0FwxevWwyAX773lwdWvFYYlYHHQV1LQ5HpWY= github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw= diff --git a/core/services/chainlink/application.go b/core/services/chainlink/application.go index fe9b4caeca7..220e6ad4650 100644 --- a/core/services/chainlink/application.go +++ b/core/services/chainlink/application.go @@ -18,6 +18,7 @@ import ( "github.com/google/uuid" "github.com/grafana/pyroscope-go" "github.com/jonboulle/clockwork" + "github.com/pelletier/go-toml/v2" "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" "go.opentelemetry.io/otel" @@ -50,11 +51,13 @@ import ( "github.com/smartcontractkit/chainlink-evm/pkg/logpoller" "github.com/smartcontractkit/chainlink-evm/pkg/txmgr" evmutils "github.com/smartcontractkit/chainlink-evm/pkg/utils" + "github.com/smartcontractkit/chainlink/v2/core/services/ccv/ccvcommitteeverifier" "github.com/smartcontractkit/chainlink/v2/core/services/ccv/ccvexecutor" "github.com/smartcontractkit/chainlink/v2/core/services/cresettings" "github.com/smartcontractkit/chainlink-common/pkg/services/orgresolver" + "github.com/smartcontractkit/chainlink/v2/core/bridges" "github.com/smartcontractkit/chainlink/v2/core/build" "github.com/smartcontractkit/chainlink/v2/core/capabilities" @@ -265,6 +268,12 @@ func NewApplication(ctx context.Context, opts ApplicationOpts) (Application, err if opts.DonTimeStore == nil { opts.DonTimeStore = dontime.NewStore(dontime.DefaultRequestTimeout) } + + creSettingsTOML, err := toml.Marshal(commoncresettings.Default) + if err != nil { + return nil, fmt.Errorf("failed to marshal cre settings TOML: %w", err) + } + globalLogger.Debugf("# CRESettings defaults: \n%s", creSettingsTOML) atomicSettings := loop.NewAtomicSettings(commoncresettings.DefaultGetter) limitsFactory := limits.Factory{ Meter: beholder.GetMeter(), diff --git a/core/services/workflows/v2/capability_executor.go b/core/services/workflows/v2/capability_executor.go index 20d52e86c8d..bce59cd1a79 100644 --- a/core/services/workflows/v2/capability_executor.go +++ b/core/services/workflows/v2/capability_executor.go @@ -12,11 +12,13 @@ import ( "github.com/smartcontractkit/chainlink-common/pkg/capabilities" caperrors "github.com/smartcontractkit/chainlink-common/pkg/capabilities/errors" + "github.com/smartcontractkit/chainlink-common/pkg/contexts" "github.com/smartcontractkit/chainlink-common/pkg/settings/limits" "github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/host" sdkpb "github.com/smartcontractkit/chainlink-protos/cre/go/sdk" "github.com/smartcontractkit/chainlink-protos/cre/go/values" protoevents "github.com/smartcontractkit/chainlink-protos/workflows/go/events" + "github.com/smartcontractkit/chainlink/v2/core/platform" "github.com/smartcontractkit/chainlink/v2/core/services/workflows/events" "github.com/smartcontractkit/chainlink/v2/core/services/workflows/metering" @@ -32,12 +34,14 @@ type ExecutionHelper struct { TimeProvider SecretsFetcher + chainAllowed limits.GateLimiter callLimiters map[capCall]limits.BoundLimiter[int] mu sync.Mutex callCounts map[limits.Limiter[int]]int } func (c *ExecutionHelper) initLimiters(limiters *EngineLimiters) { + c.chainAllowed = limiters.ChainAllowed c.callLimiters = map[capCall]limits.BoundLimiter[int]{ {"consensus", "Simple"}: limiters.ConsensusCalls, {"consensus", "Report"}: limiters.ConsensusCalls, @@ -54,7 +58,19 @@ type capCall struct { // CallCapability handles requests generated by the wasm guest func (c *ExecutionHelper) CallCapability(ctx context.Context, request *sdkpb.CapabilityRequest) (*sdkpb.CapabilityResponse, error) { - capName, _, _ := capabilities.ParseID(request.Id) + capName, labels, _ := capabilities.ParseID(request.Id) + if chainSelector, err := capabilities.ChainSelectorLabel(labels); err != nil { + return nil, err + } else if chainSelector != nil { + err2 := c.chainAllowed.AllowErr(contexts.WithChainSelector(ctx, *chainSelector)) + if err2 != nil { + if errors.Is(err2, limits.ErrorNotAllowed{}) { + return nil, fmt.Errorf("unable to call capability %s: ChainSelector %d: %w", request.Id, *chainSelector, err2) + } + return nil, fmt.Errorf("failed to check access for ChainSelector %d: %w", *chainSelector, err2) + } + } + limiter, ok := c.callLimiters[capCall{name: capName, method: request.Method}] if ok { c.mu.Lock() @@ -69,11 +85,13 @@ func (c *ExecutionHelper) CallCapability(ctx context.Context, request *sdkpb.Cap c.callCounts[limiter] = cnt c.mu.Unlock() } + free, err := c.capCallsSemaphore.Wait(ctx, 1) if err != nil { return nil, err } defer free() + return c.callCapability(ctx, request) } diff --git a/core/services/workflows/v2/config.go b/core/services/workflows/v2/config.go index 079f6e031c8..afbcd075b56 100644 --- a/core/services/workflows/v2/config.go +++ b/core/services/workflows/v2/config.go @@ -85,6 +85,7 @@ type EngineLimiters struct { CapabilityCallTime limits.TimeLimiter LogEvent limits.BoundLimiter[int] LogLine limits.BoundLimiter[config.Size] + ChainAllowed limits.GateLimiter ChainWriteTargets limits.BoundLimiter[int] ChainReadCalls limits.BoundLimiter[int] @@ -168,6 +169,10 @@ func (l *EngineLimiters) init(lf limits.Factory, cfgFn func(*cresettings.Workflo if err != nil { return } + l.ChainAllowed, err = limits.MakeGateLimiter(lf, cfg.ChainAllowed) + if err != nil { + return + } l.ChainWriteTargets, err = limits.MakeBoundLimiter(lf, cfg.ChainWrite.TargetsLimit) if err != nil { return @@ -202,6 +207,7 @@ func (l *EngineLimiters) Close() error { l.CapabilityCallTime, l.LogEvent, l.LogLine, + l.ChainAllowed, l.ChainWriteTargets, l.ChainReadCalls, l.ConsensusCalls, diff --git a/core/services/workflows/v2/engine.go b/core/services/workflows/v2/engine.go index be8a5d1276b..672009421f7 100644 --- a/core/services/workflows/v2/engine.go +++ b/core/services/workflows/v2/engine.go @@ -351,6 +351,20 @@ func (e *Engine) runTriggerSubscriptionPhase(ctx context.Context) error { // check if all requested triggers exist in the registry triggers := make([]capabilities.TriggerCapability, 0, len(subs.Subscriptions)) for _, sub := range subs.Subscriptions { + _, labels, _ := capabilities.ParseID(sub.Id) + chainSelector, err2 := capabilities.ChainSelectorLabel(labels) + if err2 != nil { + return fmt.Errorf("invalid chain selector for ID %s: %w", sub.Id, err2) + } + if chainSelector != nil { + err2 := e.cfg.LocalLimiters.ChainAllowed.AllowErr(contexts.WithChainSelector(ctx, *chainSelector)) + if err2 != nil { + if errors.Is(err2, limits.ErrorNotAllowed{}) { + return fmt.Errorf("unable to subscribe to capability %s: ChainSelector %d: %w", sub.Id, *chainSelector, err2) + } + return fmt.Errorf("failed to check access for ChainSelector %d: %w", *chainSelector, err2) + } + } triggerCap, triggerErr := e.cfg.CapRegistry.GetTrigger(ctx, sub.Id) if triggerErr != nil { return fmt.Errorf("trigger capability not found: %w", triggerErr) diff --git a/deployment/go.mod b/deployment/go.mod index 2d5005c5d0a..564e7e68b54 100644 --- a/deployment/go.mod +++ b/deployment/go.mod @@ -42,7 +42,7 @@ require ( github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251128020529-88d93b01d749 github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 - github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 + github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 github.com/smartcontractkit/chainlink-deployments-framework v0.70.0 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251210110629-10c56e8d2cec github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022075638-49d961001d1b diff --git a/deployment/go.sum b/deployment/go.sum index f732732f76a..a1c9b1fdcad 100644 --- a/deployment/go.sum +++ b/deployment/go.sum @@ -1358,8 +1358,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb09e5363e/go.mod h1:IaoLCQE1miX3iUlQNxOPcVrXrshcO/YsFpxnFuhG9DM= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599 h1:0IMjHpzI9mgvGGtmsr1NdRhoXp++gU805f/f9oN94ls= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599/go.mod h1:Ysd/qkofD0bepk29RS7Q4ZlVDd4yAHXucYsp5gAy6AE= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 h1:2LHrlWAStA2oRcDKrJ9lKOShC9an2Pkis2BwY8J7gDw= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 h1:b8aHhus/+bikhHlR5+Ll4Z0hsczJPA0hEj68/8+xyXs= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 h1:FJAFgXS9oqASnkS03RE1HQwYQQxrO4l46O5JSzxqLgg= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10/go.mod h1:oiDa54M0FwxevWwyAX773lwdWvFYYlYHHQV1LQ5HpWY= github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw= diff --git a/go.mod b/go.mod index f77a004be4d..f38a2980c27 100644 --- a/go.mod +++ b/go.mod @@ -85,7 +85,7 @@ require ( github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599 - github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 + github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 github.com/smartcontractkit/chainlink-data-streams v0.1.7-0.20251209111830-ccd12a5b2a19 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251210110629-10c56e8d2cec diff --git a/go.sum b/go.sum index 036ce6fd3de..042782b34ce 100644 --- a/go.sum +++ b/go.sum @@ -1164,8 +1164,8 @@ github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:xtZNi6pOKdC3sLvokDvXOhgHzT+cyBqH/gWwvxTxqrg= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599 h1:0IMjHpzI9mgvGGtmsr1NdRhoXp++gU805f/f9oN94ls= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599/go.mod h1:Ysd/qkofD0bepk29RS7Q4ZlVDd4yAHXucYsp5gAy6AE= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 h1:2LHrlWAStA2oRcDKrJ9lKOShC9an2Pkis2BwY8J7gDw= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 h1:b8aHhus/+bikhHlR5+Ll4Z0hsczJPA0hEj68/8+xyXs= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 h1:FJAFgXS9oqASnkS03RE1HQwYQQxrO4l46O5JSzxqLgg= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10/go.mod h1:oiDa54M0FwxevWwyAX773lwdWvFYYlYHHQV1LQ5HpWY= github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw= diff --git a/integration-tests/go.mod b/integration-tests/go.mod index 419e2f660bc..c9a9a01932c 100644 --- a/integration-tests/go.mod +++ b/integration-tests/go.mod @@ -51,7 +51,7 @@ require ( github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251128020529-88d93b01d749 github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 - github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 + github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 github.com/smartcontractkit/chainlink-deployments-framework v0.70.0 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251210110629-10c56e8d2cec github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022075638-49d961001d1b diff --git a/integration-tests/go.sum b/integration-tests/go.sum index 558bbd73cfa..7ce4fdb5c27 100644 --- a/integration-tests/go.sum +++ b/integration-tests/go.sum @@ -1601,8 +1601,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb09e5363e/go.mod h1:IaoLCQE1miX3iUlQNxOPcVrXrshcO/YsFpxnFuhG9DM= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599 h1:0IMjHpzI9mgvGGtmsr1NdRhoXp++gU805f/f9oN94ls= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599/go.mod h1:Ysd/qkofD0bepk29RS7Q4ZlVDd4yAHXucYsp5gAy6AE= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 h1:2LHrlWAStA2oRcDKrJ9lKOShC9an2Pkis2BwY8J7gDw= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 h1:b8aHhus/+bikhHlR5+Ll4Z0hsczJPA0hEj68/8+xyXs= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 h1:FJAFgXS9oqASnkS03RE1HQwYQQxrO4l46O5JSzxqLgg= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10/go.mod h1:oiDa54M0FwxevWwyAX773lwdWvFYYlYHHQV1LQ5HpWY= github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw= diff --git a/integration-tests/load/go.mod b/integration-tests/load/go.mod index 1add2d6adbe..50b1cc68d6e 100644 --- a/integration-tests/load/go.mod +++ b/integration-tests/load/go.mod @@ -32,7 +32,7 @@ require ( github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251128020529-88d93b01d749 github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 - github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 + github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 github.com/smartcontractkit/chainlink-deployments-framework v0.70.0 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251210110629-10c56e8d2cec github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022075638-49d961001d1b diff --git a/integration-tests/load/go.sum b/integration-tests/load/go.sum index 6f3c5aa9a59..15dd050f49b 100644 --- a/integration-tests/load/go.sum +++ b/integration-tests/load/go.sum @@ -1580,8 +1580,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb09e5363e/go.mod h1:IaoLCQE1miX3iUlQNxOPcVrXrshcO/YsFpxnFuhG9DM= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599 h1:0IMjHpzI9mgvGGtmsr1NdRhoXp++gU805f/f9oN94ls= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599/go.mod h1:Ysd/qkofD0bepk29RS7Q4ZlVDd4yAHXucYsp5gAy6AE= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 h1:2LHrlWAStA2oRcDKrJ9lKOShC9an2Pkis2BwY8J7gDw= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 h1:b8aHhus/+bikhHlR5+Ll4Z0hsczJPA0hEj68/8+xyXs= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 h1:FJAFgXS9oqASnkS03RE1HQwYQQxrO4l46O5JSzxqLgg= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10/go.mod h1:oiDa54M0FwxevWwyAX773lwdWvFYYlYHHQV1LQ5HpWY= github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw= diff --git a/system-tests/lib/go.mod b/system-tests/lib/go.mod index 3673d5421b3..6d8cc772397 100644 --- a/system-tests/lib/go.mod +++ b/system-tests/lib/go.mod @@ -33,7 +33,7 @@ require ( github.com/sethvargo/go-retry v0.3.0 github.com/smartcontractkit/chain-selectors v1.0.85 github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5 - github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 + github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 github.com/smartcontractkit/chainlink-deployments-framework v0.70.0 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251210110629-10c56e8d2cec github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022075638-49d961001d1b diff --git a/system-tests/lib/go.sum b/system-tests/lib/go.sum index c0182b2210a..31f13b851df 100644 --- a/system-tests/lib/go.sum +++ b/system-tests/lib/go.sum @@ -1602,8 +1602,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb09e5363e/go.mod h1:IaoLCQE1miX3iUlQNxOPcVrXrshcO/YsFpxnFuhG9DM= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599 h1:0IMjHpzI9mgvGGtmsr1NdRhoXp++gU805f/f9oN94ls= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599/go.mod h1:Ysd/qkofD0bepk29RS7Q4ZlVDd4yAHXucYsp5gAy6AE= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 h1:2LHrlWAStA2oRcDKrJ9lKOShC9an2Pkis2BwY8J7gDw= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 h1:b8aHhus/+bikhHlR5+Ll4Z0hsczJPA0hEj68/8+xyXs= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 h1:FJAFgXS9oqASnkS03RE1HQwYQQxrO4l46O5JSzxqLgg= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10/go.mod h1:oiDa54M0FwxevWwyAX773lwdWvFYYlYHHQV1LQ5HpWY= github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw= diff --git a/system-tests/tests/go.mod b/system-tests/tests/go.mod index c3906e950fd..781497d7617 100644 --- a/system-tests/tests/go.mod +++ b/system-tests/tests/go.mod @@ -46,7 +46,7 @@ require ( github.com/rs/zerolog v1.34.0 github.com/shopspring/decimal v1.4.0 github.com/smartcontractkit/chain-selectors v1.0.85 - github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 + github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 github.com/smartcontractkit/chainlink-data-streams v0.1.7-0.20251209111830-ccd12a5b2a19 github.com/smartcontractkit/chainlink-deployments-framework v0.70.0 github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022075638-49d961001d1b diff --git a/system-tests/tests/go.sum b/system-tests/tests/go.sum index a29dcd0f7f5..7c2c73a42cf 100644 --- a/system-tests/tests/go.sum +++ b/system-tests/tests/go.sum @@ -1799,8 +1799,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20251027185542-babb09e5363e/go.mod h1:IaoLCQE1miX3iUlQNxOPcVrXrshcO/YsFpxnFuhG9DM= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599 h1:0IMjHpzI9mgvGGtmsr1NdRhoXp++gU805f/f9oN94ls= github.com/smartcontractkit/chainlink-ccv v0.0.0-20251210114515-e8434089d599/go.mod h1:Ysd/qkofD0bepk29RS7Q4ZlVDd4yAHXucYsp5gAy6AE= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4 h1:2LHrlWAStA2oRcDKrJ9lKOShC9an2Pkis2BwY8J7gDw= -github.com/smartcontractkit/chainlink-common v0.9.6-0.20251125103916-0b41e73b80c4/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8 h1:b8aHhus/+bikhHlR5+Ll4Z0hsczJPA0hEj68/8+xyXs= +github.com/smartcontractkit/chainlink-common v0.9.6-0.20251210225051-4659b78ac2a8/go.mod h1:uRnGLHKo56QYaPk93z0NRAIgv115lh72rzG40CiE1Mk= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 h1:FJAFgXS9oqASnkS03RE1HQwYQQxrO4l46O5JSzxqLgg= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10/go.mod h1:oiDa54M0FwxevWwyAX773lwdWvFYYlYHHQV1LQ5HpWY= github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw= diff --git a/tools/bin/go_core_tests b/tools/bin/go_core_tests index 3eaaaa2309e..5a2968f9a43 100755 --- a/tools/bin/go_core_tests +++ b/tools/bin/go_core_tests @@ -14,6 +14,8 @@ export PATH echo "Running go_core_tests for event: $GITHUB_EVENT_NAME" GO_TEST_FLAGS="-timeout=${GO_TEST_TIMEOUT}" +# Temporary reduction in concurrent packages to reduce RAM usage +GO_TEST_FLAGS="$GO_TEST_FLAGS -p=4" if [[ "$GITHUB_EVENT_NAME" == 'push' ]]; then GO_TEST_FLAGS="$GO_TEST_FLAGS -count=1" elif [[ "$GITHUB_EVENT_NAME" == 'schedule' ]]; then