Skip to content

Commit

Permalink
added a semver-range for big-name dependencies
Browse files Browse the repository at this point in the history
rationale for this is that well established dependencies can usually be
trusted to respect semver versioning and not push breaking changes on a
patch release. smaller ones, or ones for which we're using a 0.something
or beta release, should be fixed to a particular version.

hardhat itself, however, I had to pin to keep the project working.
Later I'll remove viaIR to get a more 'normal' hardhat
  • Loading branch information
plaintextpaco committed Mar 1, 2023
1 parent 7294eb8 commit 9e5c4fb
Show file tree
Hide file tree
Showing 4 changed files with 456 additions and 1,623 deletions.
2 changes: 0 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import * as dotenv from "dotenv";

import "@nomiclabs/hardhat-waffle";
import { HardhatUserConfig } from "hardhat/config";
import "@nomiclabs/hardhat-etherscan";
import "@nomicfoundation/hardhat-chai-matchers";
import "@typechain/hardhat";
import "hardhat-gas-reporter";
Expand Down
86 changes: 43 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,56 +12,55 @@
"test-ts": "hardhat --network hardhat test"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "1.0.4",
"@nomicfoundation/hardhat-network-helpers": "1.0.6",
"@nomicfoundation/hardhat-toolbox": "2.0.0",
"@nomiclabs/hardhat-ethers": "2.0.6",
"@nomiclabs/hardhat-etherscan": "3.1.0",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@nomiclabs/hardhat-etherscan": "^3.1.6",
"@nomiclabs/hardhat-waffle": "2.0.3",
"@nomiclabs/hardhat-web3": "2.0.0",
"@openzeppelin/test-helpers": "0.5.15",
"@typechain/ethers-v5": "10.1.0",
"@typechain/hardhat": "6.1.0",
"@types/chai": "4.3.1",
"@types/mocha": "9.1.1",
"@types/node": "16.11.41",
"@typescript-eslint/eslint-plugin": "5.28.0",
"@typescript-eslint/parser": "5.28.0",
"@uniswap/v2-core": "1.0.1",
"chai": "4.3.6",
"dotenv": "16.0.1",
"eslint": "8.17.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "6.0.0",
"ethers": "5.6.8",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/hardhat": "^6.1.5",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^16.11.41",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"@uniswap/v2-core": "^1.0.1",
"chai": "^4.3.7",
"dotenv": "^16.0.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"ethers": "^5.6.8",
"hardhat": "2.12.1-ir.0",
"hardhat-contract-sizer": "2.5.1",
"hardhat-deploy": "0.11.10",
"hardhat-gas-reporter": "1.0.8",
"hardhat-storage-layout": "0.1.6",
"prettier": "2.7.0",
"prettier-plugin-solidity": "1.0.0-dev.21",
"solhint": "3.3.7",
"hardhat-contract-sizer": "^2.5.1",
"hardhat-deploy": "^0.11.10",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-storage-layout": "^0.1.6",
"prettier": "^2.7.0",
"prettier-plugin-solidity": "^1.0.0-dev.21",
"solhint": "^3.3.7",
"solidity-coverage": "0.8.0-rc.test.0",
"ts-node": "10.8.1",
"typechain": "8.1.0",
"typescript": "4.7.4",
"uniswap-v2-helper": "1.1.0",
"web3": "1.7.3"
"ts-node": "^10.8.1",
"typechain": "^8.1.1",
"typescript": "^4.7.4",
"uniswap-v2-helper": "^1.1.0",
"web3": "^1.7.3"
},
"packageManager": "[email protected]",
"dependencies": {
"@ethersproject/abi": "5.7.0",
"@ethersproject/constants": "5.7.0",
"@ethersproject/contracts": "5.7.0",
"@ethersproject/units": "5.7.0",
"@ethersproject/wallet": "5.7.0",
"@openzeppelin/contracts": "4.6.0",
"solmate": "https://github.com/transmissions11/solmate#3998897acb502fa7b480f505138a6ae1842e8d10",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/constants": "^5.7.0",
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/units": "^5.7.0",
"@ethersproject/wallet": "^5.7.0",
"@openzeppelin/contracts": "^4.6.0",
"@types/chai-as-promised": "^7.1.5",
"@uniswap/lib": "https://github.com/Uniswap/solidity-lib#v2.1.0",
"@uniswap/v2-periphery": "https://github.com/Uniswap/v2-periphery#v1.0.0-beta.0",
Expand All @@ -71,7 +70,8 @@
"ds-math": "https://github.com/dapphub/ds-math#e70a364787804c1ded9801ed6c27b440a86ebd32",
"ds-test": "https://github.com/dapphub/ds-test#6da7dd8f7395f83e1fb6fa88a64ba9a030f85d4f",
"ds-token": "https://github.com/dapphub/ds-token#16f187acc15dd839589be60173ad1ebd0716eb82",
"eslint-plugin-mocha": "^10.1.0",
"forge-std": "https://github.com/foundry-rs/forge-std#v1.4.0",
"eslint-plugin-mocha": "^10.1.0"
"solmate": "https://github.com/transmissions11/solmate#3998897acb502fa7b480f505138a6ae1842e8d10"
}
}
1 change: 0 additions & 1 deletion tasks/aludel.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { AbiCoder } from "@ethersproject/abi";
import { formatEther } from "ethers/lib/utils";
import { task, types } from "hardhat/config";
import "@nomiclabs/hardhat-ethers";
import { parseEther } from "@ethersproject/units";

// this function is meant to avoid polluting the tests with console output, and
Expand Down
Loading

0 comments on commit 9e5c4fb

Please sign in to comment.