Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream 27 sep 2024 #1474

Open
wants to merge 205 commits into
base: ccip-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
d3198a6
chore: update dependabot config yaml (#13949)
momentmaker Jul 29, 2024
bf30e1d
Refactor jira update script to use typescript (#13860)
HenryNguyen5 Jul 29, 2024
7147653
Fix syntax error in workflow (#13952)
chainchad Jul 29, 2024
1eaf5e0
No new finalized Heads Implementation (#13907)
dhaidashenko Jul 30, 2024
c3dc764
[fix] Race in workflow engine (#13879)
cedric-cordenier Jul 30, 2024
3fc7285
fix releases path in notification (#13959)
Tofel Jul 30, 2024
9e8ebc2
[TT-1422] Properly Handles Group Slack Handle (#13950)
kalverra Jul 31, 2024
9e74eee
Port ccip onchain to chainlink (#13941)
RensR Jul 31, 2024
6b3f6e2
update tests Dockerfile to copy only required files (#13961)
anirudhwarrier Jul 31, 2024
c4ffbfb
Initial Impl of SBRV (#13813)
Fletch153 Jul 31, 2024
d591645
[KS-393] Handle nils values (#13945)
cedric-cordenier Jul 31, 2024
afe2b25
add ccip and liq man gethwrappers (#13967)
RensR Jul 31, 2024
24c4826
[TT-1422] Fix Slack Tag (#13971)
kalverra Jul 31, 2024
3de00b7
Build Image for Tags (#13965)
kalverra Jul 31, 2024
15dc74c
BCI-3842 custom timeouts for Hedera (#13876)
dhaidashenko Jul 31, 2024
94aa60d
Updates CTF and removes some replaces (#13980)
kalverra Jul 31, 2024
610a516
[Keystone] Fix init order for Peer Wrapper and Dispatcher (#13976)
bolekk Aug 1, 2024
20dbba8
Add nonce validation after broadcast for Hedera (#13957)
amit-momin Aug 1, 2024
f974754
[TT-1394] add Reth to compatibility pipeline (#13804)
Tofel Aug 1, 2024
1d12fbf
core: add -failing filter to health command (#13989)
jmank88 Aug 1, 2024
3b4c2b5
Bump version and update CHANGELOG fore core v2.15.0 (#13948)
chainchad Aug 1, 2024
5eb95f1
Remove old CRIB remnants (cleanup) (#13912)
chainchad Aug 1, 2024
1b4cb83
align prom (#13995)
jmank88 Aug 1, 2024
0e8f2de
[fix] Check if DefaultConfig is nil before merging (#13988)
cedric-cordenier Aug 1, 2024
4a78286
Nuke unused files (#14010)
HenryNguyen5 Aug 1, 2024
c1bd103
Add L3X Config (#13987)
KodeyThomas Aug 2, 2024
f5e0bd6
Disallow zero address signers + pin Solidity version (#13993)
DeividasK Aug 2, 2024
2a032e8
Update AutoPurge config interface and add header for Scroll API (#13999)
amit-momin Aug 2, 2024
82accff
fix keystone e2e test dispatcher to correctly replicate duplicate reg…
ettec Aug 2, 2024
af7dab6
common/headtracker: improve health error (#13966)
jmank88 Aug 2, 2024
05ef7fd
MERC-6004 Add Mercury v4 schema (#13862)
martin-cll Aug 2, 2024
1ac2902
VRF-1138: Make CTF tests to reuse existing VRF Wrapper (#13854)
iljapavlovs Aug 5, 2024
7ec99ef
changes to support deterministic message hash in the remote target (#…
ettec Aug 5, 2024
d90bb66
common version update to head of develop (#14030)
ettec Aug 5, 2024
8b9f2b6
[BCF - 3339] - Codec and CR hashed topics support (#14016)
ilija42 Aug 6, 2024
55e7c8b
[CCIP-Merge] OCR2 plugins [CCIP-2942] (#14043)
asoliman92 Aug 6, 2024
1d81278
update readme's with information about CL node TOML config (#14028)
Tofel Aug 6, 2024
d963b0a
ks-409 fix the mock trigger to ensure events are sent (#14047)
ettec Aug 6, 2024
d1d0f44
[TT-1262] dump pg on failure (#14029)
Tofel Aug 6, 2024
e014a13
[KS-411] Extra validation for FeedIDs in Streams Codec (#14038)
bolekk Aug 6, 2024
537d2ec
fix data race in syncer/launcher (#14050)
ettec Aug 6, 2024
0a7372c
update solana e2e test build deps (#13978)
aalu1418 Aug 6, 2024
c2c31c0
Set PriceMin to match pip-35 definition (#14014)
Madalosso Aug 6, 2024
ce90bc3
auto: adjust cron contract imports (#13927)
FelixFan1992 Aug 6, 2024
2312827
Add finalizer component to TXM (#13638)
amit-momin Aug 6, 2024
69f7bd6
use services.Config.NewService/Engine (#13851)
jmank88 Aug 6, 2024
4843d84
Update e2e tests definition for CI and automation workflow (#13908)
lukaszcl Aug 7, 2024
7e5d161
bump solana commit (#14062)
aalu1418 Aug 7, 2024
5a1dd1f
Update log trigger default values (#14051)
infiloop2 Aug 7, 2024
e500c1a
chore: update dependabot config gomod (#14063)
momentmaker Aug 7, 2024
215277f
auto-10161: replicate v2_3 to v2_3_zksync (#14035)
FelixFan1992 Aug 7, 2024
477c8ce
enable gomods (#14042)
jmank88 Aug 7, 2024
499a677
add OZ 5.0.2 contracts (#14065)
RyanRHall Aug 7, 2024
6ab3eb5
[CCIP Merge] Capabilities [CCIP-2943] (#14068)
asoliman92 Aug 7, 2024
2ac9d98
auto-11214: migrate more tests to foundry (#13934)
FelixFan1992 Aug 7, 2024
1257d33
Allow retrying failed transmissions (#14017)
DeividasK Aug 8, 2024
40f4bec
Fix write target nil dereferences (#14059)
DeividasK Aug 8, 2024
4f0f780
Add Mantle errors (#14053)
DylanTinianov Aug 8, 2024
fb2918e
[TT-1429] notifying guardian on some failures (#14073)
Tofel Aug 8, 2024
0f166ad
[KS-412] Validate called DON membership in TriggerPublisher (#14040)
bolekk Aug 8, 2024
375e17b
[BCI-3862][chainlink] - Change DSL Block primitive to string instead …
Farber98 Aug 8, 2024
98fc881
Add error mapping for Astar (#13990)
flodesi Aug 8, 2024
e0850a6
BCI-3492 [LogPoller]: Allow withObservedExecAndRowsAffected to report…
reductionista Aug 8, 2024
84630b8
fix: refactor sonarqube scan args (#13875)
erikburt Aug 8, 2024
08638ff
CRIB CI integration (#13924)
skudasov Aug 8, 2024
ebd45ce
RE-2859 Make jira ticket linkage obligatory in PRs with solidity chan…
HenryNguyen5 Aug 8, 2024
3015b53
fix: check dir before using find (#14087)
erikburt Aug 8, 2024
98b9054
Write Chain Target: Validate that signed report metadata matches requ…
DeividasK Aug 9, 2024
4b91691
[TT-1326] Update Solidty Foundry pipeline with Slither (#13986)
Tofel Aug 9, 2024
14dabac
[TT-1421] Adds Dot Graphs to CI Upload (#13946)
kalverra Aug 9, 2024
7a56130
core/scripts/keystone improvements (#14075)
archseer Aug 9, 2024
cefbb09
KS-391: Capabilities registry reentrancy fix (#13970)
cds95 Aug 9, 2024
288257a
multi-chain fixes (#14077)
archseer Aug 9, 2024
349778b
add missing step id to action (#14088)
Tofel Aug 9, 2024
95cb692
[KS-421] Improve logging from remote capabilities (#14058)
bolekk Aug 9, 2024
bd648bd
Custom Astar finality (#14021)
dhaidashenko Aug 9, 2024
c330def
[BCI-3573] - Remove dependence on FinalityDepth in EVM TXM code (#13794)
Farber98 Aug 9, 2024
1fcfd80
[Keystone] Minor fixes (#14091)
bolekk Aug 12, 2024
518cc28
feat: CCIP-2465 enumerableMap for addressToBytes Mapping (#14012)
defistar Aug 12, 2024
2b86088
refactor + support v2.3 benchmark test (#14052)
anirudhwarrier Aug 12, 2024
5d4d996
[fix] Don't initialize the remote dispatcher (#14097)
cedric-cordenier Aug 12, 2024
220ca2a
Turn CRIB persistence test by default (#14101)
skudasov Aug 13, 2024
eb31cf7
speedup keystone e2e tests (#14105)
ettec Aug 13, 2024
1d1af81
fix unhandled already seen tx error for gnosis chiado (#14099)
huangzhen1997 Aug 13, 2024
6a9528d
classify arbitrum sequencer inaccessible error as retryable (#14100)
huangzhen1997 Aug 13, 2024
3399dd6
prevent editing DON accepts workflows field (#14092)
cds95 Aug 14, 2024
8d332fd
[CCIP-2944] Merge CCIP E2E Tests and CI into Core Repo (#14102)
kalverra Aug 14, 2024
83e576f
Add slack alerts for failing crib integrations (#14122)
chainchad Aug 14, 2024
3f0fad6
[BCI-3863] - Use filtered logs in eventBinding GetLatestValue instead…
Farber98 Aug 14, 2024
aa4e981
[KS-426] Remove panic from CapabilityType type (#14095)
cedric-cordenier Aug 14, 2024
5e99bdb
Handle terminally stuck transactions on send (#14127)
amit-momin Aug 15, 2024
e2a8841
refactor: use only goreleaser to build unsigned chainlink images in o…
momentmaker Aug 15, 2024
8fa8c3a
fix: deadlock in balance shutdown (#14125)
bukata-sa Aug 15, 2024
48c0846
[SHIP-2816] Add scroll sepolia network config (#14126)
joaoluisam Aug 15, 2024
a41b353
[CCIP-2611] Report new heads to atlas' OTI (#13647)
bukata-sa Aug 15, 2024
c92a721
Add Db syncing for registry syncer (#13756)
vyzaldysanchez Aug 15, 2024
1b58436
Updates feeds-manager noderpc proto (#14112)
giogam Aug 15, 2024
c3b1f90
[Keystone] Return an error from Launcher on invariant validation (#14…
bolekk Aug 15, 2024
c0c7649
Gates CCIP CI to run only when CCIP files change (#14131)
kalverra Aug 15, 2024
08194be
DEVSVCS-147: link balance monitor updates (#14108)
FelixFan1992 Aug 16, 2024
69a0090
Aptos LOOP setup (#14076)
archseer Aug 16, 2024
2e314cd
Update ZK overflow detection logic (#14132)
amit-momin Aug 16, 2024
69335dc
Expose Confirmed state to ChainWriter (#14138)
silaslenihan Aug 16, 2024
6ef1d6e
(SHIP-2626) added custom error handling for Treasure (#13981)
amaechiokolobi Aug 17, 2024
326c1d4
[TT-1396] [CCIP-2804] Migrates CCIP To testsecrets (#14135)
kalverra Aug 19, 2024
0ceb9b5
Fix test flake on registry syncer (#14148)
vyzaldysanchez Aug 19, 2024
c72afe7
bumping common to a commit on main (#14152)
patrickhuie19 Aug 19, 2024
a937d5c
Separate token price reporting schedule (#14154)
mateusz-sekara Aug 20, 2024
4f5374b
string v prefix from docker tag (#14147)
Tofel Aug 20, 2024
667bde4
Update run-tests action for running E2E tests (#14156)
lukaszcl Aug 20, 2024
5c2da36
allow to select commit SHA used for artifact generation (#14158)
Tofel Aug 20, 2024
6d072dd
[TT-1435] use chatgpt to find new issues in modified Solidity files (…
Tofel Aug 20, 2024
0fd7480
golangci-lint: enable only-new-issues for PRs (#14136)
jmank88 Aug 20, 2024
7fdc0c8
ks-404 validate ids used in transmission schedule (#14116)
ettec Aug 20, 2024
80c60c4
Adds seth chain defaults (#14162)
davidcauchi Aug 20, 2024
910dd8d
[KS-427] Launcher: process DONs in a deterministic order (#14153)
bolekk Aug 20, 2024
aec9d9f
Fixes CCIP Change Detection (#14164)
kalverra Aug 20, 2024
f0d72f7
chore: update goreleaser develop tag mutable (#14167)
momentmaker Aug 20, 2024
32a743b
golangci-lint: revive: exported, var-naming, range-val-address, early…
jmank88 Aug 20, 2024
c6d1d45
use services.Config.NewService/Engine (part 2) (#14117)
jmank88 Aug 20, 2024
b388712
vrf: fix vrfv2 test loading consumer address as coordinator (#14172)
leeyikjiun Aug 21, 2024
1852353
Fix datarace (#14157)
dimriou Aug 21, 2024
4d50117
crib-317 update ctf version (#14176)
gheorghestrimtu Aug 21, 2024
d204c46
CTF tests - increase gas_tip_cap for Polygon Amoy chain (#14178)
iljapavlovs Aug 21, 2024
d7645dd
CCIP-3008 CCIP versioning which is semver compatible (#14177)
mateusz-sekara Aug 21, 2024
0cbad1b
TT-1473 Refactor integration-tests.yml workflow to use run-e2e-tests-…
lukaszcl Aug 21, 2024
ec183b5
Soak Tests - Remove Namespace if fund return is successful (#14155)
anirudhwarrier Aug 21, 2024
831d006
devsvcs-168: fix chain module l1 fee calculation (#14150)
FelixFan1992 Aug 21, 2024
e76463c
Fix: Add hexutil Bytes encoding to batchcall data (#14165)
silaslenihan Aug 21, 2024
fdf9d10
refactor: build-publish-develop-pr workflow to not split (#14187)
momentmaker Aug 21, 2024
ee57b4f
item 4 - topeerid should validate []byte length (#14181)
ettec Aug 21, 2024
5b9d92d
Fix flakey ccipreader_test as per CCIP pr 1337 (#14189)
b-gopalswami Aug 21, 2024
c098805
devsvcs-130: add an optimism module v2 to reduce gas cost to estimate…
FelixFan1992 Aug 21, 2024
633eb41
[CCIP-3072] Info log on missing finalized block (#14179)
bukata-sa Aug 21, 2024
d884838
bump solana (#14188)
aalu1418 Aug 21, 2024
8322953
use explicit block number when checking LINK contract balance (#14186)
Tofel Aug 22, 2024
b563d77
Report all prices from Jobspec (#14185)
mateusz-sekara Aug 22, 2024
a865709
CCIP-2971 Optimize token/gas prices database interactions (#14074)
mateusz-sekara Aug 22, 2024
b9a433b
Create an empty registry if external registry is not connected (#14174)
DeividasK Aug 22, 2024
8d58c69
update test parallel count for automation tests (#14199)
anirudhwarrier Aug 22, 2024
e452ee1
[TT-1492] add step to publish comment with Slither report job summary…
Tofel Aug 22, 2024
2900a1e
Fix for E2E tests nightly workflow (#14200)
lukaszcl Aug 22, 2024
35f68c8
fix(RegisterManager): handle error correctly (#14183)
graham-chainlink Aug 22, 2024
d50feb0
migrate goreleaser to use ~> v2 as default version to use (#14190)
momentmaker Aug 22, 2024
9c240b6
auto-10161: implement without zksync forwarder interface change (#14037)
FelixFan1992 Aug 22, 2024
2521c4b
Use new Havoc lib from CTF (#14201)
skudasov Aug 22, 2024
908e96c
Move long running CCIP tests to nightly tests (#14204)
lukaszcl Aug 22, 2024
621e875
fix: non-zero default period (#14206)
bukata-sa Aug 22, 2024
c98feb2
Changed Optimism L1 Oracle to support Mantle (#14160)
ma33r Aug 22, 2024
8d818ea
Gas limit estimation feature (#14041)
amit-momin Aug 22, 2024
b0e31e0
Improve TXM performance by optimize Confirmer and Finalizer queries t…
huangzhen1997 Aug 23, 2024
e4f346a
Use develop image from sdlc account (#14202)
scheibinger Aug 23, 2024
822c507
[CAPPL] Make copy private so it can't be misused (#14205)
cedric-cordenier Aug 23, 2024
8e1ae31
bump github.com/grafana/pyroscope-go/godeltaprof (#14213)
jmank88 Aug 23, 2024
3465895
Update e2e test workflows (#14210)
lukaszcl Aug 23, 2024
3335b7e
simplify modgraph (#14169)
jmank88 Aug 23, 2024
977c78a
Add reference to capability request in the engine (#14168)
nolag Aug 23, 2024
25d2961
fix: head report chain_id (#14212)
bukata-sa Aug 23, 2024
65998c4
Bump version and update CHANGELOG for core v2.15.0 (#13947)
chainchad Aug 23, 2024
af335c1
Support v0.3 schema report format in LLO (#13780)
samsondav Aug 23, 2024
32a2ccd
KS-398 gas limit on tx meta (#14214)
ettec Aug 23, 2024
6b2fa6f
Add keystone codeowner (#14218)
braddmiller Aug 23, 2024
0352a7d
Update Op Forwarder code owner to Data Feeds Eng (#14222)
austinborn Aug 25, 2024
445dd3c
Add test_secrets_override_key to remaining workflows that use base64T…
lukaszcl Aug 26, 2024
a749e65
Fix flakey test runner (#14226)
cedric-cordenier Aug 26, 2024
3d2efc3
[TT-1505] fix name of step used to generate changesets (#14217)
Tofel Aug 26, 2024
3257b8f
DEVSVCS-138: adding default test config for VRF CTF tests; adding abi…
iljapavlovs Aug 26, 2024
95ae744
Bump NPM and Forge dependencies (#14093)
RensR Aug 26, 2024
5070cf8
use services.Config.NewService/Engine (part 3) (#14170)
jmank88 Aug 26, 2024
9e7406e
core/services/ocr/plugins/llo: fix onchain cache test race (#14232)
jmank88 Aug 26, 2024
c00ac96
Ccip-3076 deployment package (#14209)
AnieeG Aug 26, 2024
0294e1f
Fix RPCClient Deadlock on Unsubscribe and NewHead (#14236)
dhaidashenko Aug 26, 2024
e7d993b
Migrate more e2e test workflows to use the reusable workflow (#14235)
lukaszcl Aug 27, 2024
8cea1b2
Run smoke/ocr2_test.go on develop-plugins by default (#14240)
lukaszcl Aug 27, 2024
3500089
update test to remove logic for zkevm-node (#14143)
anirudhwarrier Aug 27, 2024
f8e2cb2
use Seth from CTF repo (#14233)
Tofel Aug 27, 2024
7a41ae7
Use ERC165Checker in CapabilitiesRegistry (#14231)
DeividasK Aug 27, 2024
bf2b72d
[BCF-3250]: Fix FilterLog error handling in LogPoller (#11654)
reductionista Aug 27, 2024
0f557ae
[SHIP-1877] Bump BSC Mainnet's Default PriceMin to 3 gwei (#13853)
flodesi Aug 27, 2024
f1bc2e7
Set From address for gas limit estimation feature (#14246)
amit-momin Aug 27, 2024
808912d
feat(docker): add observability stack (#14203)
Atrax1 Aug 27, 2024
ca7b958
RE 2877 Jira<->Changeset traceability for solidity changes (#14141)
HenryNguyen5 Aug 27, 2024
c39590e
bump common for sql performance improvements (#14247)
jmank88 Aug 28, 2024
d0d2f30
[BCI-3991] - Remove CR from relayer struct (#14146)
Farber98 Aug 28, 2024
710d48e
switch to CTF WASP package (#14255)
skudasov Aug 28, 2024
567ce22
[CAPPL-6] Formalize trigger API (#14145)
cedric-cordenier Aug 28, 2024
102a09a
Bump version and update CHANGELOG fore core v2.16.0
chainchad Aug 28, 2024
e4ffcf7
Update EstimateGasLimit config name to EstimateLimit (#14297)
amit-momin Sep 3, 2024
fe86959
[Cherry Pick] Update EstimateGasLimit config name to EstimateLimit
chainchad Sep 3, 2024
5dee0ec
fix: goreleaser-build-sign-publish-chainlink workflow (#14139)
momentmaker Aug 28, 2024
0359573
Merge pull request #14323 from smartcontractkit/hotfix/add-keyless-co…
momentmaker Sep 3, 2024
bb48508
core/services/relay/evm: handle error from chainselectors
jmank88 Sep 4, 2024
5eac567
Merge pull request #14337 from smartcontractkit/chain-selector-fix
momentmaker Sep 6, 2024
9e0de20
Fix pruning query
reductionista Sep 17, 2024
10113c5
Add regression testing for pruning bug
reductionista Sep 17, 2024
2b19723
Query exact wasmvm module rather than parsing all (#14425)
HenryNguyen5 Sep 14, 2024
6aa6196
exclude sourcegraph missing dependency (#14446)
skudasov Sep 16, 2024
a0580bc
Merge pull request #14462 from smartcontractkit/hotfix/BCFR-906-logpo…
momentmaker Sep 17, 2024
cbf497a
Merge branch 'release/2.16.0' into hotfix/go-mod-dep
momentmaker Sep 17, 2024
aad7af6
Merge pull request #14466 from smartcontractkit/hotfix/go-mod-dep
momentmaker Sep 18, 2024
546e696
finalize date on changelog for 2.16.0
momentmaker Sep 23, 2024
72a7d23
Merge pull request #14528 from smartcontractkit/chore/update-release-…
momentmaker Sep 23, 2024
3328483
Merge tag 'v2.16.0' into merge-upstream-27-sep-2024
valerii-kabisov-cll Sep 27, 2024
258c699
snapshot
valerii-kabisov-cll Sep 27, 2024
ebf690a
Merge branch 'ccip-develop' into merge-upstream-27-sep-2024
valerii-kabisov-cll Oct 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/actions/golangci-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ runs:
skip-pkg-cache: true
skip-build-cache: true
# only-new-issues is only applicable to PRs, otherwise it is always set to false
only-new-issues: false # disabled for PRs due to unreliability
only-new-issues: true
args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml
working-directory: ${{ inputs.go-directory }}
- name: Print lint report artifact
Expand Down
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@ ztarrepo.tar.gz
**/test-ledger/*
__debug_bin*
.test_summary/
db_dumps/
.run.id
integration-tests/**/traces/
benchmark_report.csv
benchmark_summary.json
integration-tests/citool/output.csv
secrets.toml
tmp_laneconfig/

# goreleaser builds
cosign.*
Expand All @@ -97,6 +99,7 @@ core/scripts/ccip/csv/node-wallets
*report.xml
*report.json
*.out
dot_graphs/

contracts/yarn.lock

Expand All @@ -119,7 +122,7 @@ tools/flakeytests/coverage.txt
# Runtime test configuration that might contain secrets
override*.toml

# Pythin venv
# Python venv
.venv/

ocr_soak_report.csv
5 changes: 3 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ linters-settings:
- name: error-return
- name: error-strings
- name: error-naming
# - name: exported
- name: if-return
- name: increment-decrement
# - name: var-naming
# - name: var-naming
- name: var-declaration
- name: package-comments
- name: range
Expand All @@ -92,7 +93,7 @@ linters-settings:
- name: struct-tag
# - name: string-format
- name: string-of-int
# - name: range-val-address
# - name: range-val-address
- name: range-val-in-closure
- name: modifies-value-receiver
- name: modifies-parameter
Expand Down
83 changes: 54 additions & 29 deletions .goreleaser.develop.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
## goreleaser <1.14.0
project_name: chainlink

version: 2

env:
- ZIG_EXEC={{ if index .Env "ZIG_EXEC" }}{{ .Env.ZIG_EXEC }}{{ else }}zig{{ end }}
- IMAGE_PREFIX={{ if index .Env "IMAGE_PREFIX" }}{{ .Env.IMAGE_PREFIX }}{{ else }}localhost:5001{{ end }}
- IMAGE_NAME={{ if index .Env "IMAGE_NAME" }}{{ .Env.IMAGE_NAME }}{{ else }}chainlink{{ end }}
- IMAGE_TAG={{ if index .Env "IMAGE_TAG" }}{{ .Env.IMAGE_TAG }}{{ else }}develop{{ end }}
- IMAGE_LABEL_DESCRIPTION="node of the decentralized oracle network, bridging on and off-chain computation"
- IMAGE_LABEL_LICENSES="MIT"
- IMAGE_LABEL_SOURCE="https://github.com/smartcontractkit/{{ .ProjectName }}"
Expand Down Expand Up @@ -56,18 +59,18 @@ builds:

# See https://goreleaser.com/customization/docker/
dockers:
- id: root-linux-amd64
- id: linux-amd64
dockerfile: core/chainlink.goreleaser.Dockerfile
use: buildx
goos: linux
goarch: amd64
extra_files:
- tmp/linux_amd64/libs
- tmp/linux_amd64/plugins
- tools/bin/ldd_fix
build_flag_templates:
- "--platform=linux/amd64"
- "--pull"
- "--build-arg=CHAINLINK_USER=chainlink"
- "--build-arg=COMMIT_SHA={{ .FullCommit }}"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.description={{ .Env.IMAGE_LABEL_DESCRIPTION }}"
Expand All @@ -78,20 +81,21 @@ dockers:
- "--label=org.opencontainers.image.version={{ .Env.CHAINLINK_VERSION }}"
- "--label=org.opencontainers.image.url={{ .Env.IMAGE_LABEL_SOURCE }}"
image_templates:
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-root-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-root-amd64"
- id: root-linux-arm64
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-amd64"
- id: linux-arm64
dockerfile: core/chainlink.goreleaser.Dockerfile
use: buildx
goos: linux
goarch: arm64
extra_files:
- tmp/linux_arm64/libs
- tmp/linux_arm64/plugins
- tools/bin/ldd_fix
build_flag_templates:
- "--platform=linux/arm64"
- "--pull"
- "--build-arg=CHAINLINK_USER=chainlink"
- "--build-arg=COMMIT_SHA={{ .FullCommit }}"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.description={{ .Env.IMAGE_LABEL_DESCRIPTION }}"
Expand All @@ -102,9 +106,9 @@ dockers:
- "--label=org.opencontainers.image.version={{ .Env.CHAINLINK_VERSION }}"
- "--label=org.opencontainers.image.url={{ .Env.IMAGE_LABEL_SOURCE }}"
image_templates:
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-root-arm64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-root-arm64"
- id: linux-amd64
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-arm64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-arm64"
- id: linux-amd64-plugins
dockerfile: core/chainlink.goreleaser.Dockerfile
use: buildx
goos: linux
Expand All @@ -118,6 +122,10 @@ dockers:
- "--pull"
- "--build-arg=CHAINLINK_USER=chainlink"
- "--build-arg=COMMIT_SHA={{ .FullCommit }}"
- "--build-arg=CL_MEDIAN_CMD=chainlink-feeds"
- "--build-arg=CL_MERCURY_CMD=chainlink-mercury"
- "--build-arg=CL_SOLANA_CMD=chainlink-solana"
- "--build-arg=CL_STARKNET_CMD=chainlink-starknet"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.description={{ .Env.IMAGE_LABEL_DESCRIPTION }}"
- "--label=org.opencontainers.image.licenses={{ .Env.IMAGE_LABEL_LICENSES }}"
Expand All @@ -127,9 +135,10 @@ dockers:
- "--label=org.opencontainers.image.version={{ .Env.CHAINLINK_VERSION }}"
- "--label=org.opencontainers.image.url={{ .Env.IMAGE_LABEL_SOURCE }}"
image_templates:
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-amd64"
- id: linux-arm64
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-plugins"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-plugins-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-plugins-amd64"
- id: linux-arm64-plugins
dockerfile: core/chainlink.goreleaser.Dockerfile
use: buildx
goos: linux
Expand All @@ -143,6 +152,10 @@ dockers:
- "--pull"
- "--build-arg=CHAINLINK_USER=chainlink"
- "--build-arg=COMMIT_SHA={{ .FullCommit }}"
- "--build-arg=CL_MEDIAN_CMD=chainlink-feeds"
- "--build-arg=CL_MERCURY_CMD=chainlink-mercury"
- "--build-arg=CL_SOLANA_CMD=chainlink-solana"
- "--build-arg=CL_STARKNET_CMD=chainlink-starknet"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.description={{ .Env.IMAGE_LABEL_DESCRIPTION }}"
- "--label=org.opencontainers.image.licenses={{ .Env.IMAGE_LABEL_LICENSES }}"
Expand All @@ -152,38 +165,50 @@ dockers:
- "--label=org.opencontainers.image.version={{ .Env.CHAINLINK_VERSION }}"
- "--label=org.opencontainers.image.url={{ .Env.IMAGE_LABEL_SOURCE }}"
image_templates:
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-arm64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-arm64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-plugins-arm64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-plugins-arm64"

# See https://goreleaser.com/customization/docker_manifest/
docker_manifests:
- name_template: "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-root"
- name_template: "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}"
image_templates:
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-root-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-root-arm64"
- name_template: "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-root"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-arm64"
- name_template: "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}"
image_templates:
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-root-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-root-arm64"
- name_template: "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-arm64"
- name_template: "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-plugins"
image_templates:
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:develop-arm64"
- name_template: "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-plugins"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-plugins-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:{{ .Env.IMAGE_TAG }}-plugins-arm64"
- name_template: "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-plugins"
image_templates:
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .ProjectName }}-develop:sha-{{ .ShortCommit }}-arm64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-plugins-amd64"
- "{{ .Env.IMAGE_PREFIX }}/{{ .Env.IMAGE_NAME }}:sha-{{ .ShortCommit }}-plugins-arm64"

# See https://goreleaser.com/customization/docker_sign/
docker_signs:
- artifacts: all
stdin: "{{ .Env.COSIGN_PASSWORD }}"
args:
- "sign"
- "${artifact}"
- "--yes"

checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Env.CHAINLINK_VERSION }}-{{ .ShortCommit }}"
version_template: "{{ .Env.CHAINLINK_VERSION }}-{{ .ShortCommit }}"

partial:
by: target

# See https://goreleaser.com/customization/release/
release:
disable: true

changelog:
sort: asc
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.devspace.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## goreleaser <1.14.0
project_name: ccip

version: 2

env:
- ZIG_EXEC={{ if index .Env "ZIG_EXEC" }}{{ .Env.ZIG_EXEC }}{{ else }}zig{{ end }}
- IMAGE_LABEL_DESCRIPTION="node of the decentralized oracle network, bridging on and off-chain computation"
Expand Down Expand Up @@ -75,7 +77,7 @@ checksum:
name_template: "checksums.txt"

snapshot:
name_template: '{{ .Env.CHAINLINK_VERSION }}-{{ .Runtime.Goarch }}-{{ .Now.Format "2006-01-02-15-04-05Z" }}'
version_template: '{{ .Env.CHAINLINK_VERSION }}-{{ .Runtime.Goarch }}-{{ .Now.Format "2006-01-02-15-04-05Z" }}'

changelog:
sort: asc
Expand Down
42 changes: 28 additions & 14 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,14 @@ packages:
ORM:
Runner:
PipelineParamUnmarshaler:
github.com/smartcontractkit/chainlink/v2/core/services/promreporter:
github.com/smartcontractkit/chainlink/v2/core/services/headreporter:
config:
dir: core/internal/mocks
dir: "{{ .InterfaceDir }}"
filename: "{{ .InterfaceName | snakecase }}_mock.go"
inpackage: true
mockname: "Mock{{ .InterfaceName | camelcase }}"
interfaces:
HeadReporter:
PrometheusBackend:
github.com/smartcontractkit/libocr/commontypes:
config:
Expand Down Expand Up @@ -341,14 +345,14 @@ packages:
filename: evm2_evm_on_ramp_interface.go
outpkg: mock_contracts
interfaces:
EVM2EVMOnRampInterface:
EVM2EVMOnRampInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_offramp:
config:
dir: core/gethwrappers/ccip/mocks/
filename: evm2_evm_off_ramp_interface.go
outpkg: mock_contracts
interfaces:
EVM2EVMOffRampInterface:
EVM2EVMOffRampInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_offramp_1_2_0:
config:
dir: core/gethwrappers/ccip/mocks/v1_2_0/
Expand Down Expand Up @@ -377,34 +381,41 @@ packages:
outpkg: mock_contracts
interfaces:
FeeQuoterInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/price_registry:
config:
dir: core/gethwrappers/ccip/mocks/
filename: price_registry_interface.go
outpkg: mock_contracts
interfaces:
PriceRegistryInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/link_token_interface:
config:
dir: core/gethwrappers/ccip/mocks/
filename: link_token_interface.go
outpkg: mock_contracts
interfaces:
LinkTokenInterface:
LinkTokenInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_l1_bridge_adapter:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_l1_bridge_adapter/
filename: arbitrum_l1_bridge_adapter_interface.go
outpkg: mock_arbitrum_l1_bridge_adapter
interfaces:
ArbitrumL1BridgeAdapterInterface:
ArbitrumL1BridgeAdapterInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_l2_bridge_adapter:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_l2_bridge_adapter/
filename: arbitrum_l2_bridge_adapter_interface.go
outpkg: mock_arbitrum_l2_bridge_adapter
interfaces:
ArbitrumL2BridgeAdapterInterface:
ArbitrumL2BridgeAdapterInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_gateway_router:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_gateway_router/
filename: arbitrum_gateway_router_interface.go
outpkg: mock_arbitrum_gateway_router
interfaces:
ArbitrumGatewayRouterInterface:
ArbitrumGatewayRouterInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_inbox:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_inbox/
Expand All @@ -418,7 +429,7 @@ packages:
filename: l2_arbitrum_gateway_interface.go
outpkg: mock_l2_arbitrum_gateway
interfaces:
L2ArbitrumGatewayInterface:
L2ArbitrumGatewayInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbsys:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbsys/
Expand All @@ -432,7 +443,7 @@ packages:
filename: node_interface_interface.go
outpkg: mock_node_interface
interfaces:
NodeInterfaceInterface:
NodeInterfaceInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/l2_arbitrum_messenger:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_l2_arbitrum_messenger/
Expand All @@ -446,7 +457,7 @@ packages:
filename: arb_rollup_core_interface.go
outpkg: mock_arbitrum_rollup_core
interfaces:
ArbRollupCoreInterface:
ArbRollupCoreInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/optimism_portal:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_optimism_portal/
Expand All @@ -460,7 +471,7 @@ packages:
filename: optimism_l2_output_oracle_interface.go
outpkg: mock_optimism_l2_output_oracle
interfaces:
OptimismL2OutputOracleInterface:
OptimismL2OutputOracleInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/optimism_portal_2:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_optimism_portal_2/
Expand All @@ -474,7 +485,7 @@ packages:
filename: optimism_dispute_game_factory_interface.go
outpkg: mock_optimism_dispute_game_factory
interfaces:
OptimismDisputeGameFactoryInterface:
OptimismDisputeGameFactoryInterface:
github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/ccip/internal/cache:
config:
filename: chain_health_mock.go
Expand Down Expand Up @@ -612,4 +623,7 @@ packages:
dir: "{{ .InterfaceDir }}/../mocks"
filename: rebalancer_mock.go
interfaces:
RebalancingAlgo:
RebalancingAlgo:
github.com/smartcontractkit/chainlink/v2/core/services/registrysyncer:
interfaces:
ORM:
Loading
Loading