-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into bump-geth
- Loading branch information
Showing
530 changed files
with
24,245 additions
and
11,819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": minor | ||
--- | ||
|
||
remove registerUpkeep from auto v21 common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
External peering core service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
Chainlink Functions contracts v1.3 audit findings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
make reserveAmounts to be a map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
use common interface for v2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
Fixed a race condition bug around EVM nonce management, which could cause the Node to skip a nonce and get stuck. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
Mercury jobs can now broadcast to multiple mercury servers. | ||
|
||
Previously, a single mercury server would be specified in a job spec as so: | ||
|
||
```toml | ||
[pluginConfig] | ||
serverURL = "example.com/foo" | ||
serverPubKey = "724ff6eae9e900270edfff233e16322a70ec06e1a6e62a81ef13921f398f6c93" | ||
``` | ||
|
||
You may now specify multiple mercury servers, as so: | ||
|
||
```toml | ||
[pluginConfig] | ||
servers = { "example.com/foo" = "724ff6eae9e900270edfff233e16322a70ec06e1a6e62a81ef13921f398f6c93", "mercury2.example:1234/bar" = "524ff6eae9e900270edfff233e16322a70ec06e1a6e62a81ef13921f398f6c93" } | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
Refactor EVM ORMs to remove pg dependency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
add liquidity pool for automation 2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
bump grafana to 1.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
add version support for automation registry 2.\* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,6 @@ codeship-*.yml | |
dockercfg | ||
credentials.env | ||
gcr_creds.env | ||
|
||
go.work | ||
go.work.sum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
import { setTimeout } from "node:timers/promises"; | ||
import { | ||
Route53Client, | ||
ListResourceRecordSetsCommand, | ||
} from "@aws-sdk/client-route-53"; | ||
|
||
// us-east-1 is the global region used by Route 53. | ||
const route53Client = new Route53Client({ region: "us-east-1" }); | ||
|
||
async function paginateListResourceRecordSets(route53Client, params) { | ||
let isTruncated = true; | ||
let nextRecordName, nextRecordType; | ||
let allRecordSets = []; | ||
|
||
while (isTruncated) { | ||
const response = await route53Client.send( | ||
new ListResourceRecordSetsCommand({ | ||
...params, | ||
...(nextRecordName && { StartRecordName: nextRecordName }), | ||
...(nextRecordType && { StartRecordType: nextRecordType }), | ||
}) | ||
); | ||
|
||
allRecordSets = allRecordSets.concat(response.ResourceRecordSets); | ||
isTruncated = response.IsTruncated; | ||
if (isTruncated) { | ||
nextRecordName = response.NextRecordName; | ||
nextRecordType = response.NextRecordType; | ||
} | ||
} | ||
|
||
return allRecordSets; | ||
} | ||
|
||
/** | ||
* Check if Route 53 records exist for a given Route 53 zone. | ||
* | ||
* @param {string} hostedZoneId The ID of the hosted zone. | ||
* @param {string[]} recordNames An array of record names to check. | ||
* @param {number} maxRetries The maximum number of retries. | ||
* @param {number} initialBackoffMs The initial backoff time in milliseconds. | ||
* @returns {Promise<boolean>} True if records exist, false otherwise. | ||
*/ | ||
export async function route53RecordsExist( | ||
hostedZoneId, | ||
recordNames, | ||
maxRetries = 8, | ||
initialBackoffMs = 2000 | ||
) { | ||
let attempts = 0; | ||
|
||
// We try to gather all records within a specified time limit. | ||
// We issue retries due to an indeterminate amount of time required | ||
// for record propagation. | ||
console.info("Checking DNS records in Route 53..."); | ||
while (attempts < maxRetries) { | ||
try { | ||
const allRecordSets = await paginateListResourceRecordSets( | ||
route53Client, | ||
{ | ||
HostedZoneId: hostedZoneId, | ||
MaxItems: "300", | ||
} | ||
); | ||
|
||
const recordExists = recordNames.every((name) => | ||
allRecordSets.some((r) => r.Name.includes(name)) | ||
); | ||
|
||
if (recordExists) { | ||
console.info("All records found in Route 53."); | ||
return true; | ||
} | ||
|
||
// If any record is not found, throw an error to trigger a retry | ||
throw new Error( | ||
"One or more DNS records not found in Route 53, retrying..." | ||
); | ||
} catch (error) { | ||
console.error(`Attempt ${attempts + 1}:`, error.message); | ||
if (attempts === maxRetries - 1) { | ||
return false; // Return false after the last attempt | ||
} | ||
// Exponential backoff | ||
await setTimeout(initialBackoffMs * 2 ** attempts); | ||
attempts++; | ||
} | ||
} | ||
// Should not reach here if retries are exhausted | ||
return false; | ||
} |
Oops, something went wrong.