Skip to content

Commit fa8fce9

Browse files
feat: allow all chains in simulator (#218)
* feat: allow all chains in simulator * update dep
1 parent 6f81a7e commit fa8fce9

File tree

4 files changed

+146
-121
lines changed

4 files changed

+146
-121
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
golang 1.24.6
1+
golang 1.25.5
22
golangci-lint 2.5.0
33
goreleaser 2.0.1
44
python 3.10.5

cmd/workflow/simulate/simulate.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ import (
3030
httptypedapi "github.com/smartcontractkit/chainlink-common/pkg/capabilities/v2/triggers/http"
3131
"github.com/smartcontractkit/chainlink-common/pkg/logger"
3232
"github.com/smartcontractkit/chainlink-common/pkg/services"
33+
commonsettings "github.com/smartcontractkit/chainlink-common/pkg/settings"
34+
"github.com/smartcontractkit/chainlink-common/pkg/settings/cresettings"
3335
pb "github.com/smartcontractkit/chainlink-protos/cre/go/sdk"
3436
"github.com/smartcontractkit/chainlink-protos/cre/go/values"
3537
valuespb "github.com/smartcontractkit/chainlink-protos/cre/go/values/pb"
@@ -491,6 +493,12 @@ func run(
491493
close(executionFinishedCh)
492494
},
493495
},
496+
WorkflowSettingsCfgFn: func(cfg *cresettings.Workflows) {
497+
cfg.ChainAllowed = commonsettings.PerChainSelector(
498+
commonsettings.Bool(true), // Allow all chains in simulation
499+
map[string]bool{},
500+
)
501+
},
494502
})
495503

496504
return nil

go.mod

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
module github.com/smartcontractkit/cre-cli
22

3-
go 1.25.3
3+
go 1.25.5
44

