diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 448d689fe..47548dc01 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -116,8 +116,11 @@ jobs: run: | yarn hardhat export --network bsctestnet --export ./deployments/bsctestnet.json yarn hardhat export --network bscmainnet --export ./deployments/bscmainnet.json + yarn hardhat export --network sepolia --export ./deployments/sepolia.json + yarn hardhat export --network ethereum --export ./deployments/ethereum.json yarn prettier - uses: stefanzweifel/git-auto-commit-action@v5 with: - commit_message: "feat: updating deployment files" \ No newline at end of file + commit_message: "feat: updating deployment files" + file_pattern: "deployments/*.json" diff --git a/hardhat.config.ts b/hardhat.config.ts index 4b1ea96d1..a4ad1910b 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -174,6 +174,24 @@ const config: HardhatUserConfig = { mnemonic: process.env.MNEMONIC || "", }, }, + sepolia: { + url: process.env.RPC_URL || "https://rpc.notadegen.com/eth/sepolia", + chainId: 11155111, + live: true, + gasPrice: 20000000000, // 20 gwei + accounts: { + mnemonic: process.env.MNEMONIC || "", + }, + }, + ethereum: { + url: process.env.ETHEREUM_ARCHIVE_NODE_URL || "https://eth-mainnet.public.blastapi.io", + chainId: 1, + live: true, + timeout: 1200000, // 20 minutes + accounts: { + mnemonic: process.env.MNEMONIC || "", + }, + }, }, gasReporter: { enabled: process.env.REPORT_GAS !== undefined, @@ -242,22 +260,22 @@ const config: HardhatUserConfig = { function isFork() { return process.env.FORK_MAINNET === "true" ? { - allowUnlimitedContractSize: false, - loggingEnabled: false, - forking: { - url: `https://white-ultra-silence.bsc.discover.quiknode.pro/${process.env.QUICK_NODE_KEY}/`, - blockNumber: 21068448, - }, - accounts: { - accountsBalance: "1000000000000000000", - }, - live: false, - } + allowUnlimitedContractSize: false, + loggingEnabled: false, + forking: { + url: `https://white-ultra-silence.bsc.discover.quiknode.pro/${process.env.QUICK_NODE_KEY}/`, + blockNumber: 21068448, + }, + accounts: { + accountsBalance: "1000000000000000000", + }, + live: false, + } : { - allowUnlimitedContractSize: true, - loggingEnabled: false, - live: false, - }; + allowUnlimitedContractSize: true, + loggingEnabled: false, + live: false, + }; } export default config;