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

Release 2.10.1 vrf v2.5 20240327 updates #12620

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
aef784d
support billing config (#12310)
shileiwill Mar 8, 2024
82a235e
convert link/native to link/usd and native/usd (#12309)
RyanRHall Mar 8, 2024
984a02c
Add support for eth_getLogs to simulated_backend_client.go (#12360)
reductionista Mar 11, 2024
bbce531
fulfillRandomWords msg.data length validation (#12325)
kidambisrinivas Mar 11, 2024
97b5f8b
VRF flat fee config validation (#12355)
kidambisrinivas Mar 12, 2024
ce933fa
Explicit bounds for premium config params in VRFCoordinatorV2_5 (#12314)
ibrajer Mar 12, 2024
a461fd6
Combine setLink and setLinkNativeFeed into a single function (#12368)
leeyikjiun Mar 12, 2024
80b1737
VRF-923-VRF-V2-Plus-Wrapper-Remove-amount-from-withdraw-and-withdrawN…
leeyikjiun Mar 13, 2024
e45df07
Fix TOB-7 lack of event generation (#12318)
leeyikjiun Mar 13, 2024
2513c33
Link liquidity pool, add withdraw functions for finance team and som…
shileiwill Mar 13, 2024
c2a385e
add changesets for chainlink contracts (#12399)
momentmaker Mar 13, 2024
93e4866
reserveAmounts to be a map to take ERC20s. (#12413)
shileiwill Mar 13, 2024
ceb6c8b
HeadTracker finalization support (#12082)
dhaidashenko Mar 13, 2024
29b2509
auto plugin versioning (#12248)
FelixFan1992 Mar 13, 2024
0ff0930
soft delete nonce in s_consumers so that request IDs do not repeat. W…
jinhoonbang Mar 14, 2024
1db86d7
remove registerUpkeep from common interface (#12431)
FelixFan1992 Mar 14, 2024
af9e99e
Refactor EVM ORMs (#11899)
DylanTinianov Mar 14, 2024
d7d2fb6
bump common for sqlutil.DB -> DataSource rename (#12435)
jmank88 Mar 14, 2024
7b10df6
CTF test for replaying req after node restart (#12410)
kidambisrinivas Mar 14, 2024
15065da
add workflow that verifies compatibility with different versions of e…
Tofel Mar 15, 2024
072e790
pending request counter in vrf v2.5 coordinator (#12425)
jinhoonbang Mar 18, 2024
5a4eb1e
use common interface for v2.3 (#12443)
shileiwill Mar 18, 2024
24f78d5
Add array of all request times to VRF load test consumers (#12464)
vreff Mar 18, 2024
b28d6e9
[WIP] Auto 9112 convert registry / registrar to use billing token (#1…
RyanRHall Mar 18, 2024
219e7d1
refactor foundry automation tests (#12472)
RyanRHall Mar 18, 2024
8da217e
Add missing modifier to vrfv2pluswrapper requestRandomWordsInNative (…
leeyikjiun Mar 19, 2024
cdb85e4
VRF-951-Missing-Zero-Address-Check (#12483)
leeyikjiun Mar 19, 2024
bfd9ad1
write happy path tests for automation23 registrar registerUpkeep() (#…
RyanRHall Mar 19, 2024
27f5da4
Automation logic C contract (#12497)
RyanRHall Mar 19, 2024
199b745
Refactor registry 2.3 foundry tests (#12499)
RyanRHall Mar 19, 2024
926b161
Misc changes (#12489)
kidambisrinivas Mar 20, 2024
d7b9e9d
VRF-950-Fix-SP-5-setLinkToken-Is-Publicly-Exposed (#12504)
leeyikjiun Mar 20, 2024
0911184
Update VRFV2PlusWrapper billing parameters to mirror VRFCoordinatorV2…
leeyikjiun Mar 20, 2024
6c97f7f
Adding helper for converting pub key into secp256k1 public key (#12510)
kidambisrinivas Mar 20, 2024
352f03a
set solc version of VRF V2 Plus related contracts to 0.8.19 (#12479)
jinhoonbang Mar 20, 2024
3ccff54
VRF-897: refactoring VRF v2 and V2 Plus e2e tests (#12208)
iljapavlovs Mar 21, 2024
46bc9c7
increase num optimizations for coordinator v2.5 to 500 (#12531)
jinhoonbang Mar 21, 2024
186e658
VRFV2PlusWrapper support for reusing the same subsciption (#12529)
ibrajer Mar 22, 2024
d56d93c
Bump solhint & npm cleanup (#12565)
RensR Mar 25, 2024
b5344e7
VRFV2PlusWrapper config refactor (#12581)
kidambisrinivas Mar 26, 2024
4a06bc8
Set LINK native feed in VRFV2PlusWrapper to immutable (#12592)
ibrajer Mar 26, 2024
10d6711
mv vrf foundry tests (#12613)
RensR Mar 27, 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
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/gentle-cups-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

added logic C contract to automation 2.3
5 changes: 5 additions & 0 deletions .changeset/giant-hotels-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

remove registerUpkeep from auto v21 common
5 changes: 5 additions & 0 deletions .changeset/gorgeous-crabs-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Soft delete consumer nonce in VRF coordinator v2.5
5 changes: 5 additions & 0 deletions .changeset/healthy-toes-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

HeadTracker now respects the `FinalityTagEnabled` config option. If the flag is enabled, HeadTracker backfills blocks up to the latest finalized block provided by the corresponding RPC call. To address potential misconfigurations, `HistoryDepth` is now calculated from the latest finalized block instead of the head. NOTE: Consumers (e.g. TXM and LogPoller) do not fully utilize Finality Tag yet.
12 changes: 12 additions & 0 deletions .changeset/hot-pets-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"chainlink": minor
---

- Misc VRF V2+ contract changes
- Reuse struct RequestCommitmentV2Plus from VRFTypes
- Fix interface name IVRFCoordinatorV2PlusFulfill in BatchVRFCoordinatorV2Plus to avoid confusion with IVRFCoordinatorV2Plus.sol
- Remove unused errors
- Rename variables for readability
- Fix comments
- Minor gas optimisation (++i)
- Fix integration tests
5 changes: 5 additions & 0 deletions .changeset/hungry-seas-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

refactor foundry tests for auto 2.3
5 changes: 5 additions & 0 deletions .changeset/kind-crabs-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Helper VRF CLI command
5 changes: 5 additions & 0 deletions .changeset/large-games-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

VRFV2PlusWrapper contract: subID param added to the constructor, removed migrate() method
5 changes: 5 additions & 0 deletions .changeset/mighty-timers-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

make reserveAmounts to be a map
5 changes: 5 additions & 0 deletions .changeset/moody-ligers-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Add new pipeline for testing EVM node compatibility on go-ethereum dependency bump
5 changes: 5 additions & 0 deletions .changeset/nasty-humans-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

add pending request counter for vrf v2.5 coordinator
5 changes: 5 additions & 0 deletions .changeset/odd-mugs-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Set LINK native feed in VRFV2PlusWrapper to immutable
5 changes: 5 additions & 0 deletions .changeset/pretty-fishes-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

VRF V2+ Coordinator msg.data len validation
5 changes: 5 additions & 0 deletions .changeset/shiny-forks-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Helper VRF CLI command
5 changes: 5 additions & 0 deletions .changeset/shy-jobs-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

use common interface for v2.3
5 changes: 5 additions & 0 deletions .changeset/stale-sloths-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

update solc version for vrf v2.5 coordinators
5 changes: 5 additions & 0 deletions .changeset/strong-ears-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Refactor EVM ORMs to remove pg dependency
5 changes: 5 additions & 0 deletions .changeset/stupid-ducks-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

increase num optimizations to 500 for vrf v2.5 coordinator
5 changes: 5 additions & 0 deletions .changeset/swift-bobcats-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

add liquidity pool for automation 2.3
5 changes: 5 additions & 0 deletions .changeset/tasty-buckets-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Validation for premium limits added to VRFCoordinatorV2_5 contract
5 changes: 5 additions & 0 deletions .changeset/warm-chefs-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

add version support for automation registry 2.\*
5 changes: 5 additions & 0 deletions .changeset/warm-owls-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Add support for eth_getLogs & finality tags in simulated_backend_client.go
5 changes: 5 additions & 0 deletions .changeset/wicked-gorillas-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

VRFV2PlusWrapper config refactor
5 changes: 5 additions & 0 deletions .changeset/wild-walls-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Validate if flat fee configs are configured correctly
9 changes: 5 additions & 4 deletions .github/actions/notify-slack-jobs-result/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ runs:
# I feel like there's some clever, fully jq way to do this, but I ain't got the motivation to figure it out
echo "Querying test results at https://api.github.com/repos/${{inputs.github_repository}}/actions/runs/${{ inputs.workflow_run_id }}/jobs"

# we can get a maximum of 100 jobs per page, after that we need to start using pagination
PARSED_RESULTS=$(curl \
-H "Authorization: Bearer ${{ inputs.github_token }}" \
'https://api.github.com/repos/${{inputs.github_repository}}/actions/runs/${{ inputs.workflow_run_id }}/jobs' \
'https://api.github.com/repos/${{inputs.github_repository}}/actions/runs/${{ inputs.workflow_run_id }}/jobs?per_page=100' \
| jq -r --arg pattern "${{ inputs.github_job_name_regex }}" '.jobs[]
| select(.name | test($pattern)) as $job
| $job.steps[]
Expand All @@ -59,9 +60,9 @@ runs:

echo all_success=$ALL_SUCCESS >> $GITHUB_OUTPUT

FORMATTED_RESULTS=$(echo $PARSED_RESULTS | jq -s '[.[]
| {
conclusion: .conclusion,
FORMATTED_RESULTS=$(echo $PARSED_RESULTS | jq -s '[.[]
| {
conclusion: .conclusion,
cap: .cap,
html_url: .html_url
}
Expand Down
27 changes: 27 additions & 0 deletions .github/actions/setup-create-base64-config/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ inputs:
description: Grafana URL
grafanaDashboardUrl:
description: Grafana dashboard URL
ethExecutionClient:
description: Ethereum execution client to use (geth, besu, nethermind or erigon)
customEthClientDockerImage:
description: custom docker image to use for eth client (e.g. hyperledger/besu:21.10.0)

runs:
using: composite
Expand All @@ -58,6 +62,8 @@ runs:
LOGSTREAM_LOG_TARGETS: ${{ inputs.logstreamLogTargets }}
GRAFANA_URL: ${{ inputs.grafanaUrl }}
GRAFANA_DASHBOARD_URL: ${{ inputs.grafanaDashboardUrl }}
ETH_EXECUTION_CLIENT: ${{ inputs.ethExecutionClient }}
CUSTOM_ETH_CLIENT_DOCKER_IMAGE: ${{ inputs.customEthClientDockerImage }}
run: |
echo ::add-mask::$CHAINLINK_IMAGE
function convert_to_toml_array() {
Expand Down Expand Up @@ -88,6 +94,21 @@ runs:
test_log_collect=false
fi

custom_images=""
ethereum_version=""

if [ -n "$CUSTOM_ETH_CLIENT_DOCKER_IMAGE" ]; then
ethereum_version="ethereum_version=\"\""
custom_images+="[PrivateEthereumNetwork.CustomDockerImages]"
custom_images+=$'\n'"execution_layer=\"$CUSTOM_ETH_CLIENT_DOCKER_IMAGE\""
fi

if [ -n "$ETH_EXECUTION_CLIENT" ]; then
execution_layer="$ETH_EXECUTION_CLIENT"
else
execution_layer="geth"
fi

cat << EOF > config.toml
[Network]
selected_networks=$selected_networks
Expand Down Expand Up @@ -118,6 +139,12 @@ runs:
[Logging.Grafana]
base_url="$GRAFANA_URL"
dashboard_url="$GRAFANA_DASHBOARD_URL"

[PrivateEthereumNetwork]
execution_layer="$execution_layer"
$ethereum_version

$custom_images
EOF

BASE64_CONFIG_OVERRIDE=$(cat config.toml | base64 -w 0)
Expand Down
Loading
Loading