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

CCIP-3873: merge v2.17 into ccip-develop #1506

Merged
merged 441 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
441 commits
Select commit Hold shift + click to select a range
26b77df
Make router destination/source chain specific (#1242)
RyanRHall Aug 6, 2024
1c8d278
use transferFrom(pool -> receiver) over hop through offRamp (#1258)
RensR Aug 6, 2024
cefcf1a
core/capabilities/ccip: use OCR offchain config (#1264)
makramkd Aug 6, 2024
ce8d50e
Change RMN contract typeAndVersion (#1233)
lagoon0o0 Aug 8, 2024
54b8aac
feat: optimise EVM2EVMMultiOffRamp.executeSingleMessage (#1235)
0xsuryansh Aug 8, 2024
be239b8
undo transferFrom, assert balance in offRamp (#1273)
RensR Aug 9, 2024
2ce22d1
Manual-execute-gas-overrides (#1256)
defistar Aug 9, 2024
9eae858
bump version to 1.5 (#1263)
RensR Aug 9, 2024
de645cb
bump version to 1.5 (#1279)
RensR Aug 9, 2024
bbe2795
update pool func visibility (#1283)
matYang Aug 12, 2024
81e60a5
core/capabilities/ccip: bump chainlink-ccip (#1284)
makramkd Aug 12, 2024
8023fda
open zeppelin v 5 migration (#1281)
RyanRHall Aug 12, 2024
b714905
feat: rateLimiterConfig mapping of localToRemoteTokens to take bytes …
defistar Aug 14, 2024
77020b8
core/capabilities/ccip: bump chainlink-ccip, fix tests (#1291)
makramkd Aug 14, 2024
c510f41
Fix stale comment (#1296)
RensR Aug 15, 2024
5a94c90
add BurnWithFromMintTokenPoolAndProxy (#1287)
RensR Aug 15, 2024
bcfccbc
Adding ooo flag to the PingPong (#1239)
0xnogo Aug 15, 2024
5d79513
fix hh compile and bump publish-prod version (#1299)
RensR Aug 16, 2024
b866aaf
add getPreviousPool (#1312)
RensR Aug 16, 2024
5b61e17
Tooling deployment scaffolding (#1252)
connorwstein Aug 16, 2024
44dad95
CCIP-2594 Add pagination based query of CCIPConfig (#1136)
defistar Aug 19, 2024
8f7bfc5
feat: CCIP-1451 gasUsed for Execution to be emitted along with Execut…
defistar Aug 19, 2024
f2e4479
bump ccip version in license (#1309)
RensR Aug 19, 2024
e862492
core/capabilities/ccip: use commit plugin w/ state machine (#1321)
makramkd Aug 19, 2024
e5e5e29
set more correct gas overheads (#1319)
RensR Aug 19, 2024
08cd77d
fix stale comment (#1327)
RensR Aug 20, 2024
e7341e0
Rename ramps and rmn (#1323)
RensR Aug 20, 2024
49346e4
Add deployment tests in ci (#1337)
AnieeG Aug 21, 2024
1bc98ba
Remove old integration tests for v1.6 (#1346)
asoliman92 Aug 22, 2024
e2e7e4f
feat: PriceRegistry conforms to keystone interface (#1208)
0xsuryansh Aug 22, 2024
50c25ed
fix: CCIP-3095 fix flaky test assertions in offramp tests (#1357)
defistar Aug 23, 2024
dca57f8
Comments cleanup (#1343)
RayXpub Aug 23, 2024
290ccda
RMN home & remote contracts (#1308)
gtklocker Aug 23, 2024
0968c5d
Initialize reader configs when module loads. (#1353)
winder Aug 23, 2024
6f9bbe6
fix ping pong version (#1363)
RensR Aug 26, 2024
ed9aa46
Port v1.5 fixes to v1.6 (#1286)
0xsuryansh Aug 26, 2024
0785c96
Bump chainlink-ccip to dev branch (#1365)
dimkouv Aug 27, 2024
95c98d3
Rename PriceRegistry -> FeeQuoter (#1350)
RensR Aug 27, 2024
1b5a5a2
core/capabilities/ccip: update ccipreader test (#1373)
makramkd Aug 27, 2024
ebc1099
feat: emit msghash with offramp (#1370)
defistar Aug 27, 2024
68d13b7
Multi-Mechanism USDC Token Pools (#1280)
jhweintraub Aug 27, 2024
99d9d28
Use interpolate keys from common (#14262)
nolag Aug 28, 2024
c323e0d
Fixes to capabilities and contracts merges [CCIP-2946] (#14266)
asoliman92 Aug 28, 2024
5fe6eff
Use repo var for JIRA_HOST (#14270)
HenryNguyen5 Aug 29, 2024
7f69993
[OPCORE-863]: fix(service): start multiple feeds managers (#14197)
graham-chainlink Aug 29, 2024
502c289
Merge branch 'develop' of github.com:smartcontractkit/chainlink into …
asoliman92 Aug 29, 2024
73cd293
bump seth to v1.2.1 (#14272)
anirudhwarrier Aug 29, 2024
faf051f
pin CTF version to a tag (#14273)
skudasov Aug 29, 2024
d356f62
DEVSVCS-138: adding billing test and GHA workflow running smoke tests…
iljapavlovs Aug 29, 2024
80a8ed0
add RPC chaos test example for CRIB (#14274)
skudasov Aug 29, 2024
23393e6
wiring through TLSCertPath to SetupTracing (#14224)
patrickhuie19 Aug 29, 2024
7905901
gas limit default value (#14258)
ettec Aug 29, 2024
f7cf307
update mapstructure to the blessed fork, the original is archived and…
nolag Aug 29, 2024
7c248e7
Index DON ID in ConfigSet event (#14241)
cds95 Aug 29, 2024
81733d9
core/services/ocr2/plugins/llo: use write lock during mock read close…
jmank88 Aug 29, 2024
674eac3
[KS-420] Add rate-limiting to Dispatcher (#14239)
bolekk Aug 29, 2024
7e82972
[TT-1423] reusable cleanup vrf (#13939)
Tofel Aug 30, 2024
5bda8af
support default config file overrides (#14090)
patrickhuie19 Aug 30, 2024
561cc2c
Merge branch 'develop' into ccip/capabilities-debug
asoliman92 Aug 30, 2024
77ffa7a
Remove automation related secret keys from toml test config (#14257)
lukaszcl Aug 30, 2024
5fa57cc
Fix VRF CTF Test Lint issue (#14283)
iljapavlovs Aug 30, 2024
b36e731
pin havoc to v0.1.0 (#14284)
skudasov Aug 30, 2024
7cb4959
Fix typo in RMN.sol doc (#1383)
gtklocker Aug 28, 2024
d7c47cb
feat: CCIP-3020 Add AllowList Config struct and implementation (#1335)
defistar Aug 28, 2024
b99a4de
assert fees can be set to zero (#1380)
RensR Aug 29, 2024
3dd8a72
pnpm i && snapshot && forge fmt
RensR Aug 29, 2024
3e28ee6
Run pnpm i & fix Operator.test.ts formatting
asoliman92 Aug 30, 2024
1e77b43
Merge branch 'develop' into ccip/capabilities-debug-contracts-fmt
asoliman92 Aug 30, 2024
45d97f6
make snapshot-all
asoliman92 Aug 30, 2024
7eec696
Merge pull request #14278 from smartcontractkit/ccip/capabilities-deb…
securejavier Aug 30, 2024
1356b65
bump go-plugin; rm replace (#14288)
jmank88 Aug 30, 2024
154ff5f
Make lint-integration-tests job required in PRs (#14287)
lukaszcl Aug 30, 2024
df43633
Merge sbrv (#14259)
Fletch153 Aug 30, 2024
5607fc6
Fix min coverage (#14286)
Tofel Aug 30, 2024
73c41d1
skip deleted proposals when checking `isJobManaged` (#14281)
eutopian Aug 30, 2024
4d5fc19
fail on failure instead of != success (#14295)
Tofel Aug 30, 2024
fc84537
Fix slack notification for client compatibility tests (#14302)
lukaszcl Sep 2, 2024
702fe12
Bump chainlink-testing-framework to remove secret config keys from te…
lukaszcl Sep 2, 2024
85b33fd
ccip 3076/ccip - port deployment tooling (#14298)
AnieeG Sep 2, 2024
5cd0365
integration-tests/deployment/memory: faster lp interval (#14304)
makramkd Sep 2, 2024
c0223e0
Update artifact name in URL search (#14306)
Tofel Sep 2, 2024
0e11561
CODEOWNERS: add ccip-offchain (#14307)
makramkd Sep 2, 2024
2d77ff4
bump gomods (#14296)
jmank88 Sep 2, 2024
e47a681
bump common; rm proxy replace (#14300)
jmank88 Sep 3, 2024
8fa3ebe
Validate trigger event ID before execution (#14314)
DeividasK Sep 3, 2024
12dc328
DEVSVCS-241: cleanup default VRF v2 Plus performance test settings fo…
iljapavlovs Sep 3, 2024
e8c2453
Initial implementation of Configurator for LLO (#14249)
samsondav Sep 3, 2024
2a21b17
feat(ui): update to latest (#14316)
graham-chainlink Sep 3, 2024
39a6f91
[SHIP-3004] ZKSync: implement uptime feed validator (#14245)
jlaveracll Sep 3, 2024
7b7af64
Update EstimateGasLimit config name to EstimateLimit (#14297)
amit-momin Sep 3, 2024
a234e14
Bci 3621/try new estimation for insufficient fund error instead of re…
huangzhen1997 Sep 3, 2024
1ea9f79
FeeHistory estimator (#13833)
dimriou Sep 4, 2024
f7fec9c
core/services/chainlink: normalize feature config (#14324)
jmank88 Sep 4, 2024
1a2b7b6
Mark terminally stuck transaction pending task runs as failure (#14282)
amit-momin Sep 4, 2024
8490c96
MERC-6190: Remove bid/ask fields from Mercury v4 schema (#14252)
martin-cll Sep 4, 2024
74fa74f
add docker image and binary attestation and gen sboms (#14267)
momentmaker Sep 4, 2024
0befa70
golangci-lint: fix some issues (#14322)
jmank88 Sep 4, 2024
b71e692
Automation - Lock reads and writes from and to the ConfigDigest (#14313)
ferglor Sep 4, 2024
544ded0
[CCIP-3087] Set nonce manager config for chain reader. Tests. (#14318)
winder Sep 4, 2024
3ba567d
[TT-1600] corrected handling of tags (#14312)
Tofel Sep 4, 2024
8853040
Fix linting in CI for new issues (#14335)
chainchad Sep 4, 2024
33e6a0c
Bump version and update CHANGELOG fore core v2.16.0 (#14264)
chainchad Sep 4, 2024
2761cd5
[BCI-3988] - FilteredLogs receive []Expression instead of whole KeyFi…
Farber98 Sep 4, 2024
c97838d
bump solana e2e tests (#14332)
aalu1418 Sep 4, 2024
9ce13a1
bump Seth to v1.50.1 (#14342)
Tofel Sep 5, 2024
c83c687
[CCIP-3360] contracts/src/v0.8/ccip: merge latest changes from the cc…
makramkd Sep 5, 2024
5d1bf6e
ran nix flake update (#14344)
rafaelfelix Sep 5, 2024
70223b9
Switch CTF path to lib (#14319)
skudasov Sep 5, 2024
2f4f446
update enforce CTF version (#14351)
skudasov Sep 5, 2024
adb3c95
Add node level OOC error (#14315)
friedemannf Sep 5, 2024
920413c
Added ChainWriter to ChainComponents interface tests (#13735)
silaslenihan Sep 5, 2024
718e885
Update chainlink-ccip. (#14352)
winder Sep 5, 2024
b1c59dd
add gateway connector capability config (#14325)
DavidOrchard Sep 5, 2024
606e530
[TT-1609] Notify about compatibility pipeline failure if building ima…
Tofel Sep 6, 2024
1633c82
Add E2E configs for VRFv2Plus tests and update related Github Workflo…
lukaszcl Sep 6, 2024
57cec53
TT-1602 Add docs about E2E Github Workflows (#14330)
lukaszcl Sep 6, 2024
792d85d
Fix readme (#14363)
lukaszcl Sep 6, 2024
72f4cc8
Core changes for changing Execute Capability API to sync (#14317)
ettec Sep 6, 2024
8f46d81
update README with section about cosign verify (#14338)
momentmaker Sep 9, 2024
cd8be70
[CAPPL-20] Support per-method handlers in GatewayConnector (#14367)
bolekk Sep 9, 2024
bf6618d
LogBroadcaster feature flag (#14354)
huangzhen1997 Sep 9, 2024
0efcf38
[SHIP-3557] Update L2EP inline comment (#14371)
jlaveracll Sep 9, 2024
c1878f7
[BCF-3143] multiple address bindings (#13992)
EasterTheBunny Sep 9, 2024
01b6405
integration-tests/load: sort go.mod (#14349)
jmank88 Sep 9, 2024
340d0dd
test(smoke): register multiple job distributors (#14327)
graham-chainlink Sep 10, 2024
0220e69
bump ctf (#14380)
skudasov Sep 10, 2024
915b01b
bump chainlink-ccip and fix tests (#14374)
makramkd Sep 10, 2024
b09fdb7
add missing $ before variable name (#14379)
Tofel Sep 10, 2024
ed6736e
fix changes step name (#14381)
Tofel Sep 10, 2024
5c37f41
TT-1307 Refactor other VRFv2 Plus Github Workflows to use E2E Reusabl…
lukaszcl Sep 10, 2024
7ec7f55
golangci-lint: fix issues (#14384)
jmank88 Sep 10, 2024
fffc2a4
Fix test image version (#14386)
lukaszcl Sep 10, 2024
72ea6b6
bumping wsrpc to v0.8.2 (#14372)
patrickhuie19 Sep 10, 2024
e2522fd
BCF-3380 Rename ChainReader imports to ContractReader to match common…
ilija42 Sep 10, 2024
0e03149
updating codeowners so CCIP is aware of updates to ccip smoke tests +…
patrickhuie19 Sep 10, 2024
150634e
Bump cosmos (#14393)
ilija42 Sep 10, 2024
f202bcf
DEVSVCS-98: update contract versions and small fixes (#14390)
FelixFan1992 Sep 11, 2024
070b272
Updates to the Write Target capability (#14350)
DeividasK Sep 11, 2024
cd72f93
fix: golangci-lint-action working directory bug (#14387)
momentmaker Sep 11, 2024
356c70c
Productionize LLO transmitter (#14355)
samsondav Sep 11, 2024
51cb378
[CAPPL-19] Gateway Connector service wrapper (#14356)
DavidOrchard Sep 11, 2024
6592481
Fix CCIP Load Tests in Core Repo (#14268)
kalverra Sep 11, 2024
b9d95c5
Update STYLE_GUIDE.md (#14402)
RensR Sep 11, 2024
bfb66fa
[CAPPL-20] Pass GatewayConnector to standard capability Delegate (#14…
bolekk Sep 11, 2024
bd62d0d
Add better error handling (#14395)
HenryNguyen5 Sep 11, 2024
28989b3
[BCF-3381] - Implement changeset LatestHead #521 (#14394)
ilija42 Sep 11, 2024
8454f46
integrate beholder client (#14110)
jmank88 Sep 11, 2024
9a3e76a
.github/pull_request_template.md: shorter (#14404)
jmank88 Sep 11, 2024
a2514d7
[TT-1546] change the parameter of chains' Confirm() function (#14388)
Tofel Sep 12, 2024
6f8de60
Add doc (#14359)
dimriou Sep 12, 2024
3ad2953
Chore/devsvcs 499 (#14408)
iljapavlovs Sep 12, 2024
f6443a1
Change TelemetryIngress.UniConn default to false (#14401)
george-dorin Sep 12, 2024
882cdce
Remove PriceMin check from attempt builder (#14370)
dimriou Sep 12, 2024
814538b
DEVSVCS-134: adding readme on how to run VRF CTF tests (#14409)
iljapavlovs Sep 12, 2024
2a66724
DEVSVCS-134: minor updates to README and testconfig (#14419)
iljapavlovs Sep 13, 2024
5ec7cbb
AddChain inbound CCIP integration test (#14377)
connorwstein Sep 13, 2024
a3f97b8
Update the code owner of `feeds` service from FMS group to OPCORE (#…
ro-tex Sep 13, 2024
baf36ec
added unimplemented contract reader (#14413)
EasterTheBunny Sep 13, 2024
2c70edc
Query exact wasmvm module rather than parsing all (#14425)
HenryNguyen5 Sep 14, 2024
9328ed8
Do not hide logs for passing tests (#14421)
lukaszcl Sep 16, 2024
530207e
chore: udpate comments seciton in styleguide (#14435)
RayXpub Sep 16, 2024
a2c03fc
Replacing TokenDataReader with Noop impl for chainlink-ccip (#14418)
mateusz-sekara Sep 16, 2024
7a06f5f
CCIP-3391:Port reorg test from CCIP (#14385)
b-gopalswami Sep 16, 2024
ac3523a
CCIP-3055 Creating Local docker tests for ccip smoke (#14357)
AnieeG Sep 16, 2024
d5b88d7
fix make test-short (#14428)
jmank88 Sep 16, 2024
f6f7dc1
integration-tests/load: go.mod cleanup (#14429)
jmank88 Sep 16, 2024
6814bce
feat(ui): update to latest (#14438)
graham-chainlink Sep 16, 2024
4be0665
MERC 3653 channel definition cache orm cleanup deletes (#14389)
samsondav Sep 16, 2024
0187f18
Add commit offchain config in OracleCreator (#14423)
asoliman92 Sep 16, 2024
d14a9b5
exclude sourcegraph missing dependency (#14446)
skudasov Sep 16, 2024
3c5bdf8
ccip - EVM Implementation of RMNCrypto interface (#14416)
dimkouv Sep 17, 2024
37c5a2f
Added check to not fetch mercury prices when trigger capability is en…
karen-stepanyan Sep 17, 2024
e514727
Fix multichain keybundle (#14369)
archseer Sep 17, 2024
52b480f
[KS-365] Batch identical trigger events (#14398)
bolekk Sep 17, 2024
ab5a2c6
Implement v0.3-compatible telemetry for LLO (#14440)
samsondav Sep 17, 2024
bc177cb
CCIP-3407: Add release testing configs (#1436) (#14463)
b-gopalswami Sep 17, 2024
a7348f0
Delegate workflow spec creation (#14365)
nolag Sep 17, 2024
3f83f9e
Enables OOO Execution for E2E Tests (#14392)
kalverra Sep 18, 2024
b1fdcd9
[DEVSVCS-545] automation benchmark test remove support for keepers v1…
anirudhwarrier Sep 18, 2024
aa04bfa
Upgrade chainlink ccip dependency (#14474)
dimkouv Sep 18, 2024
dc998f1
Fix E2E_TESTS_ON_GITHUB_CI.md (#14473)
lukaszcl Sep 18, 2024
a9a4f74
Mantle use vanilla l1 oracle (#14471)
matYang Sep 18, 2024
767aed2
[DEVSVCS-545] cleanup (#14478)
anirudhwarrier Sep 18, 2024
358fc17
Merc 6304 view function ea telem support (#14467)
akuzni2 Sep 18, 2024
5885454
DF-20481: Add new OCR3DataFeeds telemetry type for Mercury jobs (#14470)
austinborn Sep 18, 2024
1a5e591
devsvcs-244: update token transfer (#14481)
FelixFan1992 Sep 18, 2024
7d369d7
chore: remove gha workflow validation (#14487)
erikburt Sep 18, 2024
d64834a
integration-tests/deployment/ccip: fix assertion fns (#14482)
makramkd Sep 18, 2024
328b62a
[BCFR-203] Improve CR value comparator querying (topics and data word…
ilija42 Sep 18, 2024
1a9f269
fix lint issues (#14450)
jmank88 Sep 18, 2024
6dcf219
Update to 1.5 RMN contract address (#14485)
b-gopalswami Sep 19, 2024
ac094f7
Add default test config for Grafana (#14475)
lukaszcl Sep 19, 2024
ef5b9a7
vrf: add soneium config for integration tests (#14443)
leeyikjiun Sep 19, 2024
66bced9
core/config/toml: include value in InsecureConnection error message (…
jmank88 Sep 19, 2024
7ffbfbf
CCIP-3428 Enabling ccip smoke test for testnet (#14452)
AnieeG Sep 19, 2024
e9a9444
[TT-1345] option to use predeployed contracts in OCR tests (#13758)
Tofel Sep 19, 2024
0aa5985
CCIP-3420: Fix IsRequestTriggeredWithinTimeframe (#1445) (#14498)
b-gopalswami Sep 19, 2024
d2a01ca
Bring KMS client and multiclient over to chainlink (#14484)
ogtownsend Sep 19, 2024
3a89dce
use tx in insertLogsWithinTx (#14361)
dhaidashenko Sep 19, 2024
014a9f5
Fix CCIP Load Test Faulty Fund Return (#14499)
kalverra Sep 19, 2024
7b324ca
Fix data race in TestLogPoller_Replay (#14431)
reductionista Sep 19, 2024
1e39e3c
[BCFR-198] - Simplify Chain Reader event init (#14493)
ilija42 Sep 20, 2024
22a8c99
Add feed chain deployment test (#14461)
asoliman92 Sep 20, 2024
d2d9568
MERC-6299 Skip telemetry for market status bridges (#14415)
martin-cll Sep 20, 2024
4f9ed64
add ccip goreleaser build (#14439)
momentmaker Sep 20, 2024
ec585d4
devsvcs-514: update debugging script (#14502)
FelixFan1992 Sep 20, 2024
85a8d09
Hedera int with TXM fixes & config (#14129)
simsonraj Sep 20, 2024
10f7aab
DF-20372 (pt 2): Update Streams PluginConfig checks and FeedID parsin…
austinborn Sep 20, 2024
674605e
Ccip-3398 populate state initial PR (#14391)
AnieeG Sep 20, 2024
360ecfb
core/capabilities/ccip: bump chainlink-ccip, fix build (#14506)
makramkd Sep 20, 2024
51715aa
[DEVSVCS-547] option to use pre-deployed contracts in Automation test…
anirudhwarrier Sep 23, 2024
7761258
add CTF deps to dependabot (#14517)
skudasov Sep 23, 2024
359feff
TT-1550 Migrate remaining E2E workflows to the reusable workflow (#14…
lukaszcl Sep 23, 2024
0799e6e
Bump CTF (#14518)
lukaszcl Sep 23, 2024
5acca37
support new heads polling over http rpc client (#14373)
huangzhen1997 Sep 23, 2024
27d5cbf
BCFR-888 LP support chains that have not reached finality yet (#14366)
dhaidashenko Sep 23, 2024
31874ba
BCI-3668 Optimise HeadTracker's memory usage (#14130)
dhaidashenko Sep 23, 2024
ef77fac
Remove unused workflow for e2e tests (#14520)
lukaszcl Sep 23, 2024
f74ac81
[TT-1693] try more universal Solidity scripts (#14436)
Tofel Sep 23, 2024
818498a
TT-1459 Use CTF actions from .github repo (#14522)
lukaszcl Sep 23, 2024
469e04f
[TT-1747] fix core changeset (#14524)
Tofel Sep 23, 2024
2b1e8ad
Change Polygon zkEVM to use FeeHistory estimator (#14161)
friedemannf Sep 23, 2024
c7a16eb
CCIP-3416 paginate token admin registry get all tokens call (#14514)
ogtownsend Sep 23, 2024
f1b310b
CCIP 3388 - add offramp generation (#14526)
ogtownsend Sep 23, 2024
6a39c12
Deployment tooling (#14533)
connorwstein Sep 23, 2024
6b30027
Fix state view (#14532)
connorwstein Sep 23, 2024
b634d36
Bump owner dep (#14531)
connorwstein Sep 23, 2024
6017044
Add regression testing for pruning bug (#14454)
reductionista Sep 24, 2024
76addb1
Fix skipped notification in E2E test workflow (#14538)
lukaszcl Sep 24, 2024
b4360c9
[TT-1624] link PR to solidity review issue (#14521)
Tofel Sep 24, 2024
0e32c07
CCIP-2881 USDC Reader integration tests (#14516)
mateusz-sekara Sep 24, 2024
ae53758
update Smoke Test TestAutomationBasic to load pre-deployed contracts …
anirudhwarrier Sep 24, 2024
1d6a88e
Soneium configs (#14486)
simsonraj Sep 24, 2024
8905e88
Keystone aptos scripts (#14539)
archseer Sep 24, 2024
d9894d1
Add Zircuit Configs (#14541)
friedemannf Sep 24, 2024
295f8c7
Fix CCIP Load Test (#14525)
kalverra Sep 24, 2024
ae41018
release 2.16.0 to develop (#14544)
momentmaker Sep 24, 2024
8854def
Update workflows for E2E tests (#14540)
lukaszcl Sep 24, 2024
8b37da5
fixing make gomodtidy (#14555)
patrickhuie19 Sep 24, 2024
3480f98
reduce tests image size and build time (#14519)
anirudhwarrier Sep 25, 2024
6f6e6b4
[TT-1678] Update changesets to new format (#14542)
Tofel Sep 25, 2024
700dd7c
add support for passing in the values.Values type into the contract r…
ettec Sep 25, 2024
c4fa565
Change KeystoneForwarder routing gas accounting (#14543)
DeividasK Sep 25, 2024
bed8240
Bump version and update CHANGELOG fore core v2.17.0
momentmaker Sep 25, 2024
5ebb632
Finalize date on changelog for 2.17.0 (#14714)
chainchad Oct 10, 2024
5e185bf
Merge tag 'v2.17.0' into mk/merge-v2.17
makramkd Oct 22, 2024
93c0a85
Merge branch 'ccip-develop' into mk/merge-v2.17
makramkd Oct 22, 2024
590bce5
Post merge fixes
makramkd Oct 22, 2024
ba786c2
Merge develop
b-gopalswami Oct 28, 2024
d4537bb
Merge branch 'ccip-develop' of github.com:smartcontractkit/ccip into …
b-gopalswami Oct 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add support for passing in the values.Values type into the contract r…
…eaders GetLatestValue and QueryKey methods (#14488)
  • Loading branch information
ettec authored Sep 25, 2024
commit 700dd7c074706b1a5fa89328876bdc4f3d39e025
5 changes: 5 additions & 0 deletions .changeset/silly-zebras-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal add support for values.Value type in the contract reader GetLatestValue and QueryKey methods
2 changes: 1 addition & 1 deletion core/scripts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require (
github.com/prometheus/client_golang v1.20.0
github.com/shopspring/decimal v1.4.0
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc
github.com/smartcontractkit/chainlink/v2 v2.0.0-00010101000000-000000000000
github.com/smartcontractkit/libocr v0.0.0-20240717100443-f6226e09bee7
github.com/spf13/cobra v1.8.1
Expand Down
4 changes: 2 additions & 2 deletions core/scripts/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1083,8 +1083,8 @@ github.com/smartcontractkit/chainlink-automation v1.0.4 h1:iyW181JjKHLNMnDleI8um
github.com/smartcontractkit/chainlink-automation v1.0.4/go.mod h1:u4NbPZKJ5XiayfKHD/v3z3iflQWqvtdhj13jVZXj/cM=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283 h1:f0vdqcOL9kJZwfmWE76roIyEuiZx/R82js0IfXNAvXg=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283/go.mod h1:KP82vFCqm+M1G1t6Vos5CewGUGYJkxxCEdxnta4uLlE=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420 h1:+xNnYYgkxzKUIkLCOfzfAKUxeLLtuxlalDI70kNJ8No=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420/go.mod h1:zm+l8gN4LQS1+YvwQDhRz/njirVeWGNiDJKIhCGwaoQ=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc h1:ALbyaoRzUSXQ2NhGFKVOyJqO22IB5yQjhjKWbIZGbrI=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc/go.mod h1:F6WUS6N4mP5ScwpwyTyAJc9/vjR+GXbMCRUOVekQi1g=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7 h1:lTGIOQYLk1Ufn++X/AvZnt6VOcuhste5yp+C157No/Q=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7/go.mod h1:BMYE1vC/pGmdFSsOJdPrAA0/4gZ0Xo0SxTMdGspBtRo=
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240916152957-433914114bd2 h1:yRk4ektpx/UxwarqAfgxUXLrsYXlaNeP1NOwzHGrK2Q=
Expand Down
54 changes: 52 additions & 2 deletions core/services/relay/evm/chain_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
commontypes "github.com/smartcontractkit/chainlink-common/pkg/types"
"github.com/smartcontractkit/chainlink-common/pkg/types/query"
"github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives"
"github.com/smartcontractkit/chainlink-common/pkg/values"

evmclient "github.com/smartcontractkit/chainlink/v2/core/chains/evm/client"
"github.com/smartcontractkit/chainlink/v2/core/chains/evm/logpoller"
Expand Down Expand Up @@ -176,7 +177,28 @@ func (cr *chainReader) GetLatestValue(ctx context.Context, readName string, conf
return err
}

return binding.GetLatestValue(ctx, common.HexToAddress(address), confidenceLevel, params, returnVal)
ptrToValue, isValue := returnVal.(*values.Value)
if !isValue {
return binding.GetLatestValue(ctx, common.HexToAddress(address), confidenceLevel, params, returnVal)
}

contractType, err := cr.CreateContractType(readName, false)
if err != nil {
return err
}

if err = cr.GetLatestValue(ctx, readName, confidenceLevel, params, contractType); err != nil {
return err
}

value, err := values.Wrap(contractType)
if err != nil {
return err
}

*ptrToValue = value

return nil
}

func (cr *chainReader) BatchGetLatestValues(ctx context.Context, request commontypes.BatchGetLatestValuesRequest) (commontypes.BatchGetLatestValuesResult, error) {
Expand All @@ -195,7 +217,35 @@ func (cr *chainReader) QueryKey(
return nil, err
}

return binding.QueryKey(ctx, common.HexToAddress(address), filter, limitAndSort, sequenceDataType)
_, isValuePtr := sequenceDataType.(*values.Value)
if !isValuePtr {
return binding.QueryKey(ctx, common.HexToAddress(address), filter, limitAndSort, sequenceDataType)
}

dataTypeFromReadIdentifier, err := cr.CreateContractType(contract.ReadIdentifier(filter.Key), false)
if err != nil {
return nil, err
}

sequence, err := binding.QueryKey(ctx, common.HexToAddress(address), filter, limitAndSort, dataTypeFromReadIdentifier)
if err != nil {
return nil, err
}

sequenceOfValues := make([]commontypes.Sequence, len(sequence))
for idx, entry := range sequence {
value, err := values.Wrap(entry.Data)
if err != nil {
return nil, err
}
sequenceOfValues[idx] = commontypes.Sequence{
Cursor: entry.Cursor,
Head: entry.Head,
Data: &value,
}
}

return sequenceOfValues, nil
}

func (cr *chainReader) CreateContractType(readIdentifier string, forEncoding bool) (any, error) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ require (
github.com/smartcontractkit/chain-selectors v1.0.23
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240916152957-433914114bd2
github.com/smartcontractkit/chainlink-feeds v0.0.0-20240910155501-42f20443189f
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1044,8 +1044,8 @@ github.com/smartcontractkit/chainlink-automation v1.0.4 h1:iyW181JjKHLNMnDleI8um
github.com/smartcontractkit/chainlink-automation v1.0.4/go.mod h1:u4NbPZKJ5XiayfKHD/v3z3iflQWqvtdhj13jVZXj/cM=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283 h1:f0vdqcOL9kJZwfmWE76roIyEuiZx/R82js0IfXNAvXg=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283/go.mod h1:KP82vFCqm+M1G1t6Vos5CewGUGYJkxxCEdxnta4uLlE=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420 h1:+xNnYYgkxzKUIkLCOfzfAKUxeLLtuxlalDI70kNJ8No=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420/go.mod h1:zm+l8gN4LQS1+YvwQDhRz/njirVeWGNiDJKIhCGwaoQ=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc h1:ALbyaoRzUSXQ2NhGFKVOyJqO22IB5yQjhjKWbIZGbrI=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc/go.mod h1:F6WUS6N4mP5ScwpwyTyAJc9/vjR+GXbMCRUOVekQi1g=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7 h1:lTGIOQYLk1Ufn++X/AvZnt6VOcuhste5yp+C157No/Q=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7/go.mod h1:BMYE1vC/pGmdFSsOJdPrAA0/4gZ0Xo0SxTMdGspBtRo=
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240916152957-433914114bd2 h1:yRk4ektpx/UxwarqAfgxUXLrsYXlaNeP1NOwzHGrK2Q=
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ require (
github.com/smartcontractkit/chain-selectors v1.0.23
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc
github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.0
github.com/smartcontractkit/chainlink-testing-framework/lib v1.50.9
github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.50.0
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1425,8 +1425,8 @@ github.com/smartcontractkit/chainlink-automation v1.0.4 h1:iyW181JjKHLNMnDleI8um
github.com/smartcontractkit/chainlink-automation v1.0.4/go.mod h1:u4NbPZKJ5XiayfKHD/v3z3iflQWqvtdhj13jVZXj/cM=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283 h1:f0vdqcOL9kJZwfmWE76roIyEuiZx/R82js0IfXNAvXg=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283/go.mod h1:KP82vFCqm+M1G1t6Vos5CewGUGYJkxxCEdxnta4uLlE=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420 h1:+xNnYYgkxzKUIkLCOfzfAKUxeLLtuxlalDI70kNJ8No=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420/go.mod h1:zm+l8gN4LQS1+YvwQDhRz/njirVeWGNiDJKIhCGwaoQ=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc h1:ALbyaoRzUSXQ2NhGFKVOyJqO22IB5yQjhjKWbIZGbrI=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc/go.mod h1:F6WUS6N4mP5ScwpwyTyAJc9/vjR+GXbMCRUOVekQi1g=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7 h1:lTGIOQYLk1Ufn++X/AvZnt6VOcuhste5yp+C157No/Q=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7/go.mod h1:BMYE1vC/pGmdFSsOJdPrAA0/4gZ0Xo0SxTMdGspBtRo=
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240916152957-433914114bd2 h1:yRk4ektpx/UxwarqAfgxUXLrsYXlaNeP1NOwzHGrK2Q=
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/load/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.33.0
github.com/slack-go/slack v0.12.2
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc
github.com/smartcontractkit/chainlink-testing-framework/lib v1.50.9
github.com/smartcontractkit/chainlink-testing-framework/seth v1.50.1
github.com/smartcontractkit/chainlink-testing-framework/wasp v1.50.0
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1399,8 +1399,8 @@ github.com/smartcontractkit/chainlink-automation v1.0.4 h1:iyW181JjKHLNMnDleI8um
github.com/smartcontractkit/chainlink-automation v1.0.4/go.mod h1:u4NbPZKJ5XiayfKHD/v3z3iflQWqvtdhj13jVZXj/cM=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283 h1:f0vdqcOL9kJZwfmWE76roIyEuiZx/R82js0IfXNAvXg=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20240924115754-8858b0423283/go.mod h1:KP82vFCqm+M1G1t6Vos5CewGUGYJkxxCEdxnta4uLlE=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420 h1:+xNnYYgkxzKUIkLCOfzfAKUxeLLtuxlalDI70kNJ8No=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240919092417-53e784c2e420/go.mod h1:zm+l8gN4LQS1+YvwQDhRz/njirVeWGNiDJKIhCGwaoQ=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc h1:ALbyaoRzUSXQ2NhGFKVOyJqO22IB5yQjhjKWbIZGbrI=
github.com/smartcontractkit/chainlink-common v0.2.3-0.20240925085218-aded1b263ecc/go.mod h1:F6WUS6N4mP5ScwpwyTyAJc9/vjR+GXbMCRUOVekQi1g=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7 h1:lTGIOQYLk1Ufn++X/AvZnt6VOcuhste5yp+C157No/Q=
github.com/smartcontractkit/chainlink-cosmos v0.4.1-0.20240911175228-daf2600bb7b7/go.mod h1:BMYE1vC/pGmdFSsOJdPrAA0/4gZ0Xo0SxTMdGspBtRo=
github.com/smartcontractkit/chainlink-data-streams v0.0.0-20240916152957-433914114bd2 h1:yRk4ektpx/UxwarqAfgxUXLrsYXlaNeP1NOwzHGrK2Q=
Expand Down