diff --git a/.changeset/light-cooks-move.md b/.changeset/light-cooks-move.md new file mode 100644 index 0000000..cd51acf --- /dev/null +++ b/.changeset/light-cooks-move.md @@ -0,0 +1,5 @@ +--- +'@chainlink/functions-toolkit': minor +--- + +Update to Functions Contracts v1.3.0 diff --git a/package-lock.json b/package-lock.json index f1525ab..a377d66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@chainlink/functions-toolkit", - "version": "0.2.7", + "version": "0.2.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@chainlink/functions-toolkit", - "version": "0.2.7", + "version": "0.2.8", "license": "MIT", "dependencies": { "axios": "^1.4.0", @@ -7027,6 +7027,7 @@ "version": "0.13.1", "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", + "dev": true, "engines": { "node": ">=12" }, diff --git a/src/localFunctionsTestnet.ts b/src/localFunctionsTestnet.ts index 4b30b33..c0562c7 100644 --- a/src/localFunctionsTestnet.ts +++ b/src/localFunctionsTestnet.ts @@ -14,6 +14,7 @@ import { simulatedSecretsKeys, DEFAULT_MAX_ON_CHAIN_RESPONSE_BYTES, numberOfSimulatedNodeExecutions, + simulatedLinkUsdPrice, } from './simulationConfig' import { LinkTokenSource, @@ -367,9 +368,12 @@ export const deployFunctionsOracle = async (deployer: Wallet): Promise { donId, }) - expect(estimatedCostInJuels.toString()).toBe(BigInt('38923000000000000000').toString()) + expect(estimatedCostInJuels.toString()).toBe(BigInt('6487166666666666666').toString()) }) it('Throws an error for missing donId', async () => { diff --git a/yarn.lock b/yarn.lock index 46f987c..0da3778 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6507,9 +6507,9 @@ punycode@^1.3.2, punycode@^1.4.1: integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== punycode@^2.1.0: - version "2.3.0" - resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz" - integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== + version "2.1.1" + resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz" + integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== pure-rand@^6.0.0: version "6.0.2"