mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-08 16:53:10 +00:00
fix: use pnpm when installing rln contracts
This commit is contained in:
parent
354dc65ccc
commit
dd38f2df47
@ -40,7 +40,7 @@ async function main() {
|
||||
|
||||
// Install dependencies
|
||||
console.log("📦 Installing dependencies...");
|
||||
exec("npm install", { cwd: CONTRACT_DIR });
|
||||
exec("pnpm i", { cwd: CONTRACT_DIR });
|
||||
|
||||
// Build contracts with Foundry
|
||||
console.log("🔨 Building contracts with Foundry...");
|
||||
|
||||
@ -351,6 +351,13 @@ export const membershipUpgradeableAbi = [
|
||||
|
||||
export const wakuRlnV2Abi = [
|
||||
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
||||
{
|
||||
type: "function",
|
||||
inputs: [],
|
||||
name: "HISTORY_SIZE",
|
||||
outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
|
||||
stateMutability: "view"
|
||||
},
|
||||
{
|
||||
type: "function",
|
||||
inputs: [],
|
||||
@ -461,6 +468,22 @@ export const wakuRlnV2Abi = [
|
||||
outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
|
||||
stateMutability: "view"
|
||||
},
|
||||
{
|
||||
type: "function",
|
||||
inputs: [],
|
||||
name: "getRecentRoots",
|
||||
outputs: [
|
||||
{ name: "ordered", internalType: "uint256[5]", type: "uint256[5]" }
|
||||
],
|
||||
stateMutability: "view"
|
||||
},
|
||||
{
|
||||
type: "function",
|
||||
inputs: [{ name: "position", internalType: "uint8", type: "uint8" }],
|
||||
name: "getRootAt",
|
||||
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
||||
stateMutability: "view"
|
||||
},
|
||||
{
|
||||
type: "function",
|
||||
inputs: [],
|
||||
@ -909,6 +932,19 @@ export const wakuRlnV2Abi = [
|
||||
],
|
||||
name: "OwnershipTransferred"
|
||||
},
|
||||
{
|
||||
type: "event",
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{
|
||||
name: "newRoot",
|
||||
internalType: "uint256",
|
||||
type: "uint256",
|
||||
indexed: false
|
||||
}
|
||||
],
|
||||
name: "RootStored"
|
||||
},
|
||||
{
|
||||
type: "event",
|
||||
anonymous: false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user