Skip to content

Commit

Permalink
Merge branch 'smartcontractkit:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
gainssystems authored Nov 10, 2024
2 parents f378f17 + b984ea9 commit 32f9544
Show file tree
Hide file tree
Showing 2,738 changed files with 288,833 additions and 125,825 deletions.
5 changes: 0 additions & 5 deletions .changeset/angry-wolves-fix.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/brave-frogs-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

update plugin and evm chainwriter to remove evmConfig dependency #updated
7 changes: 0 additions & 7 deletions .changeset/bright-crabs-live.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/bright-readers-dress.md

This file was deleted.

105 changes: 105 additions & 0 deletions .changeset/changelog-generator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/*
* Based off of https://github.com/changesets/changesets/blob/7323704dff6e76f488370db384579b86c95c866f/packages/changelog-github/src/index.ts
*/

const ghInfo = require("@changesets/get-github-info");

const getDependencyReleaseLine = async (changesets, dependenciesUpdated, options) => {
if (dependenciesUpdated.length === 0) return "";
if (!options || !options.repo) {
throw new Error(
'Please provide a repo to this changelog generator like this:\n"changelog": ["@changesets/changelog-github", { "repo": "org/repo" }]'
);
}

const changesetLink = `- Updated dependencies [${(
await Promise.all(
changesets.map(async (cs) => {
if (cs.commit) {
let { links } = await ghInfo.getInfo({
repo: options.repo,
commit: cs.commit,
});
return links.commit;
}
})
)
)
.filter((_) => _)
.join(", ")}]:`;


const updatedDepsList = dependenciesUpdated.map(
(dependency) => ` - ${dependency.name}@${dependency.newVersion}`
);

return [changesetLink, ...updatedDepsList].join("\n");
};

const getReleaseLine = async (changeset, _, options) => {
if (!options || !options.repo) {
throw new Error(
'Please provide a repo to this changelog generator like this:\n"changelog": ["@changesets/changelog-github", { "repo": "org/repo" }]'
);
}

let prFromSummary;
let commitFromSummary;

const replacedChangelog = changeset.summary
.replace(/^\s*(?:pr|pull|pull\s+request):\s*#?(\d+)/im, (_, pr) => {
let num = Number(pr);
if (!isNaN(num)) prFromSummary = num;
return "";
})
.replace(/^\s*commit:\s*([^\s]+)/im, (_, commit) => {
commitFromSummary = commit;
return "";
})
.trim();

const [firstLine, ...futureLines] = replacedChangelog
.split("\n")
.map((l) => l.trimRight());

const links = await (async () => {
if (prFromSummary !== undefined) {
let { links } = await ghInfo.getInfoFromPullRequest({
repo: options.repo,
pull: prFromSummary,
});
if (commitFromSummary) {
const shortCommitId = commitFromSummary.slice(0, 7);
links = {
...links,
commit: `[\`${shortCommitId}\`](https://github.com/${options.repo}/commit/${commitFromSummary})`,
};
}
return links;
}
const commitToFetchFrom = commitFromSummary || changeset.commit;
if (commitToFetchFrom) {
let { links } = await ghInfo.getInfo({
repo: options.repo,
commit: commitToFetchFrom,
});
return links;
}
return {
commit: null,
pull: null,
user: null,
};
})();

const prefix = [
links.pull === null ? "" : ` ${links.pull}`,
links.commit === null ? "" : ` ${links.commit}`,
].join("");

return `\n\n-${prefix ? `${prefix} -` : ""} ${firstLine}\n${futureLines
.map((l) => ` ${l}`)
.join("\n")}`;
};

module.exports = { getReleaseLine, getDependencyReleaseLine };
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
"./changelog-generator.js",
{
"repo": "smartcontractkit/chainlink"
}
Expand Down
5 changes: 5 additions & 0 deletions .changeset/cool-feet-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Ensure RPCClient with enabled polling respects health check flag #internal
File renamed without changes.
14 changes: 0 additions & 14 deletions .changeset/cuddly-toys-warn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curly-zebras-agree.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/cyan-hairs-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#added support enable and disable feed manager
5 changes: 0 additions & 5 deletions .changeset/dull-seals-jog.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eighty-points-bathe.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/famous-ligers-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Set `NodePool.EnforceRepeatableRead = true` by default for all chains. This forces Core to stop using RPCs behind on the latest finalized block. #changed #nops
5 changes: 5 additions & 0 deletions .changeset/few-sloths-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#updated ignoring tx type 126 on celo
5 changes: 0 additions & 5 deletions .changeset/fluffy-ghosts-sneeze.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/four-kangaroos-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Add config validation so it requires ws url when http polling disabled #bugfix
5 changes: 0 additions & 5 deletions .changeset/fresh-badgers-pull.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/fresh-boxes-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Implement secrets interpolation with dummy workflow registry syncer #internal
5 changes: 5 additions & 0 deletions .changeset/fuzzy-dodos-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#changed UI(chainconfig): make admin address optional
5 changes: 5 additions & 0 deletions .changeset/giant-cats-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal Add tokenDestGasOverhead to CalculateMessageMaxGas
5 changes: 0 additions & 5 deletions .changeset/gold-candles-flow.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/good-chairs-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#added Enable and Disable Feeds Manager mutations
5 changes: 0 additions & 5 deletions .changeset/good-paws-switch.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/good-roses-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#internal Fix Contract Reader data word index calculation and change ccip contract reader config for more optimal querying.
5 changes: 5 additions & 0 deletions .changeset/great-spiders-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Fixed outdated headtracker config doc. #internal
5 changes: 5 additions & 0 deletions .changeset/happy-tips-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#updated bump CTF to v1.50.13, more robust ethereum client compatibility pipeline
5 changes: 0 additions & 5 deletions .changeset/healthy-lamps-argue.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/hip-clocks-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal OracleFactory error handling change
7 changes: 7 additions & 0 deletions .changeset/honest-bugs-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"chainlink": minor
---

#updated
update ethkeys, ethtransactions to handle duplicate chain id in different network
introduce network arg input to Chain graphql query to allow better lookup based on network and chain id
5 changes: 5 additions & 0 deletions .changeset/hot-mice-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Relocation of the deployment directory into a direct subdir of the root. #internal
5 changes: 5 additions & 0 deletions .changeset/hot-pants-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Minor fixes to the CCIPChainReader enabling proper serialization #internal
5 changes: 0 additions & 5 deletions .changeset/hungry-pandas-suffer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/kind-garlics-smash.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/lemon-ads-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#added Handle Hex String in EA Telemetry
5 changes: 5 additions & 0 deletions .changeset/lovely-glasses-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Use correct OCR2OracleSpecID when setting up RequestedRoundTracker #bugfix
5 changes: 0 additions & 5 deletions .changeset/lucky-cameras-punch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mean-brooms-agree.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/metal-forks-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Adds new custom calldata DA oracle #added
5 changes: 0 additions & 5 deletions .changeset/mighty-nails-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-peas-reflect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-rockets-love.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/neat-singers-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Added multiple blocks history estimator feature and config for Solana TXM. #added
5 changes: 5 additions & 0 deletions .changeset/perfect-peaches-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Fix flaky WS test server #internal
5 changes: 0 additions & 5 deletions .changeset/pink-papayas-swim.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-zoos-sort.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/rotten-timers-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"chainlink": minor
---

Support multiple chains evm clients for TXM gas estimator to fetch L1 gas oracle
#added
5 changes: 0 additions & 5 deletions .changeset/serious-apples-dance.md

This file was deleted.

Loading

0 comments on commit 32f9544

Please sign in to comment.