From 94cd4715b661536be54f5836c6e60582cfdbe335 Mon Sep 17 00:00:00 2001 From: Keshav Gupta Date: Thu, 23 Jun 2022 15:57:09 +0200 Subject: [PATCH] Packages import, RLN name case sensitivity --- package-lock.json | 13 +++++++++++++ package.json | 1 + scripts/deploy.ts | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index c6d5000..d269f8f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@nomiclabs/hardhat-ethers": "^2.0.6", "@nomiclabs/hardhat-etherscan": "^3.1.0", "@nomiclabs/hardhat-waffle": "^2.0.3", + "@types/mocha": "^9.1.1", "chai": "^4.3.6", "ethereum-waffle": "^3.4.4", "ethers": "^5.6.9", @@ -1822,6 +1823,12 @@ "@types/node": "*" } }, + "node_modules/@types/mocha": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz", + "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==", + "dev": true + }, "node_modules/@types/node": { "version": "18.0.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz", @@ -22013,6 +22020,12 @@ "@types/node": "*" } }, + "@types/mocha": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz", + "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==", + "dev": true + }, "@types/node": { "version": "18.0.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz", diff --git a/package.json b/package.json index e1e513e..aa2e152 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "@nomiclabs/hardhat-ethers": "^2.0.6", "@nomiclabs/hardhat-etherscan": "^3.1.0", "@nomiclabs/hardhat-waffle": "^2.0.3", + "@types/mocha": "^9.1.1", "chai": "^4.3.6", "ethereum-waffle": "^3.4.4", "ethers": "^5.6.9", diff --git a/scripts/deploy.ts b/scripts/deploy.ts index 1a3d183..bd384b2 100644 --- a/scripts/deploy.ts +++ b/scripts/deploy.ts @@ -21,7 +21,7 @@ async function main() { console.log("PoseidonHasher deployed to:", poseidonHasher.address); - const Rln = await ethers.getContractFactory("Rln"); + const Rln = await ethers.getContractFactory("RLN"); const rln = await Rln.deploy(1000000000000000,10,poseidonHasher.address); await rln.deployed();