55
require (
66
github.com/BurntSushi/toml v1.4.0
77
github.com/Masterminds/semver/v3 v3.4.0
8-
github.com/andybalholm/brotli v1.1.1
8+
github.com/andybalholm/brotli v1.2.0
99
github.com/avast/retry-go/v4 v4.6.1
1010
github.com/charmbracelet/bubbles v0.21.0
1111
github.com/charmbracelet/bubbletea v1.3.6
1212
github.com/denisbrodbeck/machineid v1.0.1
13-
github.com/ethereum/go-ethereum v1.16.4
13+
github.com/ethereum/go-ethereum v1.16.5
1414
github.com/fatih/color v1.18.0
1515
github.com/go-playground/locales v0.14.1
1616
github.com/go-playground/universal-translator v0.18.1
17-
github.com/go-playground/validator/v10 v10.26.0
17+
github.com/go-playground/validator/v10 v10.28.0
1818
github.com/google/uuid v1.6.0
1919
github.com/jarcoal/httpmock v1.3.1
2020
github.com/jedib0t/go-pretty/v6 v6.6.5
2121
github.com/joho/godotenv v1.5.1
2222
github.com/machinebox/graphql v0.2.2
2323
github.com/manifoldco/promptui v0.9.0
2424
github.com/pkg/errors v0.9.1
25-
github.com/rs/zerolog v1.33.0
26-
github.com/smartcontractkit/chain-selectors v1.0.82
27-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251118164938-731e805e0a2f
28-
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022075638-49d961001d1b
29-
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20251021010742-3f8d3dba17d8
30-
github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20251025021331-aa7746850cc4
25+
github.com/rs/zerolog v1.34.0
26+
github.com/smartcontractkit/chain-selectors v1.0.85
27+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20260107095648-223976d2b9f1
28+
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251211123524-f0c4fe7cfc0a
29+
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20251124151448-0448aefdaab9
30+
github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260106052706-6dd937cb5ec6
3131
github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.3
32-
github.com/smartcontractkit/chainlink/v2 v2.29.1-cre-beta.0.0.20251119193110-917049d99750
32+
github.com/smartcontractkit/chainlink/v2 v2.29.1-cre-beta.0.0.20260109132812-ceed3e450cb6
3333
github.com/smartcontractkit/cre-sdk-go v1.0.0
3434
github.com/smartcontractkit/cre-sdk-go/capabilities/blockchain/evm v1.0.0-beta.0
3535
github.com/smartcontractkit/tdh2/go/tdh2 v0.0.0-20251120172354-e8ec0386b06c
@@ -63,7 +63,7 @@ require (
6363
github.com/Microsoft/go-winio v0.6.2 // indirect
6464
github.com/NethermindEth/juno v0.12.5 // indirect
6565
github.com/NethermindEth/starknet.go v0.8.0 // indirect
66-
github.com/VictoriaMetrics/fastcache v1.12.2 // indirect
66+
github.com/VictoriaMetrics/fastcache v1.13.0 // indirect
6767
github.com/XSAM/otelsql v0.37.0 // indirect
6868
github.com/apache/arrow-go/v18 v18.3.1 // indirect
6969
github.com/atombender/go-jsonschema v0.16.1-0.20240916205339-a74cd4e2851c // indirect
@@ -76,7 +76,7 @@ require (
7676
github.com/benbjohnson/clock v1.3.5 // indirect
7777
github.com/beorn7/perks v1.0.1 // indirect
7878
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
79-
github.com/bits-and-blooms/bitset v1.22.0 // indirect
79+
github.com/bits-and-blooms/bitset v1.24.0 // indirect
8080
github.com/blendle/zapdriver v1.3.1 // indirect
8181
github.com/btcsuite/btcd v0.24.2 // indirect
8282
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
@@ -134,23 +134,23 @@ require (
134134
github.com/emicklei/dot v1.6.2 // indirect
135135
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
136136
github.com/esote/minmaxheap v1.0.0 // indirect
137-
github.com/ethereum/c-kzg-4844/v2 v2.1.3 // indirect
137+
github.com/ethereum/c-kzg-4844/v2 v2.1.5 // indirect
138138
github.com/ethereum/go-bigmodexpfix v0.0.0-20250911101455-f9e208c548ab // indirect
139139
github.com/ethereum/go-verkle v0.2.2 // indirect
140140
github.com/expr-lang/expr v1.17.5 // indirect
141141
github.com/fbsobreira/gotron-sdk v0.0.0-20250403083053-2943ce8c759b // indirect
142142
github.com/ferranbt/fastssz v0.1.4 // indirect
143143
github.com/fsnotify/fsnotify v1.9.0 // indirect
144144
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
145-
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
145+
github.com/gabriel-vasile/mimetype v1.4.10 // indirect
146146
github.com/gagliardetto/binary v0.8.0 // indirect
147147
github.com/gagliardetto/solana-go v1.13.0 // indirect
148148
github.com/gagliardetto/treeout v0.1.4 // indirect
149149
github.com/gagliardetto/utilz v0.1.3 // indirect
150150
github.com/getsentry/sentry-go v0.27.0 // indirect
151151
github.com/gin-contrib/sessions v0.0.5 // indirect
152152
github.com/gin-contrib/sse v0.1.0 // indirect
153-
github.com/gin-gonic/gin v1.10.0 // indirect
153+
github.com/gin-gonic/gin v1.10.1 // indirect
154154
github.com/go-json-experiment/json v0.0.0-20250223041408-d3c622f1b874 // indirect
155155
github.com/go-kit/kit v0.13.0 // indirect
156156
github.com/go-kit/log v0.2.1 // indirect
@@ -176,8 +176,8 @@ require (
176176
github.com/gorilla/securecookie v1.1.2 // indirect
177177
github.com/gorilla/sessions v1.2.2 // indirect
178178
github.com/gorilla/websocket v1.5.3 // indirect
179-
github.com/grafana/pyroscope-go v1.1.2 // indirect
180-
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect
179+
github.com/grafana/pyroscope-go v1.2.7 // indirect
180+
github.com/grafana/pyroscope-go/godeltaprof v0.1.9 // indirect
181181
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.1 // indirect
182182
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.2 // indirect
183183
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
@@ -214,7 +214,7 @@ require (
214214
github.com/jonboulle/clockwork v0.5.0 // indirect
215215
github.com/jpillora/backoff v1.0.0 // indirect
216216
github.com/json-iterator/go v1.1.12 // indirect
217-
github.com/klauspost/compress v1.18.0 // indirect
217+
github.com/klauspost/compress v1.18.1 // indirect
218218
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
219219
github.com/kr/pretty v0.3.1 // indirect
220220
github.com/kr/text v0.2.0 // indirect
@@ -282,25 +282,25 @@ require (
282282
github.com/shopspring/decimal v1.4.0 // indirect
283283
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3 // indirect
284284
github.com/smartcontractkit/chainlink-automation v0.8.1 // indirect
285-
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251105200616-e158f436aa95 // indirect
285+
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251128020529-88d93b01d749 // indirect
286286
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5 // indirect
287287
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 // indirect
288288
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 // indirect
289-
github.com/smartcontractkit/chainlink-data-streams v0.1.6 // indirect
290-
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251029010119-b2ed6162042f // indirect
289+
github.com/smartcontractkit/chainlink-data-streams v0.1.10 // indirect
290+
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251210110629-10c56e8d2cec // indirect
291291
github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250818175541-3389ac08a563 // indirect
292-
github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20251021173435-e86785845942 // indirect
293-
github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20251020150604-8ab84f7bad1a // indirect
292+
github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20251210101658-1c5c8e4c4f15 // indirect
293+
github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20251206233640-139a324649d9 // indirect
294294
github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20251021173435-e86785845942 // indirect
295295
github.com/smartcontractkit/chainlink-protos/billing/go v0.0.0-20251024234028-0988426d98f4 // indirect
296296
github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b // indirect
297297
github.com/smartcontractkit/chainlink-protos/storage-service v0.3.0 // indirect
298298
github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect
299-
github.com/smartcontractkit/chainlink-solana v1.1.2-0.20251105160343-b77843a1daf4 // indirect
299+
github.com/smartcontractkit/chainlink-solana v1.1.2-0.20251121223352-370eb61346d6 // indirect
300300
github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20251014143056-a0c6328c91e9 // indirect
301301
github.com/smartcontractkit/freeport v0.1.3-0.20250716200817-cb5dfd0e369e // indirect
302302
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 // indirect
303-
github.com/smartcontractkit/libocr v0.0.0-20251031190958-7324c200a6b0 // indirect
303+
github.com/smartcontractkit/libocr v0.0.0-20251212213002-0a5e2f907dda // indirect
304304
github.com/smartcontractkit/smdkg v0.0.0-20251029093710-c38905e58aeb // indirect
305305
github.com/smartcontractkit/tdh2/go/ocr2/decryptionplugin v0.0.0-20241009055228-33d0c0bf38de // indirect
306306
github.com/smartcontractkit/wsrpc v0.8.5-0.20250502134807-c57d3d995945 // indirect
@@ -338,7 +338,7 @@ require (
338338
go.dedis.ch/kyber/v3 v3.1.0 // indirect
339339
go.etcd.io/bbolt v1.4.2 // indirect
340340
go.mongodb.org/mongo-driver v1.17.2 // indirect
341-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
341+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
342342
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 // indirect
343343
go.opentelemetry.io/otel v1.38.0 // indirect
344344
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.12.2 // indirect
@@ -361,17 +361,17 @@ require (
361361
go.uber.org/multierr v1.11.0 // indirect
362362
go.uber.org/ratelimit v0.3.1 // indirect
363363
golang.org/x/arch v0.11.0 // indirect
364-
golang.org/x/crypto v0.43.0 // indirect
364+
golang.org/x/crypto v0.45.0 // indirect
365365
golang.org/x/exp v0.0.0-20250711185948-6ae5c78190dc // indirect
366-
golang.org/x/mod v0.28.0 // indirect
367-
golang.org/x/net v0.45.0 // indirect
368-
golang.org/x/sync v0.17.0 // indirect
369-
golang.org/x/sys v0.37.0 // indirect
370-
golang.org/x/telemetry v0.0.0-20250908211612-aef8a434d053 // indirect
371-
golang.org/x/term v0.36.0 // indirect
372-
golang.org/x/text v0.30.0 // indirect
366+
golang.org/x/mod v0.31.0 // indirect
367+
golang.org/x/net v0.47.0 // indirect
368+
golang.org/x/sync v0.19.0 // indirect
369+
golang.org/x/sys v0.39.0 // indirect
370+
golang.org/x/telemetry v0.0.0-20251208220230-2638a1023523 // indirect
371+
golang.org/x/term v0.37.0 // indirect
372+
golang.org/x/text v0.31.0 // indirect
373373
golang.org/x/time v0.12.0 // indirect
374-
golang.org/x/tools v0.37.0 // indirect
374+
golang.org/x/tools v0.39.0 // indirect
375375
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
376376
gonum.org/v1/gonum v0.16.0 // indirect
377377
google.golang.org/genproto v0.0.0-20250505200425-f936aa4a68b2 // indirect

0 commit comments

Comments
 (0)