From a218e0b79030d05fc4c999f454ba630bef0e6fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20D=C3=ADaz?= Date: Fri, 1 Mar 2024 15:42:01 +0100 Subject: [PATCH] chore: upgrade and verify on optimism:sepolia --- migrations/addresses.json | 16 ++++++++-------- migrations/constructorArgs.json | 12 ++++++------ scripts/verify-libs.js | 1 + 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/migrations/addresses.json b/migrations/addresses.json index cd15916c..f744b8d3 100644 --- a/migrations/addresses.json +++ b/migrations/addresses.json @@ -14,18 +14,18 @@ "WitnetOracleTrustableDefault": "", "WitnetPriceFeedsDefault": "", "WitnetRequestBytecodesDefault": "", - "WitnetRequestFactoryDefault": "0xeb800BbCE619c0542Ae46DeA675D8a4495190A65" + "WitnetRequestFactoryDefault": "" }, "optimism:sepolia": { - "WitnetProxy": "0xaC3E870BF8D13Dc39f76936b6AF8279eF5a9211F", + "WitnetProxy": "0x9e262B69ef7cAb570F614538525c08998aA303af", "WitnetErrorsLib": "0x77aac367a921DD2a92dfd0351456839663af248F", "WitnetEncodingLib": "0x967cfE0Edfc52e027849012E5dA706A9e5e62345", "WitnetPriceFeedsLib": "0x96013096b1305c4009bfa2C2D3e34fEcB3dD4927", - "WitnetOracleTrustableOvm2": "", - "WitnetPriceFeedsDefault": "", - "WitnetRequestBytecodesDefault": "", - "WitnetRequestFactoryDefault": "0x1A45041fC7D474C1746bDe0E7dAb4C40FdC6CB1e" - + "WitnetOracleDataLib": "0xA76B841821b7b002f3180eA1B63272adC902F295", + "WitnetOracleTrustableOvm2": "0xBB074efe77fDb7CaaDbb9B5EcBB9864715747176", + "WitnetPriceFeedsDefault": "0xCCacf6ac740B51c56C5d204630B303d8e3fe083e", + "WitnetRequestBytecodesDefault": "0xe35E4973E4f6C7Ad693027aCa9c62EaBf0C1E79F", + "WitnetRequestFactoryDefault": "0xc61887700A5Ae2d1C5a5c4A83Ec7b03D92493710" }, "ten:testnet": { "WitnetProxy": "0x46A54C4C9B36126D0E8f428BbC2ff9494Cd03947", @@ -35,6 +35,6 @@ "WitnetOracleTrustableObscuro": "", "WitnetPriceFeedsDefault": "", "WitnetRequestBytecodesDefault": "", - "WitnetRequestFactoryDefault": "0xaA472f280b93cdA40EDFB974b36BAC5Fc54DA4e3" + "WitnetRequestFactoryDefault": "" } } \ No newline at end of file diff --git a/migrations/constructorArgs.json b/migrations/constructorArgs.json index 30847612..8558b11f 100644 --- a/migrations/constructorArgs.json +++ b/migrations/constructorArgs.json @@ -1,19 +1,19 @@ { "ethereum:sepolia": { "WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e312d3137303438343900000000000000000000000000000000000000", - "WitnetRequestFactoryDefault": "000000000000000000000000000071f0c823bd30d2bf4cd1e829eba5a6070000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e322d3233653933363400000000000000000000000000000000000000", + "WitnetRequestFactoryDefault": "", "WitnetOracleTrustableDefault": "", "WitnetPriceFeedsDefault": "" }, "optimism:sepolia": { - "WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e312d3832323463623000000000000000000000000000000000000000", - "WitnetRequestFactoryDefault": "000000000000000000000000000071f0c823bd30d2bf4cd1e829eba5a6070000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e312d3832323463623000000000000000000000000000000000000000", - "WitnetOracleTrustableOvm2": "", - "WitnetPriceFeedsDefault": "" + "WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e352d3439303530376400000000000000000000000000000000000000", + "WitnetRequestFactoryDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da00777000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e352d3439303530376400000000000000000000000000000000000000", + "WitnetOracleTrustableOvm2": "000000000000000000000000000f4ccf726c5445626dbd6f2258482f61377000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e352d34393035303764000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020f58000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20", + "WitnetPriceFeedsDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da007770000000000000000000000000000000000000000000000000000000000000001322e302e352d3439303530376400000000000000000000000000000000000000" }, "ten:testnet": { "WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e332d3761323935336500000000000000000000000000000000000000", - "WitnetRequestFactoryDefault": "000000000000000000000000000071f0c823bd30d2bf4cd1e829eba5a6070000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e332d3761323935336500000000000000000000000000000000000000", + "WitnetRequestFactoryDefault": "", "WitnetOracleTrustableObscuro": "", "WitnetPriceFeedsDefault": "" } diff --git a/scripts/verify-libs.js b/scripts/verify-libs.js index ff123b66..79e79aa8 100644 --- a/scripts/verify-libs.js +++ b/scripts/verify-libs.js @@ -20,6 +20,7 @@ const artifacts = settings.getArtifacts(network) const libs = [ artifacts.WitnetEncodingLib, artifacts.WitnetErrorsLib, + artifacts.WitnetOracleDataLib, artifacts.WitnetPriceFeedsLib, ] for (const index in libs) {