diff --git a/package.json b/package.json index 83cbf1e..055091e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,15 @@ "@zk-kit/imt.sol": "https://gitpkg.now.sh/privacy-scaling-explorations/zk-kit/packages/imt.sol?0699fd1e5ad3683ae0090e0626f75d7834145500", "poseidon-solidity": "^0.0.5" }, - "keywords": ["blockchain", "ethereum", "forge", "foundry", "smart-contracts", "solidity", "template"], + "keywords": [ + "blockchain", + "ethereum", + "forge", + "foundry", + "smart-contracts", + "solidity", + "template" + ], "private": true, "scripts": { "clean": "rm -rf cache out", diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 047a8fe..8378b60 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -6,7 +6,7 @@ import { PoseidonT3 } from "poseidon-solidity/PoseidonT3.sol"; import { LazyIMT } from "@zk-kit/imt.sol/LazyIMT.sol"; import { BaseScript } from "./Base.s.sol"; import "forge-std/console.sol"; -import {Upgrades, Options} from "openzeppelin-foundry-upgrades/Upgrades.sol"; +import { Upgrades, Options } from "openzeppelin-foundry-upgrades/Upgrades.sol"; import { DeploymentConfig } from "./DeploymentConfig.s.sol"; contract Deploy is BaseScript { @@ -15,9 +15,7 @@ contract Deploy is BaseScript { /*opts.unsafeAllow = "external-library-linking";*/ opts.unsafeSkipAllChecks = true; address proxy = Upgrades.deployTransparentProxy( - "WakuRlnV2.sol:WakuRlnV2", - msg.sender, - abi.encodeCall(WakuRlnV2.initialize, (msg.sender, 20)), opts + "WakuRlnV2.sol:WakuRlnV2", msg.sender, abi.encodeCall(WakuRlnV2.initialize, (msg.sender, 20)), opts ); w = WakuRlnV2(proxy); } diff --git a/src/WakuRlnV2.sol b/src/WakuRlnV2.sol index 39dd405..b6a7a9d 100644 --- a/src/WakuRlnV2.sol +++ b/src/WakuRlnV2.sol @@ -4,8 +4,8 @@ pragma solidity 0.8.24; import { LazyIMT, LazyIMTData } from "@zk-kit/imt.sol/LazyIMT.sol"; import { PoseidonT3 } from "poseidon-solidity/PoseidonT3.sol"; -import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; -import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; +import { OwnableUpgradeable } from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; +import { Initializable } from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; /// The tree is full error FullTree();