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

Commit

Permalink
Set the number of roots in the deployed CAPE contract to 40. (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippecamacho authored May 18, 2022
1 parent 4dd6105 commit 6b7f585
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit 6b7f585

Please sign in to comment.