Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Set the number of roots in the deployed CAPE contract to 40. #1066

Merged
merged 1 commit into from
May 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion contracts/deploy/00_cape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
});

const treeDepth = 24;
const nRoots = 1000;

// Enough so that a wallet CAP transaction can make it to the CAPE contract,
// but not too much in order to free the records of a rejected/lost transaction after a reasonable amount of time.
const nRoots = 40;

// To change, update change FAUCET_MANAGER_ENCRYPTION_KEY in rust/src/cape/faucet.rs
//
Expand Down