Skip to content

Commit

Permalink
Add COMMITMENT_WATCHER_DIRECT_DEPOSIT_PARAMS_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
AllFi committed Jun 10, 2024
1 parent 6ce96ca commit 27e77bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions zp-relayer/configs/commitmentWatcherConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const zSchema = z.object({
COMMITMENT_WATCHER_TOKEN_ADDRESS: z.string(),
COMMITMENT_WATCHER_PRECOMPUTE_PARAMS: zBooleanString().default('false'),
COMMITMENT_WATCHER_TREE_UPDATE_PARAMS_PATH: z.string().default('../params/tree_params.bin'),
COMMITMENT_WATCHER_DIRECT_DEPOSIT_PARAMS_PATH: z.string().default('../params/delegated_deposit_params.bin'),
COMMITMENT_WATCHER_STATE_DIR_PATH: z.string().default('./POOL_STATE'),
COMMITMENT_WATCHER_TX_VK_PATH: z.string().default('../params/transfer_verification_key.json'),
COMMITMENT_WATCHER_FETCH_INTERVAL: z.coerce.number().default(10000),
Expand Down
2 changes: 1 addition & 1 deletion zp-relayer/services/commitment-watcher/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export async function init() {
const directDepositProver = buildProver(
Circuit.DirectDeposit,
ProverType.Local,
config.COMMITMENT_WATCHER_TREE_UPDATE_PARAMS_PATH as string
config.COMMITMENT_WATCHER_DIRECT_DEPOSIT_PARAMS_PATH as string
)

if (!config.base.COMMON_INDEXER_URL) {
Expand Down

0 comments on commit 27e77bf

Please sign in to comment.