diff --git a/package.json b/package.json index 7192b39..558e46b 100644 --- a/package.json +++ b/package.json @@ -137,8 +137,8 @@ "@types/chai": "^4.3.10", "@types/mocha": "^10.0.4", "@types/node": "^20.9.0", - "@typescript-eslint/eslint-plugin": "^6.10.0", - "@typescript-eslint/parser": "^6.10.0", + "@typescript-eslint/eslint-plugin": "^6.11.0", + "@typescript-eslint/parser": "^6.11.0", "chai": "^4.3.10", "eslint": "^8.53.0", "eslint-config-prettier": "^9.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cda7fb2..9197b72 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,11 +60,11 @@ devDependencies: specifier: ^20.9.0 version: 20.9.0 "@typescript-eslint/eslint-plugin": - specifier: ^6.10.0 - version: 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2) + specifier: ^6.11.0 + version: 6.11.0(@typescript-eslint/parser@6.11.0)(eslint@8.53.0)(typescript@5.2.2) "@typescript-eslint/parser": - specifier: ^6.10.0 - version: 6.10.0(eslint@8.53.0)(typescript@5.2.2) + specifier: ^6.11.0 + version: 6.11.0(eslint@8.53.0)(typescript@5.2.2) chai: specifier: ^4.3.10 version: 4.3.10 @@ -2444,10 +2444,10 @@ packages: } dev: true - /@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2): + /@typescript-eslint/eslint-plugin@6.11.0(@typescript-eslint/parser@6.11.0)(eslint@8.53.0)(typescript@5.2.2): resolution: { - integrity: sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg==, + integrity: sha512-uXnpZDc4VRjY4iuypDBKzW1rz9T5YBBK0snMn8MaTSNd2kMlj50LnLBABELjJiOL5YHk7ZD8hbSpI9ubzqYI0w==, } engines: { node: ^16.0.0 || >=18.0.0 } peerDependencies: @@ -2459,11 +2459,11 @@ packages: optional: true dependencies: "@eslint-community/regexpp": 4.10.0 - "@typescript-eslint/parser": 6.10.0(eslint@8.53.0)(typescript@5.2.2) - "@typescript-eslint/scope-manager": 6.10.0 - "@typescript-eslint/type-utils": 6.10.0(eslint@8.53.0)(typescript@5.2.2) - "@typescript-eslint/utils": 6.10.0(eslint@8.53.0)(typescript@5.2.2) - "@typescript-eslint/visitor-keys": 6.10.0 + "@typescript-eslint/parser": 6.11.0(eslint@8.53.0)(typescript@5.2.2) + "@typescript-eslint/scope-manager": 6.11.0 + "@typescript-eslint/type-utils": 6.11.0(eslint@8.53.0)(typescript@5.2.2) + "@typescript-eslint/utils": 6.11.0(eslint@8.53.0)(typescript@5.2.2) + "@typescript-eslint/visitor-keys": 6.11.0 debug: 4.3.4(supports-color@8.1.1) eslint: 8.53.0 graphemer: 1.4.0 @@ -2476,10 +2476,10 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.10.0(eslint@8.53.0)(typescript@5.2.2): + /@typescript-eslint/parser@6.11.0(eslint@8.53.0)(typescript@5.2.2): resolution: { - integrity: sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog==, + integrity: sha512-+whEdjk+d5do5nxfxx73oanLL9ghKO3EwM9kBCkUtWMRwWuPaFv9ScuqlYfQ6pAD6ZiJhky7TZ2ZYhrMsfMxVQ==, } engines: { node: ^16.0.0 || >=18.0.0 } peerDependencies: @@ -2489,10 +2489,10 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/scope-manager": 6.10.0 - "@typescript-eslint/types": 6.10.0 - "@typescript-eslint/typescript-estree": 6.10.0(typescript@5.2.2) - "@typescript-eslint/visitor-keys": 6.10.0 + "@typescript-eslint/scope-manager": 6.11.0 + "@typescript-eslint/types": 6.11.0 + "@typescript-eslint/typescript-estree": 6.11.0(typescript@5.2.2) + "@typescript-eslint/visitor-keys": 6.11.0 debug: 4.3.4(supports-color@8.1.1) eslint: 8.53.0 typescript: 5.2.2 @@ -2500,21 +2500,21 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.10.0: + /@typescript-eslint/scope-manager@6.11.0: resolution: { - integrity: sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg==, + integrity: sha512-0A8KoVvIURG4uhxAdjSaxy8RdRE//HztaZdG8KiHLP8WOXSk0vlF7Pvogv+vlJA5Rnjj/wDcFENvDaHb+gKd1A==, } engines: { node: ^16.0.0 || >=18.0.0 } dependencies: - "@typescript-eslint/types": 6.10.0 - "@typescript-eslint/visitor-keys": 6.10.0 + "@typescript-eslint/types": 6.11.0 + "@typescript-eslint/visitor-keys": 6.11.0 dev: true - /@typescript-eslint/type-utils@6.10.0(eslint@8.53.0)(typescript@5.2.2): + /@typescript-eslint/type-utils@6.11.0(eslint@8.53.0)(typescript@5.2.2): resolution: { - integrity: sha512-wYpPs3hgTFblMYwbYWPT3eZtaDOjbLyIYuqpwuLBBqhLiuvJ+9sEp2gNRJEtR5N/c9G1uTtQQL5AhV0fEPJYcg==, + integrity: sha512-nA4IOXwZtqBjIoYrJcYxLRO+F9ri+leVGoJcMW1uqr4r1Hq7vW5cyWrA43lFbpRvQ9XgNrnfLpIkO3i1emDBIA==, } engines: { node: ^16.0.0 || >=18.0.0 } peerDependencies: @@ -2524,8 +2524,8 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/typescript-estree": 6.10.0(typescript@5.2.2) - "@typescript-eslint/utils": 6.10.0(eslint@8.53.0)(typescript@5.2.2) + "@typescript-eslint/typescript-estree": 6.11.0(typescript@5.2.2) + "@typescript-eslint/utils": 6.11.0(eslint@8.53.0)(typescript@5.2.2) debug: 4.3.4(supports-color@8.1.1) eslint: 8.53.0 ts-api-utils: 1.0.3(typescript@5.2.2) @@ -2534,18 +2534,18 @@ packages: - supports-color dev: true - /@typescript-eslint/types@6.10.0: + /@typescript-eslint/types@6.11.0: resolution: { - integrity: sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg==, + integrity: sha512-ZbEzuD4DwEJxwPqhv3QULlRj8KYTAnNsXxmfuUXFCxZmO6CF2gM/y+ugBSAQhrqaJL3M+oe4owdWunaHM6beqA==, } engines: { node: ^16.0.0 || >=18.0.0 } dev: true - /@typescript-eslint/typescript-estree@6.10.0(typescript@5.2.2): + /@typescript-eslint/typescript-estree@6.11.0(typescript@5.2.2): resolution: { - integrity: sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==, + integrity: sha512-Aezzv1o2tWJwvZhedzvD5Yv7+Lpu1by/U1LZ5gLc4tCx8jUmuSCMioPFRjliN/6SJIvY6HpTtJIWubKuYYYesQ==, } engines: { node: ^16.0.0 || >=18.0.0 } peerDependencies: @@ -2554,8 +2554,8 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/types": 6.10.0 - "@typescript-eslint/visitor-keys": 6.10.0 + "@typescript-eslint/types": 6.11.0 + "@typescript-eslint/visitor-keys": 6.11.0 debug: 4.3.4(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 @@ -2566,10 +2566,10 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.10.0(eslint@8.53.0)(typescript@5.2.2): + /@typescript-eslint/utils@6.11.0(eslint@8.53.0)(typescript@5.2.2): resolution: { - integrity: sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg==, + integrity: sha512-p23ibf68fxoZy605dc0dQAEoUsoiNoP3MD9WQGiHLDuTSOuqoTsa4oAy+h3KDkTcxbbfOtUjb9h3Ta0gT4ug2g==, } engines: { node: ^16.0.0 || >=18.0.0 } peerDependencies: @@ -2578,9 +2578,9 @@ packages: "@eslint-community/eslint-utils": 4.4.0(eslint@8.53.0) "@types/json-schema": 7.0.15 "@types/semver": 7.5.5 - "@typescript-eslint/scope-manager": 6.10.0 - "@typescript-eslint/types": 6.10.0 - "@typescript-eslint/typescript-estree": 6.10.0(typescript@5.2.2) + "@typescript-eslint/scope-manager": 6.11.0 + "@typescript-eslint/types": 6.11.0 + "@typescript-eslint/typescript-estree": 6.11.0(typescript@5.2.2) eslint: 8.53.0 semver: 7.5.4 transitivePeerDependencies: @@ -2588,14 +2588,14 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@6.10.0: + /@typescript-eslint/visitor-keys@6.11.0: resolution: { - integrity: sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg==, + integrity: sha512-+SUN/W7WjBr05uRxPggJPSzyB8zUpaYo2hByKasWbqr3PM8AXfZt8UHdNpBS1v9SA62qnSSMF3380SwDqqprgQ==, } engines: { node: ^16.0.0 || >=18.0.0 } dependencies: - "@typescript-eslint/types": 6.10.0 + "@typescript-eslint/types": 6.11.0 eslint-visitor-keys: 3.4.3 dev: true diff --git a/test/Greeter.test.ts b/test/Greeter.test.ts index 4339f8e..36cd891 100644 --- a/test/Greeter.test.ts +++ b/test/Greeter.test.ts @@ -1,12 +1,12 @@ import { expect, assert } from "chai"; -import { Contract } from "ethers"; import { ethers } from "hardhat"; import { SignerWithAddress } from "@nomicfoundation/hardhat-ethers/signers"; import { mine, time } from "@nomicfoundation/hardhat-network-helpers"; +import { Greeter } from "../typechain-types"; describe("Greeter", function () { let deployerAccount: SignerWithAddress; - let greeter: Contract; + let greeter: Greeter; beforeEach(async function () { greeter = await ethers.deployContract("Greeter", ["Hello, Hardhat!"], {