From d2d30a61fc89ae0f834babacd5b434bdf2055ae7 Mon Sep 17 00:00:00 2001 From: Corban Riley Date: Tue, 27 Feb 2024 20:12:52 -0500 Subject: [PATCH] hardhat tests running now --- hardhat.config.ts | 10 +++++----- package.json | 2 +- pnpm-lock.yaml | 50 ++++++++++++++++++++++++++++++----------------- 3 files changed, 38 insertions(+), 24 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 80ed4a30..95821e67 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -2,10 +2,10 @@ import { HardhatUserConfig, task } from 'hardhat/config' import { networkConfig } from './utils/config-loader' import '@nomiclabs/hardhat-truffle5' -import '@nomiclabs/hardhat-ethers' +import '@nomicfoundation/hardhat-ethers' import '@nomiclabs/hardhat-web3' import '@nomiclabs/hardhat-etherscan' -import "@tenderly/hardhat-tenderly" +import '@tenderly/hardhat-tenderly' import 'hardhat-gas-reporter' import 'solidity-coverage' @@ -23,7 +23,7 @@ const config: HardhatUserConfig = { settings: { optimizer: { enabled: true, - runs: 500000, + runs: 500000 } } }, @@ -64,8 +64,8 @@ const config: HardhatUserConfig = { showTimeSpent: true }, tenderly: { - project: "horizon/sequence-dev-1", - username: "Agusx1211-horizon", + project: 'horizon/sequence-dev-1', + username: 'Agusx1211-horizon' } } diff --git a/package.json b/package.json index db8cad53..916280bc 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ } }, "devDependencies": { - "@nomiclabs/hardhat-ethers": "^2.2.3", + "@nomicfoundation/hardhat-ethers": "^3.0.5", "@nomiclabs/hardhat-etherscan": "^3.1.8", "@nomiclabs/hardhat-truffle5": "^2.0.7", "@nomiclabs/hardhat-web3": "^2.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b7c0d683..91b01225 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,9 +16,9 @@ dependencies: version: 1.0.6 devDependencies: - '@nomiclabs/hardhat-ethers': - specifier: ^2.2.3 - version: 2.2.3(ethers@6.11.1)(hardhat@2.20.1) + '@nomicfoundation/hardhat-ethers': + specifier: ^3.0.5 + version: 3.0.5(ethers@6.11.1)(hardhat@2.20.1) '@nomiclabs/hardhat-etherscan': specifier: ^3.1.8 version: 3.1.8(hardhat@2.20.1) @@ -117,7 +117,7 @@ devDependencies: version: 1.7.0 ts-node: specifier: ^10.9.1 - version: 10.9.1(@types/node@20.11.20)(typescript@4.7.4) + version: 10.9.1(@types/node@20.11.21)(typescript@4.7.4) typechain: specifier: ^8.3.2 version: 8.3.2(typescript@4.7.4) @@ -959,6 +959,20 @@ packages: - supports-color dev: true + /@nomicfoundation/hardhat-ethers@3.0.5(ethers@6.11.1)(hardhat@2.20.1): + resolution: {integrity: sha512-RNFe8OtbZK6Ila9kIlHp0+S80/0Bu/3p41HUpaRIoHLm6X3WekTd83vob3rE54Duufu1edCiBDxspBzi2rxHHw==} + peerDependencies: + ethers: ^6.1.0 + hardhat: ^2.0.0 + dependencies: + debug: 4.3.4(supports-color@8.1.1) + ethers: 6.11.1 + hardhat: 2.20.1(ts-node@10.9.1)(typescript@4.7.4) + lodash.isequal: 4.5.0 + transitivePeerDependencies: + - supports-color + dev: true + /@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.1: resolution: {integrity: sha512-KcTodaQw8ivDZyF+D76FokN/HdpgGpfjc/gFCImdLUyqB6eSWVaZPazMbeAjmfhx3R0zm/NYVzxwAokFKgrc0w==} engines: {node: '>= 10'} @@ -1065,16 +1079,6 @@ packages: '@nomicfoundation/solidity-analyzer-win32-x64-msvc': 0.1.1 dev: true - /@nomiclabs/hardhat-ethers@2.2.3(ethers@6.11.1)(hardhat@2.20.1): - resolution: {integrity: sha512-YhzPdzb612X591FOe68q+qXVXGG2ANZRvDo0RRUtimev85rCrAlv/TLMEZw5c+kq9AbzocLTVX/h2jVIFPL9Xg==} - peerDependencies: - ethers: ^5.0.0 - hardhat: ^2.0.0 - dependencies: - ethers: 6.11.1 - hardhat: 2.20.1(ts-node@10.9.1)(typescript@4.7.4) - dev: true - /@nomiclabs/hardhat-etherscan@3.1.8(hardhat@2.20.1): resolution: {integrity: sha512-v5F6IzQhrsjHh6kQz4uNrym49brK9K5bYCq2zQZ729RYRaifI9hHbtmK+KkIVevfhut7huQFEQ77JLRMAzWYjQ==} deprecated: The @nomiclabs/hardhat-etherscan package is deprecated, please use @nomicfoundation/hardhat-verify instead @@ -1649,6 +1653,12 @@ packages: undici-types: 5.26.5 dev: true + /@types/node@20.11.21: + resolution: {integrity: sha512-/ySDLGscFPNasfqStUuWWPfL78jompfIoVzLJPVVAHBh6rpG68+pI2Gk+fNLeI8/f1yPYL4s46EleVIc20F1Ow==} + dependencies: + undici-types: 5.26.5 + dev: true + /@types/node@8.10.66: resolution: {integrity: sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==} dev: true @@ -2201,7 +2211,7 @@ packages: /async@2.6.2: resolution: {integrity: sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==} dependencies: - lodash: 4.17.21 + lodash: 4.17.20 dev: true /asynckit@0.4.0: @@ -6174,7 +6184,7 @@ packages: solc: 0.7.3(debug@4.3.4) source-map-support: 0.5.21 stacktrace-parser: 0.1.10 - ts-node: 10.9.1(@types/node@20.11.20)(typescript@4.7.4) + ts-node: 10.9.1(@types/node@20.11.21)(typescript@4.7.4) tsort: 0.0.1 typescript: 4.7.4 undici: 5.28.3 @@ -7345,6 +7355,10 @@ packages: /lodash.camelcase@4.3.0: resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} + /lodash.isequal@4.5.0: + resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} + dev: true + /lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} dev: true @@ -10293,7 +10307,7 @@ packages: ts-essentials: 1.0.4 dev: true - /ts-node@10.9.1(@types/node@20.11.20)(typescript@4.7.4): + /ts-node@10.9.1(@types/node@20.11.21)(typescript@4.7.4): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -10312,7 +10326,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.20 + '@types/node': 20.11.21 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3