mirror of
https://github.com/vacp2p/rln-interep-contract.git
synced 2025-02-28 14:10:35 +00:00
chore: add constant depth
This commit is contained in:
parent
1c7779acd3
commit
4ab3a6f2fb
@ -4,6 +4,8 @@ export const sToBytes32 = (str: string): string => {
|
||||
return utils.formatBytes32String(str);
|
||||
};
|
||||
|
||||
export const merkleTreeDepth = 10;
|
||||
|
||||
export const SNARK_SCALAR_FIELD = BigInt(
|
||||
"21888242871839275222246405745257275088548364400416034343698204186575808495617"
|
||||
);
|
||||
@ -31,7 +33,7 @@ export const getGroups = () => {
|
||||
provider: sToBytes32(provider),
|
||||
name: sToBytes32(tier),
|
||||
root: 1,
|
||||
depth: 10,
|
||||
depth: merkleTreeDepth,
|
||||
};
|
||||
})
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user