mirror of
https://github.com/logos-messaging/logos-messaging-rlnv2-contract.git
synced 2026-01-10 01:43:09 +00:00
test: patch
This commit is contained in:
parent
dd84bdde54
commit
43ed082e34
10
package.json
10
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",
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user