Skip to content

Commit

Permalink
fix: unmet peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed May 16, 2024
1 parent 1a510c7 commit 7ece9c3
Show file tree
Hide file tree
Showing 4 changed files with 521 additions and 574 deletions.
9 changes: 2 additions & 7 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ import { HardhatUserConfig } from "hardhat/config";
import { HttpNetworkUserConfig } from "hardhat/types";
import { getSingletonFactoryInfo } from "@safe-global/safe-singleton-factory";

import "@nomiclabs/hardhat-ethers";
import "@nomicfoundation/hardhat-verify";
import "@typechain/hardhat";
import "hardhat-deploy";
import "hardhat-gas-reporter";

import {
Chain,
Expand All @@ -33,7 +31,7 @@ const ppath = (packageName: string, pathname: string) => {
};

const networkConfig = (chain: Chain): HttpNetworkUserConfig => {
let url = process.env.RPC_URL || chain.rpcUrls.public.http.at(0);
let url = process.env.RPC_URL || chain.rpcUrls.default.http.at(0);

// support for infura and alchemy URLs through env variables
if (process.env.INFURA_ID && chain.rpcUrls.infura?.http) {
Expand Down Expand Up @@ -99,7 +97,7 @@ const config: HardhatUserConfig = {
},
typechain: {
outDir: "src/types",
target: "ethers-v5",
target: "ethers-v6",
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
Expand Down Expand Up @@ -148,9 +146,6 @@ const config: HardhatUserConfig = {
default: 0,
},
},
gasReporter: {
enabled: process.env.REPORT_GAS ? true : false,
},
};

export default config;
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,39 +29,39 @@
"tsc:prod": "tsc -p tsconfig.prod.json"
},
"dependencies": {
"@cartesi/util": "6.1.0",
"@openzeppelin/contracts": "5.0.2",
"@ensdomains/ens-contracts": "1.1.4"
"@cartesi/util": "6.3.0",
"@ensdomains/ens-contracts": "1.1.4",
"@openzeppelin/contracts": "5.0.2"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-verify": "^2.0.5",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@safe-global/safe-singleton-factory": "^1.0.21",
"@typechain/ethers-v5": "^11.1.2",
"@typechain/hardhat": "^8.0.3",
"@types/node": "^20.12.2",
"@nomicfoundation/hardhat-verify": "^2.0.7",
"@safe-global/safe-singleton-factory": "^1.0.26",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.12",
"chai": "^5",
"copyfiles": "^2.4.1",
"ethers": "^5.7.2",
"hardhat": "^2.22.2",
"hardhat-deploy": "^0.12.2",
"hardhat-gas-reporter": "^1.0.10",
"ethers": "^6.12.1",
"hardhat": "^2.22.4",
"hardhat-deploy": "^0.12.4",
"mocha": "^10.4.0",
"npm-run-all": "^4.1.5",
"npm-scripts-info": "^0.3.9",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.3.1",
"rimraf": "^5.0.5",
"solhint": "^3.6.2",
"rimraf": "^5.0.7",
"solhint": "^5",
"solhint-plugin-prettier": "^0.1.0",
"solidity-coverage": "^0.8.11",
"solidity-coverage": "^0.8.12",
"ts-generator": "^0.1.1",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.4.3",
"viem": "^1.21.4"
"typescript": "^5.4.5",
"viem": "^2"
},
"files": [
"contracts",
Expand Down
Loading

0 comments on commit 7ece9c3

Please sign in to comment.