Skip to content

Commit

Permalink
build: upgrade to yarn v3.1.1
Browse files Browse the repository at this point in the history
build: upgrade dev dependencies
chore: update keys in ".env.example"
chore(amm,flash-swap,protocol): update hardhat etherscan config
  • Loading branch information
PaulRBerg committed Feb 2, 2022
1 parent 1b9603f commit 9b55675
Show file tree
Hide file tree
Showing 20 changed files with 1,328 additions and 915 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ETHERSCAN_API_KEY="etherscan api key"
INFURA_API_KEY="infura api key"
MNEMONIC="here is where your twelve words mnemonic should be put my friend"
POLYGONSCAN_API_KEY="polygonscan api key"
300 changes: 150 additions & 150 deletions .yarn/releases/yarn-3.1.0.cjs → .yarn/releases/yarn-3.1.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.1.0.cjs
yarnPath: .yarn/releases/yarn-3.1.1.cjs
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@
"url": "https://hifi.finance"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"husky": "^7.0.4",
"lint-staged": "^11.2.5",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"shx": "^0.3.3"
"lint-staged": "^12.3.3",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"shx": "^0.3.4"
},
"license": "LGPL-3.0-or-later",
"packageManager": "yarn@3.1.1",
"private": true,
"resolutions": {
"@ethersproject/wallet": "^5.5.0"
Expand Down
8 changes: 7 additions & 1 deletion packages/amm/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ const mnemonic: string = getEnvVar("MNEMONIC");
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
etherscan: {
apiKey: getEnvVar("ETHERSCAN_API_KEY"),
apiKey: {
mainnet: getEnvVar("ETHERSCAN_API_KEY"),
goerli: getEnvVar("ETHERSCAN_API_KEY"),
polygon: getEnvVar("POLYGONSCAN_API_KEY"),
rinkeby: getEnvVar("ETHERSCAN_API_KEY"),
ropsten: getEnvVar("ETHERSCAN_API_KEY"),
},
},
networks: {
hardhat: {
Expand Down
50 changes: 25 additions & 25 deletions packages/amm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"dependencies": {
"@ethersproject/abi": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/providers": "^5.5.0",
"@ethersproject/providers": "^5.5.3",
"@hifi/protocol": "1.7.1",
"@paulrberg/contracts": "3.6.1",
"ethers": "^5.5.1",
"ethers": "^5.5.4",
"prb-math": "2.4.0"
},
"devDependencies": {
Expand All @@ -28,44 +28,44 @@
"@hifi/constants": "workspace:*",
"@hifi/errors": "workspace:*",
"@hifi/helpers": "workspace:*",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.7",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-ethers": "^2.0.4",
"@nomiclabs/hardhat-etherscan": "^3.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.2",
"@typechain/ethers-v5": "^7.2.0",
"@typechain/hardhat": "^2.3.1",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/mocha-each": "^2.0.0",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"chai": "^4.3.4",
"@types/node": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"chai": "^4.3.6",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"eslint": "^8.1.0",
"dotenv": "^15.0.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"ethereum-waffle": "^3.4.0",
"evm-bn": "^1.0.1",
"hardhat": "^2.6.7",
"evm-bn": "^1.1.1",
"hardhat": "^2.8.3",
"hardhat-packager": "^1.2.1",
"lint-staged": "^11.2.5",
"lint-staged": "^12.3.3",
"lodash": "^4.17.21",
"mathjs": "^9.5.1",
"mocha": "^9.1.3",
"mathjs": "^9.5.2",
"mocha": "^9.2.0",
"mocha-each": "^2.0.1",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"solc": "0.8.9",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"solc": "0.8.11",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"solidity-coverage": "^0.7.18",
"solidity-docgen": "^0.5.16",
"ts-node": "^10.4.0",
"typechain": "^5.2.0",
"typescript": "^4.4.4"
"typescript": "^4.5.5"
},
"files": [
"/contracts",
Expand Down
14 changes: 7 additions & 7 deletions packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
},
"dependencies": {
"@ethersproject/bignumber": "^5.5.0",
"evm-bn": "^1.0.1"
"evm-bn": "^1.1.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"eslint": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.4.1",
"shx": "^0.3.3",
"typescript": "^4.4.4"
"prettier": "^2.5.1",
"shx": "^0.3.4",
"typescript": "^4.5.5"
},
"files": [
"/dist/**/*.d.ts",
Expand Down
14 changes: 7 additions & 7 deletions packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
},
"dependencies": {
"@ethersproject/bignumber": "^5.5.0",
"evm-bn": "^1.0.1"
"evm-bn": "^1.1.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"eslint": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.4.1",
"shx": "^0.3.3",
"typescript": "^4.4.4"
"prettier": "^2.5.1",
"shx": "^0.3.4",
"typescript": "^4.5.5"
},
"files": [
"/dist/**/*.d.ts",
Expand Down
8 changes: 7 additions & 1 deletion packages/flash-swap/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ const mnemonic: string = getEnvVar("MNEMONIC");
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
etherscan: {
apiKey: getEnvVar("ETHERSCAN_API_KEY"),
apiKey: {
mainnet: getEnvVar("ETHERSCAN_API_KEY"),
goerli: getEnvVar("ETHERSCAN_API_KEY"),
polygon: getEnvVar("POLYGONSCAN_API_KEY"),
rinkeby: getEnvVar("ETHERSCAN_API_KEY"),
ropsten: getEnvVar("ETHERSCAN_API_KEY"),
},
},
networks: {
hardhat: {
Expand Down
44 changes: 22 additions & 22 deletions packages/flash-swap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"dependencies": {
"@ethersproject/abi": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/providers": "^5.5.0",
"@ethersproject/providers": "^5.5.3",
"@hifi/protocol": "1.7.1",
"@paulrberg/contracts": "3.6.1",
"@uniswap/v2-core": "1.0.1",
"ethers": "^5.5.1"
"ethers": "^5.5.4"
},
"devDependencies": {
"@ethersproject/abstract-signer": "^5.5.0",
Expand All @@ -26,39 +26,39 @@
"@ethersproject/keccak256": "^5.5.0",
"@hifi/errors": "workspace:*",
"@hifi/helpers": "workspace:*",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.7",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-ethers": "^2.0.4",
"@nomiclabs/hardhat-etherscan": "^3.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.2",
"@typechain/ethers-v5": "^7.2.0",
"@typechain/hardhat": "^2.3.1",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"chai": "^4.3.4",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"chai": "^4.3.6",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"eslint": "^8.1.0",
"dotenv": "^15.0.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"ethereum-waffle": "^3.4.0",
"evm-bn": "^1.0.1",
"evm-bn": "^1.1.1",
"from-exponential": "^1.1.1",
"hardhat": "^2.6.7",
"hardhat": "^2.8.3",
"hardhat-packager": "^1.2.1",
"lodash": "^4.17.21",
"mocha": "^9.1.3",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"mocha": "^9.2.0",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"solidity-coverage": "^0.7.18",
"ts-node": "^10.4.0",
"typechain": "^5.2.0",
"typescript": "^4.4.4"
"typescript": "^4.5.5"
},
"files": [
"/contracts",
Expand Down
16 changes: 8 additions & 8 deletions packages/helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"dependencies": {
"@ethersproject/bignumber": "^5.5.0",
"@hifi/constants": "workspace:*",
"evm-bn": "^1.0.1",
"hardhat": "^2.6.7"
"evm-bn": "^1.1.1",
"hardhat": "^2.8.3"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"eslint": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.4.1",
"shx": "^0.3.3",
"typescript": "^4.4.4"
"prettier": "^2.5.1",
"shx": "^0.3.4",
"typescript": "^4.5.5"
},
"files": [
"/dist/**/*.d.ts",
Expand Down
8 changes: 7 additions & 1 deletion packages/protocol/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ const mnemonic: string = getEnvVar("MNEMONIC");
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
etherscan: {
apiKey: getEnvVar("ETHERSCAN_API_KEY"),
apiKey: {
mainnet: getEnvVar("ETHERSCAN_API_KEY"),
goerli: getEnvVar("ETHERSCAN_API_KEY"),
polygon: getEnvVar("POLYGONSCAN_API_KEY"),
rinkeby: getEnvVar("ETHERSCAN_API_KEY"),
ropsten: getEnvVar("ETHERSCAN_API_KEY"),
},
},
gasReporter: {
currency: "USD",
Expand Down
50 changes: 25 additions & 25 deletions packages/protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"dependencies": {
"@ethersproject/abi": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/providers": "^5.5.0",
"@ethersproject/providers": "^5.5.3",
"@openzeppelin/contracts-upgradeable": "4.3.2",
"@paulrberg/contracts": "3.6.1",
"ethers": "^5.5.1",
"ethers": "^5.5.4",
"prb-math": "2.4.0"
},
"devDependencies": {
Expand All @@ -27,45 +27,45 @@
"@hifi/constants": "workspace:*",
"@hifi/errors": "workspace:*",
"@hifi/helpers": "workspace:*",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.7",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-ethers": "^2.0.4",
"@nomiclabs/hardhat-etherscan": "^3.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.2",
"@openzeppelin/hardhat-upgrades": "^1.10.0",
"@typechain/ethers-v5": "^7.2.0",
"@typechain/hardhat": "^2.3.1",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/mocha-each": "^2.0.0",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"chai": "^4.3.4",
"@types/node": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"chai": "^4.3.6",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"eslint": "^8.1.0",
"dotenv": "^15.0.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.1",
"evm-bn": "^1.0.1",
"hardhat": "^2.6.7",
"hardhat-gas-reporter": "^1.0.4",
"ethers": "^5.5.4",
"evm-bn": "^1.1.1",
"hardhat": "^2.8.3",
"hardhat-gas-reporter": "^1.0.7",
"hardhat-packager": "^1.2.1",
"lodash": "^4.17.21",
"mocha": "^9.1.3",
"mocha": "^9.2.0",
"mocha-each": "^2.0.1",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"solc": "0.8.9",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"solc": "0.8.11",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"solidity-coverage": "^0.7.18",
"solidity-docgen": "^0.5.16",
"ts-node": "^10.4.0",
"typechain": "^5.2.0",
"typescript": "^4.4.4"
"typescript": "^4.5.5"
},
"files": [
"/contracts",
Expand Down
Loading

0 comments on commit 9b55675

Please sign in to comment.