Skip to content

Commit

Permalink
feat: deploy and verify on optimism:sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed Feb 19, 2024
1 parent cddcb4f commit ad66462
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
10 changes: 10 additions & 0 deletions migrations/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,15 @@
"WitnetRequestFactoryDefault": "0xdd118b23a2199Bf902e149dE407E205e67932bcb",
"WitnetPriceFeedsDefault": "0x9453CE5217a8688B2318455E82A9Fb4E89eD47b6",
"WitnetProxy": "0x21ac85A6c320E6fC89774A98732eAE733032651C"
},
"optimism:sepolia": {
"WitnetProxy": "0xaC3E870BF8D13Dc39f76936b6AF8279eF5a9211F",
"WitnetErrorsLib": "0x77aac367a921DD2a92dfd0351456839663af248F",
"WitnetEncodingLib": "0x967cfE0Edfc52e027849012E5dA706A9e5e62345",
"WitnetPriceFeedsLib": "0x96013096b1305c4009bfa2C2D3e34fEcB3dD4927",
"WitnetRequestBytecodesDefault": "0x02e4cC37B15C1bb2971F4E79ACcd3628918CAd32",
"WitnetRequestFactoryDefault": "0x1A45041fC7D474C1746bDe0E7dAb4C40FdC6CB1e",
"WitnetRequestBoardTrustableOvm2": "0xBb2aA9F135682f9A2dE7bf99ba227b3Feec3dE17",
"WitnetPriceFeedsDefault": "0x4E071CBf1f629505BAd984f7361f43a5Ad07802a"
}
}
6 changes: 6 additions & 0 deletions migrations/constructorArgs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"WitnetRequestFactoryDefault": "000000000000000000000000000071f0c823bd30d2bf4cd1e829eba5a6070000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e312d3332303438366600000000000000000000000000000000000000",
"WitnetRequestBoardTrustableDefault": "000000000000000000000000000f4ccf726c5445626dbd6f2258482f61377000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e312d3332303438366600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e3aa000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20",
"WitnetPriceFeedsDefault": "000000000000000000000000000071f0c823bd30d2bf4cd1e829eba5a60700000000000000000000000000000000000000000000000000000000000000000001322e302e312d3332303438366600000000000000000000000000000000000000"
},
"optimism:sepolia": {
"WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e312d3832323463623000000000000000000000000000000000000000",
"WitnetRequestFactoryDefault": "000000000000000000000000000071f0c823bd30d2bf4cd1e829eba5a6070000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e312d3832323463623000000000000000000000000000000000000000",
"WitnetRequestBoardTrustableOvm2": "000000000000000000000000000f4ccf726c5445626dbd6f2258482f61377000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e312d38323234636230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020f58000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20",
"WitnetPriceFeedsDefault": "000000000000000000000000000071f0c823bd30d2bf4cd1e829eba5a60700000000000000000000000000000000000000000000000000000000000000000001322e302e312d3832323463623000000000000000000000000000000000000000"
}
}
9 changes: 9 additions & 0 deletions settings/networks.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,15 @@ module.exports = {
explorerUrl: "https://optimism-goerli.blockscout.com/",
},
},
"optimism:sepolia": {
port: 8503,
network_id: 11155420,
verify: {
apiKey: process.env.ETHERSCAN_API_KEY,
apiUrl: "https://optimism-sepolia.blockscout.com/api",
explorerUrl: "https://optimism-sepolia.blockscout.com/",
},
},
"optimism:mainnet": {
port: 9520,
network_id: 10,
Expand Down

0 comments on commit ad66462

Please sign in to comment.