diff --git a/core/scripts/go.mod b/core/scripts/go.mod index 5ed80ec78db..1e9db36a8b6 100644 --- a/core/scripts/go.mod +++ b/core/scripts/go.mod @@ -29,7 +29,7 @@ require ( github.com/shopspring/decimal v1.4.0 github.com/smartcontractkit/chain-selectors v1.0.112 github.com/smartcontractkit/chainlink-ccip/chains/evm v0.0.0-20261001213322-a2d686f610ca - github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 + github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb github.com/smartcontractkit/chainlink-deployments-framework v0.126.0 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20261112211734-e640e1c12078 diff --git a/core/scripts/go.sum b/core/scripts/go.sum index 8a70d389521..ce7c164f894 100644 --- a/core/scripts/go.sum +++ b/core/scripts/go.sum @@ -1686,8 +1686,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d6 github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d686f610ca/go.mod h1:Dm/Abz0vr7F2v9TygUX947q8HIwJEJikDfSdanX1Cic= github.com/smartcontractkit/chainlink-ccv v0.16.0 h1:WhDQEEI2Kb5A4C0PNAa+nyGLDvG0H+uT6h4y1NwmkYg= github.com/smartcontractkit/chainlink-ccv v0.16.0/go.mod h1:oaSLVHiJVbJ9aCcUQnoRuVONACWzA/DWVqvUnLAe9bE= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 h1:GdBrQxbG6woXNOOGzu8HhQb/2QAdukxBte+aVpFvN+o= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a h1:bxFoItJ4awNUSwNZg0ixquqFe9/4HufJWcmc+MuBR0Q= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb h1:9rVrSeVOAwZsVe2pOpeVRp9XjhtMyjndgeROFglvOhg= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb/go.mod h1:WcOKzF6HkTDrkQ96aBHhcJ2IIYE7iK7M2tdt58ea2qc= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 h1:rs2zmGoDw4AHaJ2Y76J46slPPE3iL801sWPgOTCyDZc= diff --git a/core/services/workflows/syncer/v2/allowlist_page_size_test.go b/core/services/workflows/syncer/v2/allowlist_page_size_test.go new file mode 100644 index 00000000000..107b085addf --- /dev/null +++ b/core/services/workflows/syncer/v2/allowlist_page_size_test.go @@ -0,0 +1,108 @@ +package v2 + +import ( + "context" + "errors" + "math/big" + "reflect" + "strings" + "testing" + + "github.com/ethereum/go-ethereum/common" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + + commontypes "github.com/smartcontractkit/chainlink-common/pkg/types" + "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" + "github.com/smartcontractkit/chainlink-evm/gethwrappers/workflow/generated/workflow_registry_wrapper_v2" + "github.com/smartcontractkit/chainlink/v2/core/logger" +) + +// gasCappedAllowlistReader serves totalAllowlistedRequests and getActiveAllowlistedRequestsReverse +// over reqs, failing any page larger than maxPage with a gas-cap error like a capped RPC node. +type gasCappedAllowlistReader struct { + commontypes.ContractReader + reqs []workflow_registry_wrapper_v2.WorkflowRegistryOwnerAllowlistedRequest + maxPage int64 + pageSize []int64 // size of every getActiveAllowlistedRequestsReverse call, in order +} + +func (m *gasCappedAllowlistReader) GetLatestValueWithHeadData( + _ context.Context, + readIdentifier string, + _ primitives.ConfidenceLevel, + params any, + result any, +) (*commontypes.Head, error) { + head := &commontypes.Head{Height: "1"} + if strings.HasSuffix(readIdentifier, TotalAllowlistedRequestsMethodName) { + reflect.ValueOf(result).Elem().Set(reflect.ValueOf(big.NewInt(int64(len(m.reqs))))) + return head, nil + } + + p := params.(GetActiveAllowlistedRequestsReverseParams) + size := p.EndIndex.Int64() - p.StartIndex.Int64() + 1 + m.pageSize = append(m.pageSize, size) + if size > m.maxPage { + return nil, errors.New("out of gas: gas required exceeds 16777216") + } + + var page []workflow_registry_wrapper_v2.WorkflowRegistryOwnerAllowlistedRequest + for i := p.EndIndex.Int64(); i >= p.StartIndex.Int64(); i-- { + page = append(page, m.reqs[i]) + } + out := reflect.ValueOf(result).Elem() + out.FieldByName("AllowlistedRequests").Set(reflect.ValueOf(page)) + out.FieldByName("SearchComplete").SetBool(p.StartIndex.Sign() == 0) + return head, nil +} + +func TestGetAllowlistedRequests_AdaptivePageSize(t *testing.T) { + t.Parallel() + + reqs := make([]workflow_registry_wrapper_v2.WorkflowRegistryOwnerAllowlistedRequest, 0, 700) + for i := range 700 { + reqs = append(reqs, workflow_registry_wrapper_v2.WorkflowRegistryOwnerAllowlistedRequest{ + RequestDigest: [32]byte{byte(i), byte(i >> 8)}, + Owner: common.Address{1}, + ExpiryTimestamp: 1, + }) + } + reader := &gasCappedAllowlistReader{reqs: reqs, maxPage: 100} + w := &workflowRegistry{ + lggr: logger.TestLogger(t), + lastSeenAllowlistedRequestsCount: big.NewInt(0), + } + + got, total, _, err := w.getAllowlistedRequests(t.Context(), reader) + require.NoError(t, err) + assert.Equal(t, int64(700), total.Int64()) + + // Default 300 fails, 150 fails, then 75 succeeds; every request is returned exactly once. + assert.Equal(t, []int64{300, 150, 75}, reader.pageSize[:3]) + require.Len(t, got, 700) + seen := map[[32]byte]bool{} + for _, r := range got { + assert.False(t, seen[r.RequestDigest], "duplicate request") + seen[r.RequestDigest] = true + } +} + +func TestGetAllowlistedRequests_GasErrorAtMinPageSize(t *testing.T) { + t.Parallel() + + reader := &gasCappedAllowlistReader{ + reqs: make([]workflow_registry_wrapper_v2.WorkflowRegistryOwnerAllowlistedRequest, 700), + maxPage: 0, // every page exceeds the "gas cap" + } + w := &workflowRegistry{ + lggr: logger.TestLogger(t), + lastSeenAllowlistedRequestsCount: big.NewInt(0), + } + + // It shrinks to the floor and then returns the error instead of looping forever. + _, _, _, err := w.getAllowlistedRequests(t.Context(), reader) + require.Error(t, err) + assert.Contains(t, err.Error(), "out of gas") + assert.Equal(t, []int64{300, 150, 75, 37, 18, 10}, reader.pageSize) +} diff --git a/core/services/workflows/syncer/v2/contract_workflow_source.go b/core/services/workflows/syncer/v2/contract_workflow_source.go index 8d8317f6474..dd3bbedc8fc 100644 --- a/core/services/workflows/syncer/v2/contract_workflow_source.go +++ b/core/services/workflows/syncer/v2/contract_workflow_source.go @@ -11,6 +11,7 @@ import ( "github.com/smartcontractkit/chainlink-common/pkg/capabilities" "github.com/smartcontractkit/chainlink-common/pkg/logger" + "github.com/smartcontractkit/chainlink-common/pkg/settings" commontypes "github.com/smartcontractkit/chainlink-common/pkg/types" "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" "github.com/smartcontractkit/chainlink-evm/gethwrappers/workflow/generated/workflow_registry_wrapper_v2" @@ -32,6 +33,10 @@ type ContractWorkflowSource struct { contractReaderFn versioning.ContractReaderFactory contractReader commontypes.ContractReader mu sync.RWMutex + + // pageSizer picks the getWorkflowListByDON page size (a cresettings limit) and shrinks it + // when the RPC node rejects a page for exceeding its eth_call gas cap. + pageSizer registryPageSizer } // NewContractWorkflowSource creates a new contract-based workflow source. @@ -50,6 +55,12 @@ func NewContractWorkflowSource( } } +// SetSettingsGetter sets the getter used to read the WorkflowRegistryMaxResultsPerQuery limit. +// Without one, the cresettings default is used. +func (c *ContractWorkflowSource) SetSettingsGetter(g settings.Getter) { + c.pageSizer.setGetter(g) +} + // ListWorkflowMetadata fetches workflow metadata from the on-chain contract. // It lazily initializes the contract reader on first call. func (c *ContractWorkflowSource) ListWorkflowMetadata(ctx context.Context, don capabilities.DON) ([]WorkflowMetadataView, *commontypes.Head, error) { @@ -76,10 +87,12 @@ func (c *ContractWorkflowSource) ListWorkflowMetadata(ctx context.Context, don c params := GetWorkflowListByDONParams{ DonFamily: family, Start: big.NewInt(0), - Limit: big.NewInt(MaxResultsPerQuery), } for { + pageSize := c.pageSizer.current(ctx, c.lggr) + params.Limit = big.NewInt(pageSize) + var err error var workflows struct { List []workflow_registry_wrapper_v2.WorkflowRegistryWorkflowMetadataView @@ -87,6 +100,24 @@ func (c *ContractWorkflowSource) ListWorkflowMetadata(ctx context.Context, don c headAtLastRead, err = reader.GetLatestValueWithHeadData(ctx, readIdentifier, primitives.Finalized, params, &workflows) if err != nil { + if isGasError(err) { + // The page needs more gas than the RPC node's eth_call cap allows: halve it and + // retry the same page. Start is unchanged so no workflows are skipped. + if newSize, ok := c.pageSizer.shrink(pageSize); ok { + c.lggr.Warnw("getWorkflowListByDON exceeded RPC gas cap, reducing page size", + "donFamily", family, + "previousPageSize", pageSize, + "newPageSize", newSize, + "start", params.Start.String(), + "err", err) + continue + } + logger.Sugared(c.lggr).Criticalw("getWorkflowListByDON still exceeds RPC gas cap at minimum page size, cannot reduce further: workflow source is unavailable until the RPC gas cap is raised", + "donFamily", family, + "pageSize", pageSize, + "start", params.Start.String(), + "err", err) + } return []WorkflowMetadataView{}, &commontypes.Head{Height: "0"}, fmt.Errorf("failed to get latest value with head data: %w", err) } @@ -123,7 +154,7 @@ func (c *ContractWorkflowSource) ListWorkflowMetadata(ctx context.Context, don c } // if less workflows than limit, then we have reached the end of the list - if int64(len(workflows.List)) < MaxResultsPerQuery { + if int64(len(workflows.List)) < pageSize { break } diff --git a/core/services/workflows/syncer/v2/contract_workflow_source_test.go b/core/services/workflows/syncer/v2/contract_workflow_source_test.go index f0d1ebbde5d..037cd7af946 100644 --- a/core/services/workflows/syncer/v2/contract_workflow_source_test.go +++ b/core/services/workflows/syncer/v2/contract_workflow_source_test.go @@ -3,6 +3,7 @@ package v2 import ( "context" "errors" + "fmt" "reflect" "testing" @@ -11,6 +12,7 @@ import ( "github.com/stretchr/testify/require" "github.com/smartcontractkit/chainlink-common/pkg/capabilities" + "github.com/smartcontractkit/chainlink-common/pkg/settings" commontypes "github.com/smartcontractkit/chainlink-common/pkg/types" "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" "github.com/smartcontractkit/chainlink-common/pkg/workflows" @@ -388,3 +390,150 @@ func TestContractWorkflowSource_Name(t *testing.T) { assert.Equal(t, ContractWorkflowSourceName, source.Name()) } + +// pagedWorkflowContractReader serves workflowList honoring the Start/Limit params, and fails any +// call whose Limit exceeds maxLimit with a gas-cap error, like an RPC node with a low eth_call cap. +type pagedWorkflowContractReader struct { + commontypes.ContractReader + workflowList []workflow_registry_wrapper_v2.WorkflowRegistryWorkflowMetadataView + maxLimit int64 + err error + limits []int64 +} + +func (m *pagedWorkflowContractReader) GetLatestValueWithHeadData( + _ context.Context, + _ string, + _ primitives.ConfidenceLevel, + params any, + result any, +) (*commontypes.Head, error) { + p := params.(GetWorkflowListByDONParams) + m.limits = append(m.limits, p.Limit.Int64()) + if m.err != nil { + return nil, m.err + } + if p.Limit.Int64() > m.maxLimit { + return nil, errors.New("out of gas: gas required exceeds 16777216") + } + start := int(p.Start.Int64()) + end := min(start+int(p.Limit.Int64()), len(m.workflowList)) + var page []workflow_registry_wrapper_v2.WorkflowRegistryWorkflowMetadataView + if start < len(m.workflowList) { + page = m.workflowList[start:end] + } + reflect.ValueOf(result).Elem().FieldByName("List").Set(reflect.ValueOf(page)) + return &commontypes.Head{Height: "100"}, nil +} + +func newPagedTestSource(t *testing.T, reader commontypes.ContractReader) *ContractWorkflowSource { + source := NewContractWorkflowSource( + logger.TestLogger(t), + func(_ context.Context, _ []byte) (commontypes.ContractReader, error) { return reader, nil }, + testOwnerAddress, + "test-chain-selector", + ) + source.contractReader = reader + return source +} + +func TestContractWorkflowSource_ListWorkflowMetadata_AdaptivePageSize(t *testing.T) { + t.Parallel() + + list := make([]workflow_registry_wrapper_v2.WorkflowRegistryWorkflowMetadataView, 0, 700) + for i := range 700 { + list = append(list, createTestWorkflowMetadata(fmt.Sprintf("wf-%d", i), "family-a")) + } + reader := &pagedWorkflowContractReader{workflowList: list, maxLimit: 100} + source := newPagedTestSource(t, reader) + don := capabilities.DON{ID: 1, Families: []string{"family-a"}} + + wfs, _, err := source.ListWorkflowMetadata(t.Context(), don) + require.NoError(t, err) + assert.Len(t, wfs, 700, "no workflows may be skipped or duplicated after shrinking") + // default 300 fails, 150 fails, then 75 succeeds: 9 full pages and a partial one. + assert.Equal(t, []int64{300, 150, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75}, reader.limits) + + // The reduced size is remembered: the next tick doesn't re-try 300. + reader.limits = nil + _, _, err = source.ListWorkflowMetadata(t.Context(), don) + require.NoError(t, err) + assert.Equal(t, int64(75), reader.limits[0]) + assert.Len(t, reader.limits, 10) +} + +func TestContractWorkflowSource_ListWorkflowMetadata_GasErrorAtMinPageSize(t *testing.T) { + t.Parallel() + + reader := &pagedWorkflowContractReader{maxLimit: 0} + source := newPagedTestSource(t, reader) + don := capabilities.DON{ID: 1, Families: []string{"family-a"}} + + _, _, err := source.ListWorkflowMetadata(t.Context(), don) + require.Error(t, err) + assert.Contains(t, err.Error(), "out of gas") + assert.Equal(t, []int64{300, 150, 75, 37, 18, 10}, reader.limits) +} + +func TestContractWorkflowSource_ListWorkflowMetadata_NonGasErrorDoesNotShrink(t *testing.T) { + t.Parallel() + + reader := &pagedWorkflowContractReader{err: errors.New("connection refused")} + source := newPagedTestSource(t, reader) + don := capabilities.DON{ID: 1, Families: []string{"family-a"}} + + _, _, err := source.ListWorkflowMetadata(t.Context(), don) + require.Error(t, err) + assert.Equal(t, []int64{300}, reader.limits) +} + +func TestContractWorkflowSource_ListWorkflowMetadata_PageSizeFromSettings(t *testing.T) { + t.Parallel() + + getter, err := settings.NewJSONGetter([]byte(`{"global":{"WorkflowRegistryMaxResultsPerQuery":"50"}}`)) + require.NoError(t, err) + + list := make([]workflow_registry_wrapper_v2.WorkflowRegistryWorkflowMetadataView, 0, 120) + for i := range 120 { + list = append(list, createTestWorkflowMetadata(fmt.Sprintf("wf-%d", i), "family-a")) + } + reader := &pagedWorkflowContractReader{workflowList: list, maxLimit: 1000} + source := newPagedTestSource(t, reader) + source.SetSettingsGetter(getter) + don := capabilities.DON{ID: 1, Families: []string{"family-a"}} + + wfs, _, err := source.ListWorkflowMetadata(t.Context(), don) + require.NoError(t, err) + assert.Len(t, wfs, 120) + assert.Equal(t, []int64{50, 50, 50}, reader.limits) +} + +func TestRegistryPageSizer_ReductionResetsWhenConfiguredValueChanges(t *testing.T) { + t.Parallel() + lggr := logger.TestLogger(t) + + var p registryPageSizer + assert.Equal(t, int64(300), p.current(t.Context(), lggr)) + next, ok := p.shrink(300) + require.True(t, ok) + assert.Equal(t, int64(150), next) + assert.Equal(t, int64(150), p.current(t.Context(), lggr)) + + // An operator changing the configured limit discards the runtime reduction. + getter, err := settings.NewJSONGetter([]byte(`{"global":{"WorkflowRegistryMaxResultsPerQuery":"200"}}`)) + require.NoError(t, err) + p.setGetter(getter) + assert.Equal(t, int64(200), p.current(t.Context(), lggr)) + + _, ok = p.shrink(minRegistryPageSize) + assert.False(t, ok) +} + +func TestIsGasError(t *testing.T) { + t.Parallel() + assert.True(t, isGasError(errors.New("out of gas: gas required exceeds 16777216"))) + assert.True(t, isGasError(errors.New("execution reverted: Gas Required Exceeds Allowance (50000000)"))) + assert.True(t, isGasError(errors.New("eth_call gas cap exceeded"))) + assert.False(t, isGasError(errors.New("connection refused"))) + assert.False(t, isGasError(nil)) +} diff --git a/core/services/workflows/syncer/v2/page_size.go b/core/services/workflows/syncer/v2/page_size.go new file mode 100644 index 00000000000..e81d5c2650d --- /dev/null +++ b/core/services/workflows/syncer/v2/page_size.go @@ -0,0 +1,81 @@ +package v2 + +import ( + "context" + "strings" + "sync" + + "github.com/smartcontractkit/chainlink-common/pkg/logger" + "github.com/smartcontractkit/chainlink-common/pkg/settings" + "github.com/smartcontractkit/chainlink-common/pkg/settings/cresettings" +) + +// minRegistryPageSize is the smallest page size adaptive paging will shrink to. +const minRegistryPageSize = int64(10) + +// isGasError reports whether err looks like an eth_call failing because it needs more gas than the +// RPC node allows (e.g. "out of gas: gas required exceeds 16777216", geth's "gas required exceeds +// allowance"). Retrying the read with a smaller page can fix these. The match is intentionally +// broad: any error mentioning "gas" is treated as a gas-limit failure, since RPC providers word +// them differently. A non-gas error that happens to mention gas only causes a few smaller retries +// before the call fails as it would have anyway. +func isGasError(err error) bool { + return err != nil && strings.Contains(strings.ToLower(err.Error()), "gas") +} + +// registryPageSizer decides the page size for paged WorkflowRegistry eth_calls. +// +// The page size comes from the cresettings limit WorkflowRegistryMaxResultsPerQuery, re-read on +// every call so operators can change it without a restart. On top of that it supports a runtime +// reduction: when the RPC node rejects a page for exceeding its gas cap, shrink halves the size and +// the lower value is kept so later ticks do not repeat the failing size. A reduction is dropped +// whenever the configured value changes, and the effective size never exceeds the configured one. +type registryPageSizer struct { + mu sync.Mutex + getter settings.Getter // nil falls back to the cresettings default + configured int64 // configured value that `reduced` was derived from + reduced int64 // 0 means no reduction +} + +func (p *registryPageSizer) setGetter(g settings.Getter) { + p.mu.Lock() + defer p.mu.Unlock() + p.getter = g +} + +// current returns the page size to use for the next call. +func (p *registryPageSizer) current(ctx context.Context, lggr logger.Logger) int64 { + p.mu.Lock() + defer p.mu.Unlock() + + setting := cresettings.Default.WorkflowRegistryMaxResultsPerQuery + v, err := setting.GetOrDefault(ctx, p.getter) + if err != nil { + lggr.Warnw("Failed to read WorkflowRegistryMaxResultsPerQuery, using default", "err", err) + } + if v < 1 { + v = setting.DefaultValue + } + configured := int64(v) + + if configured != p.configured { + p.configured, p.reduced = configured, 0 + } + if p.reduced > 0 && p.reduced < configured { + return p.reduced + } + return configured +} + +// shrink halves failed (the page size that just hit the gas cap) and remembers the result. +// It returns false if failed is already at the minimum, i.e. there is nothing left to try. +func (p *registryPageSizer) shrink(failed int64) (int64, bool) { + if failed <= minRegistryPageSize { + return failed, false + } + next := max(failed/2, minRegistryPageSize) + p.mu.Lock() + defer p.mu.Unlock() + p.reduced = next + return next, true +} diff --git a/core/services/workflows/syncer/v2/workflow_registry.go b/core/services/workflows/syncer/v2/workflow_registry.go index 70929e42260..79f04c1cd2c 100644 --- a/core/services/workflows/syncer/v2/workflow_registry.go +++ b/core/services/workflows/syncer/v2/workflow_registry.go @@ -51,10 +51,6 @@ var ( TotalAllowlistedRequestsMethodName = "totalAllowlistedRequests" defaultTickIntervalForAllowlistedRequests = 5 * time.Second - - // MaxResultsPerQuery defines the maximum number of results that can be queried in a single request. - // The default value of 1,000 was chosen based on expected system performance and typical use cases. - MaxResultsPerQuery = int64(1_000) ) // WorkflowRegistrySyncer is the public interface of the package. @@ -132,6 +128,10 @@ type workflowRegistry struct { centralizedOwnerVerificationEnabled limits.GateLimiter settingsGetter settings.Getter + + // allowlistPageSizer picks the getActiveAllowlistedRequestsReverse page size (a cresettings + // limit) and shrinks it when the RPC node rejects a page for exceeding its eth_call gas cap. + allowlistPageSizer registryPageSizer } type shardRoutingSteadyObserver interface { @@ -382,6 +382,14 @@ func NewWorkflowRegistry( opt(wr) } + // Page sizes come from the cresettings limit; hand the getter to everything that pages reads. + wr.allowlistPageSizer.setGetter(wr.settingsGetter) + for _, src := range wr.workflowSources { + if cs, ok := src.(*ContractWorkflowSource); ok { + cs.SetSettingsGetter(wr.settingsGetter) + } + } + lggr.Infow("Initialized workflow registry with multi-source support", "sourceCount", len(wr.workflowSources), "hasContractSource", addr != "") @@ -1315,8 +1323,10 @@ func (w *workflowRegistry) getAllowlistedRequests(ctx context.Context, contractR err error } - // Start index should be no more than MaxResultsPerQuery away from end index - startIndex = new(big.Int).Sub(endIndex, big.NewInt(MaxResultsPerQuery-1)) + pageSize := w.allowlistPageSizer.current(ctx, w.lggr) + + // Start index should be no more than pageSize-1 away from end index + startIndex = new(big.Int).Sub(endIndex, big.NewInt(pageSize-1)) // If start index is less than last seen allowlisted requests count, set it to last seen allowlisted requests // count to avoid duplicate requests if startIndex.Cmp(w.lastSeenAllowlistedRequestsCount) < 0 { @@ -1335,6 +1345,22 @@ func (w *workflowRegistry) getAllowlistedRequests(ctx context.Context, contractR ctx, readIdentifier, primitives.Unconfirmed, params, &response, ) if err != nil { + if isGasError(err) { + // The page needs more gas than the RPC node's eth_call cap allows: halve it and retry + // the same range. endIndex is unchanged so no requests are skipped. + if newSize, ok := w.allowlistPageSizer.shrink(pageSize); ok { + w.lggr.Warnw("getActiveAllowlistedRequestsReverse exceeded RPC gas cap, reducing page size", + "previousPageSize", pageSize, + "newPageSize", newSize, + "endIndex", endIndex, + "err", err) + continue + } + logger.Sugared(w.lggr).Criticalw("getActiveAllowlistedRequestsReverse still exceeds RPC gas cap at minimum page size, cannot reduce further: allowlisted requests are not being synced until the RPC gas cap is raised", + "pageSize", pageSize, + "endIndex", endIndex, + "err", err) + } return []workflow_registry_wrapper_v2.WorkflowRegistryOwnerAllowlistedRequest{}, w.lastSeenAllowlistedRequestsCount, &types.Head{Height: "0"}, errors.New("failed to get latest value with head data. error: " + err.Error()) } @@ -1359,9 +1385,9 @@ func (w *workflowRegistry) getAllowlistedRequests(ctx context.Context, contractR break } - // If search is not complete, set the end index to the start index minus MaxResultsPerQuery + // If search is not complete, set the end index to the start index minus pageSize // to continue fetching the next batch of allowlisted requests - endIndex = endIndex.Sub(endIndex, big.NewInt(MaxResultsPerQuery)) + endIndex = endIndex.Sub(endIndex, big.NewInt(pageSize)) // Ensure endIndex doesn't go below zero if endIndex.Cmp(big.NewInt(0)) < 0 { endIndex = big.NewInt(0) diff --git a/core/services/workflows/syncer/v2/workflow_syncer_v2_test.go b/core/services/workflows/syncer/v2/workflow_syncer_v2_test.go index e8b0d41be16..8372391935e 100644 --- a/core/services/workflows/syncer/v2/workflow_syncer_v2_test.go +++ b/core/services/workflows/syncer/v2/workflow_syncer_v2_test.go @@ -28,6 +28,7 @@ import ( "github.com/smartcontractkit/chainlink-common/pkg/custmsg" jsonrpc "github.com/smartcontractkit/chainlink-common/pkg/jsonrpc2" "github.com/smartcontractkit/chainlink-common/pkg/services/servicetest" + "github.com/smartcontractkit/chainlink-common/pkg/settings/cresettings" "github.com/smartcontractkit/chainlink-common/pkg/settings/limits" "github.com/smartcontractkit/chainlink-common/pkg/types" "github.com/smartcontractkit/chainlink-common/pkg/utils/tests" @@ -65,8 +66,8 @@ func Test_InitialStateSyncV2(t *testing.T) { updateAllowedDONsV2(t, backendTH, wfRegistryC, []string{donFamily}) updateAuthorizedAddressV2(t, backendTH, wfRegistryC, backendTH.ContractsOwner.From, donFamily) - // Add requests to ensure we go above the MaxResultsPerQuery - activeAllowlistedRequestsCount := int(MaxResultsPerQuery + 1) + // Add requests to ensure we go above the default WorkflowRegistryMaxResultsPerQuery page size + activeAllowlistedRequestsCount := cresettings.Default.WorkflowRegistryMaxResultsPerQuery.DefaultValue + 1 expiryTimestamp := time.Now().Add(24 * time.Hour) for i := range activeAllowlistedRequestsCount { createSecretsRequestParams, marshalErr := json.Marshal(vaultcommon.CreateSecretsRequest{ diff --git a/deployment/go.mod b/deployment/go.mod index 42911a365c4..c28cbf1130d 100644 --- a/deployment/go.mod +++ b/deployment/go.mod @@ -41,7 +41,7 @@ require ( github.com/smartcontractkit/chainlink-ccip/chains/solana/deployment v0.0.0-20260916222901-720a003dab50 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260922043016-517a12a4220e github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d686f610ca - github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 + github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb github.com/smartcontractkit/chainlink-data-streams v1.1.3 github.com/smartcontractkit/chainlink-deployments-framework v0.126.0 diff --git a/deployment/go.sum b/deployment/go.sum index d48e4ad81e6..d0fd6c6e77b 100644 --- a/deployment/go.sum +++ b/deployment/go.sum @@ -1411,8 +1411,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d6 github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d686f610ca/go.mod h1:Dm/Abz0vr7F2v9TygUX947q8HIwJEJikDfSdanX1Cic= github.com/smartcontractkit/chainlink-ccv v0.16.0 h1:WhDQEEI2Kb5A4C0PNAa+nyGLDvG0H+uT6h4y1NwmkYg= github.com/smartcontractkit/chainlink-ccv v0.16.0/go.mod h1:oaSLVHiJVbJ9aCcUQnoRuVONACWzA/DWVqvUnLAe9bE= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 h1:GdBrQxbG6woXNOOGzu8HhQb/2QAdukxBte+aVpFvN+o= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a h1:bxFoItJ4awNUSwNZg0ixquqFe9/4HufJWcmc+MuBR0Q= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb h1:9rVrSeVOAwZsVe2pOpeVRp9XjhtMyjndgeROFglvOhg= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb/go.mod h1:WcOKzF6HkTDrkQ96aBHhcJ2IIYE7iK7M2tdt58ea2qc= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 h1:rs2zmGoDw4AHaJ2Y76J46slPPE3iL801sWPgOTCyDZc= diff --git a/go.mod b/go.mod index 59abe76df89..b31feb4d1dc 100644 --- a/go.mod +++ b/go.mod @@ -82,7 +82,7 @@ require ( github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260908155618-50f521d70e62 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260908155618-50f521d70e62 github.com/smartcontractkit/chainlink-ccv v0.16.0 - github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 + github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 github.com/smartcontractkit/chainlink-data-streams v1.1.3 diff --git a/go.sum b/go.sum index b13d0f7a42e..c3e9b6e9d18 100644 --- a/go.sum +++ b/go.sum @@ -1102,8 +1102,8 @@ github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260908155618-50f521d70e62/go.mod h1:c++Ed0jeYn4w8WIfiAboRwN6ClRRVGglL0qwB/QjJvM= github.com/smartcontractkit/chainlink-ccv v0.16.0 h1:WhDQEEI2Kb5A4C0PNAa+nyGLDvG0H+uT6h4y1NwmkYg= github.com/smartcontractkit/chainlink-ccv v0.16.0/go.mod h1:oaSLVHiJVbJ9aCcUQnoRuVONACWzA/DWVqvUnLAe9bE= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 h1:GdBrQxbG6woXNOOGzu8HhQb/2QAdukxBte+aVpFvN+o= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a h1:bxFoItJ4awNUSwNZg0ixquqFe9/4HufJWcmc+MuBR0Q= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb h1:9rVrSeVOAwZsVe2pOpeVRp9XjhtMyjndgeROFglvOhg= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb/go.mod h1:WcOKzF6HkTDrkQ96aBHhcJ2IIYE7iK7M2tdt58ea2qc= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 h1:rs2zmGoDw4AHaJ2Y76J46slPPE3iL801sWPgOTCyDZc= diff --git a/integration-tests/go.mod b/integration-tests/go.mod index f928ccf9ee4..5d357053903 100644 --- a/integration-tests/go.mod +++ b/integration-tests/go.mod @@ -30,7 +30,7 @@ require ( github.com/smartcontractkit/chainlink-ccip/chains/evm v0.0.0-20261001213322-a2d686f610ca github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260922043016-517a12a4220e github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260922043016-517a12a4220e - github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 + github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb github.com/smartcontractkit/chainlink-deployments-framework v0.126.0 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20261112211734-e640e1c12078 diff --git a/integration-tests/go.sum b/integration-tests/go.sum index 07e09b74dc3..366a7838a41 100644 --- a/integration-tests/go.sum +++ b/integration-tests/go.sum @@ -1396,8 +1396,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d6 github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d686f610ca/go.mod h1:Dm/Abz0vr7F2v9TygUX947q8HIwJEJikDfSdanX1Cic= github.com/smartcontractkit/chainlink-ccv v0.16.0 h1:WhDQEEI2Kb5A4C0PNAa+nyGLDvG0H+uT6h4y1NwmkYg= github.com/smartcontractkit/chainlink-ccv v0.16.0/go.mod h1:oaSLVHiJVbJ9aCcUQnoRuVONACWzA/DWVqvUnLAe9bE= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 h1:GdBrQxbG6woXNOOGzu8HhQb/2QAdukxBte+aVpFvN+o= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a h1:bxFoItJ4awNUSwNZg0ixquqFe9/4HufJWcmc+MuBR0Q= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb h1:9rVrSeVOAwZsVe2pOpeVRp9XjhtMyjndgeROFglvOhg= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb/go.mod h1:WcOKzF6HkTDrkQ96aBHhcJ2IIYE7iK7M2tdt58ea2qc= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 h1:rs2zmGoDw4AHaJ2Y76J46slPPE3iL801sWPgOTCyDZc= diff --git a/integration-tests/load/go.mod b/integration-tests/load/go.mod index 9cae0b71bc3..de3ed190bfd 100644 --- a/integration-tests/load/go.mod +++ b/integration-tests/load/go.mod @@ -20,7 +20,7 @@ require ( github.com/smartcontractkit/chainlink-ccip/chains/evm v0.0.0-20261001213322-a2d686f610ca github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260922043016-517a12a4220e github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20260922043016-517a12a4220e - github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 + github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a github.com/smartcontractkit/chainlink-deployments-framework v0.126.0 github.com/smartcontractkit/chainlink-evm v0.3.4-0.20261112211734-e640e1c12078 github.com/smartcontractkit/chainlink-testing-framework/framework v0.16.9 diff --git a/integration-tests/load/go.sum b/integration-tests/load/go.sum index 980739ed47c..f79ffc096a3 100644 --- a/integration-tests/load/go.sum +++ b/integration-tests/load/go.sum @@ -1636,8 +1636,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d6 github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d686f610ca/go.mod h1:Dm/Abz0vr7F2v9TygUX947q8HIwJEJikDfSdanX1Cic= github.com/smartcontractkit/chainlink-ccv v0.16.0 h1:WhDQEEI2Kb5A4C0PNAa+nyGLDvG0H+uT6h4y1NwmkYg= github.com/smartcontractkit/chainlink-ccv v0.16.0/go.mod h1:oaSLVHiJVbJ9aCcUQnoRuVONACWzA/DWVqvUnLAe9bE= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 h1:GdBrQxbG6woXNOOGzu8HhQb/2QAdukxBte+aVpFvN+o= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a h1:bxFoItJ4awNUSwNZg0ixquqFe9/4HufJWcmc+MuBR0Q= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb h1:9rVrSeVOAwZsVe2pOpeVRp9XjhtMyjndgeROFglvOhg= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb/go.mod h1:WcOKzF6HkTDrkQ96aBHhcJ2IIYE7iK7M2tdt58ea2qc= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 h1:rs2zmGoDw4AHaJ2Y76J46slPPE3iL801sWPgOTCyDZc= diff --git a/system-tests/lib/go.mod b/system-tests/lib/go.mod index 6d873fb9646..0c8dd93d0a3 100644 --- a/system-tests/lib/go.mod +++ b/system-tests/lib/go.mod @@ -32,7 +32,7 @@ require ( github.com/smartcontractkit/chain-selectors v1.0.112 github.com/smartcontractkit/chainlink-aptos v0.0.0-20260923062809-ca886ade4d26 github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260922043016-517a12a4220e - github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 + github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb github.com/smartcontractkit/chainlink-confidential-compute v1.3.0 github.com/smartcontractkit/chainlink-deployments-framework v0.126.0 diff --git a/system-tests/lib/go.sum b/system-tests/lib/go.sum index 33b81788b76..bb616895542 100644 --- a/system-tests/lib/go.sum +++ b/system-tests/lib/go.sum @@ -1657,8 +1657,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d6 github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d686f610ca/go.mod h1:Dm/Abz0vr7F2v9TygUX947q8HIwJEJikDfSdanX1Cic= github.com/smartcontractkit/chainlink-ccv v0.16.0 h1:WhDQEEI2Kb5A4C0PNAa+nyGLDvG0H+uT6h4y1NwmkYg= github.com/smartcontractkit/chainlink-ccv v0.16.0/go.mod h1:oaSLVHiJVbJ9aCcUQnoRuVONACWzA/DWVqvUnLAe9bE= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 h1:GdBrQxbG6woXNOOGzu8HhQb/2QAdukxBte+aVpFvN+o= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a h1:bxFoItJ4awNUSwNZg0ixquqFe9/4HufJWcmc+MuBR0Q= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb h1:9rVrSeVOAwZsVe2pOpeVRp9XjhtMyjndgeROFglvOhg= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb/go.mod h1:WcOKzF6HkTDrkQ96aBHhcJ2IIYE7iK7M2tdt58ea2qc= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 h1:rs2zmGoDw4AHaJ2Y76J46slPPE3iL801sWPgOTCyDZc= diff --git a/system-tests/tests/go.mod b/system-tests/tests/go.mod index 048ac9693af..3e23628b8c1 100644 --- a/system-tests/tests/go.mod +++ b/system-tests/tests/go.mod @@ -73,7 +73,7 @@ require ( github.com/smartcontractkit/chain-selectors v1.0.112 github.com/smartcontractkit/chainlink-aptos v0.0.0-20260923062809-ca886ade4d26 github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260922043016-517a12a4220e - github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 + github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 github.com/smartcontractkit/chainlink-confidential-compute v1.3.0 diff --git a/system-tests/tests/go.sum b/system-tests/tests/go.sum index 7a733893e52..6081fe183e4 100644 --- a/system-tests/tests/go.sum +++ b/system-tests/tests/go.sum @@ -1836,8 +1836,8 @@ github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d6 github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20261001213322-a2d686f610ca/go.mod h1:Dm/Abz0vr7F2v9TygUX947q8HIwJEJikDfSdanX1Cic= github.com/smartcontractkit/chainlink-ccv v0.16.0 h1:WhDQEEI2Kb5A4C0PNAa+nyGLDvG0H+uT6h4y1NwmkYg= github.com/smartcontractkit/chainlink-ccv v0.16.0/go.mod h1:oaSLVHiJVbJ9aCcUQnoRuVONACWzA/DWVqvUnLAe9bE= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710 h1:GdBrQxbG6woXNOOGzu8HhQb/2QAdukxBte+aVpFvN+o= -github.com/smartcontractkit/chainlink-common v0.11.2-0.20261117180805-a2fb88ff3710/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a h1:bxFoItJ4awNUSwNZg0ixquqFe9/4HufJWcmc+MuBR0Q= +github.com/smartcontractkit/chainlink-common v0.11.2-0.20261118184646-d1731bf4579a/go.mod h1:DgO1pEniaA/K6rG8cVjiox44HrCzfeVXV+f1nx0KteE= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb h1:9rVrSeVOAwZsVe2pOpeVRp9XjhtMyjndgeROFglvOhg= github.com/smartcontractkit/chainlink-common/keystore v1.3.1-0.20261111193935-c83f8e2996fb/go.mod h1:WcOKzF6HkTDrkQ96aBHhcJ2IIYE7iK7M2tdt58ea2qc= github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.11-0.20261106154152-9426766b30a9 h1:rs2zmGoDw4AHaJ2Y76J46slPPE3iL801sWPgOTCyDZc=