From 767506b2221bb15c1bb869de72d0cf92d5b87729 Mon Sep 17 00:00:00 2001 From: poma Date: Wed, 11 Aug 2021 18:20:37 +0300 Subject: [PATCH] fix --- .github/workflows/build.yml | 1 - hardhat.config.js | 4 ++-- package.json | 4 ++-- test/{sample-test.js => test.js} | 0 yarn.lock | 5 +++-- 5 files changed, 7 insertions(+), 7 deletions(-) rename test/{sample-test.js => test.js} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84759e5..0f51806 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,6 @@ jobs: format: markdown to: ${{ secrets.TELEGRAM_CHAT_ID }} token: ${{ secrets.TELEGRAM_BOT_TOKEN }} - # publish: # runs-on: ubuntu-latest # needs: build diff --git a/hardhat.config.js b/hardhat.config.js index 71e982f..0e0302b 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -1,7 +1,7 @@ require('dotenv').config() require('@nomiclabs/hardhat-waffle') require('@nomiclabs/hardhat-etherscan') -require('poma/hardhat-etherscan-abi') +require('hardhat-etherscan-abi') /** * @type import('hardhat/config').HardhatUserConfig @@ -21,7 +21,7 @@ module.exports = { chainId: 1, forking: { url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY}`, - blockNumber: 12083246, + blockNumber: 13000000, }, }, mainnet: { diff --git a/package.json b/package.json index a678c43..db7e957 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ }, "homepage": "https://github.com/peppersec/project-template#readme", "dependencies": { - "dotenv": "^10.0.0" + "dotenv": "^10.0.0", + "hardhat-etherscan-abi": "^0.1.1" }, "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.0.0", @@ -37,7 +38,6 @@ "ethereum-waffle": "^3.0.0", "ethers": "^5.0.0", "hardhat": "^2.1.2", - "hardhat-etherscan-abi": "poma/hardhat-etherscan-abi", "prettier": "^2.3.2", "prettier-plugin-solidity": "^1.0.0-beta.17", "solhint-plugin-prettier": "^0.0.5" diff --git a/test/sample-test.js b/test/test.js similarity index 100% rename from test/sample-test.js rename to test/test.js diff --git a/yarn.lock b/yarn.lock index b2aa6ce..2c032d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4133,9 +4133,10 @@ har-validator@~5.1.3: ajv "^6.12.3" har-schema "^2.0.0" -hardhat-etherscan-abi@poma/hardhat-etherscan-abi: +hardhat-etherscan-abi@^0.1.1: version "0.1.1" - resolved "https://codeload.github.com/poma/hardhat-etherscan-abi/tar.gz/3fcd8e780289fac6702fffaeafeede34068074c5" + resolved "https://registry.yarnpkg.com/hardhat-etherscan-abi/-/hardhat-etherscan-abi-0.1.1.tgz#5f2c0460aea1a649c2188619405f70a9ea1e019b" + integrity sha512-KeFLtKFo/AxWHbfcQB9HznaVWJSDgYBFSPNm+f0CYgRhPa8qYlPfIvgeqNLmz67u+T7gk25BwEv9SzkVYHLUZQ== dependencies: "@ethersproject/address" "^5.0.2" node-fetch "^2.6.0"