Skip to content

Commit

Permalink
chore: remove custom verification, use gemforge
Browse files Browse the repository at this point in the history
  • Loading branch information
amarinkovic committed Dec 13, 2024
1 parent 565680d commit d36081f
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 80 deletions.
69 changes: 38 additions & 31 deletions gemforge.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,52 +111,59 @@ module.exports = {
},
networks: {
local: { rpcUrl: "http://localhost:8545" },
sepolia: { rpcUrl: process.env.ETH_SEPOLIA_RPC_URL },
mainnet: { rpcUrl: process.env.ETH_MAINNET_RPC_URL },
sepolia: {
rpcUrl: process.env.ETH_SEPOLIA_RPC_URL,
contractVerification: {
foundry: {
apiUrl: "https://api-sepolia.etherscan.io/api",
apiKey: () => process.env.ETHERSCAN_API_KEY,
},
},
},
mainnet: {
rpcUrl: process.env.ETH_MAINNET_RPC_URL,
contractVerification: {
foundry: {
apiUrl: "https://api.etherscan.io/api",
apiKey: () => process.env.ETHERSCAN_API_KEY,
},
},
},
baseSepolia: {
rpcUrl: process.env.BASE_SEPOLIA_RPC_URL,
verifiers: [
{
verifierName: "etherscan",
verifierUrl: "https://api-sepolia.basescan.org/api",
verifierApiKey: process.env.BASESCAN_API_KEY,
contractVerification: {
foundry: {
apiUrl: "https://api-sepolia.basescan.org/api",
apiKey: () => process.env.BASESCAN_API_KEY,
},
{
verifierName: "blockscout", // needed for louper
verifierUrl: "https://base-sepolia.blockscout.com/api",
verifierApiKey: process.env.BLOCKSCOUT_API_KEY,
},
],
},
},
base: {
rpcUrl: process.env.BASE_MAINNET_RPC_URL,
verifiers: [
{
verifierName: "etherscan",
verifierUrl: "https://api.basescan.org/api",
verifierApiKey: process.env.BASESCAN_API_KEY,
contractVerification: {
foundry: {
apiUrl: "https://api.basescan.org/api",
apiKey: () => process.env.BASESCAN_API_KEY,
},
],
},
},
aurora: {
rpcUrl: process.env.AURORA_MAINNET_RPC_URL,
verifiers: [
{
verifierName: "aurora",
verifierUrl: "https://explorer.mainnet.aurora.dev/api",
verifierApiKey: process.env.BLOCKSCOUT_API_KEY,
contractVerification: {
foundry: {
apiUrl: "https://explorer.mainnet.aurora.dev/api",
apiKey: () => process.env.BLOCKSCOUT_API_KEY,
},
],
},
},
auroraTestnet: {
rpcUrl: process.env.AURORA_TESTNET_RPC_URL,
verifiers: [
{
verifierName: "aurora",
verifierUrl: "https://explorer.testnet.aurora.dev/api",
verifierApiKey: process.env.BLOCKSCOUT_API_KEY,
contractVerification: {
foundry: {
apiUrl: "https://explorer.testnet.aurora.dev/api",
apiKey: () => process.env.BLOCKSCOUT_API_KEY,
},
],
},
},
},
targets: {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"commitlint": "commitlint --edit",
"deploy": "./script/gemforge/deploy.js",
"approve-upgrade": "./script/gemforge/approveUpgrade.js",
"query": "gemforge query"
"query": "gemforge query",
"verify": "gemforge verify"
},
"commitlint": {
"extends": [
Expand Down
48 changes: 0 additions & 48 deletions script/gemforge/verify.js

This file was deleted.

0 comments on commit d36081f

Please sign in to comment.