Skip to content

chore: add prod param on deployment#1515

Merged
ctrlc03 merged 6 commits into
mainfrom
chore/prod-params
Apr 13, 2026
Merged

chore: add prod param on deployment#1515
ctrlc03 merged 6 commits into
mainfrom
chore/prod-params

Conversation

@ctrlc03

@ctrlc03 ctrlc03 commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Events view enhanced with larger fetches, filtering, sorting and severity markers.
    • SDK now exposes named BFV parameter presets.
  • Tests

    • Integration tests switched to a preset and extended timeouts for stability.
  • Chores

    • Deployment now registers multiple BFV parameter presets; deployed contract metadata updated.
  • Behavioral Changes

    • Longer collection timeouts, larger network/gossip payloads, and increased JSON request size limits.

@vercel

vercel Bot commented Apr 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crisp Ready Ready Preview, Comment Apr 13, 2026 3:02pm
enclave-docs Ready Ready Preview, Comment Apr 13, 2026 3:02pm

Request Review

@coderabbitai

coderabbitai Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds BFV parameter presets and ABI-encodes/registers two param sets in the deploy script; introduces an SDK type for BFV param sets; raises multiple collection/network timeouts and payload limits; sets JSON body limits in servers; updates dashboard event filtering/UI and template deployment metadata and test timing.

Changes

Cohort / File(s) Summary
Contract artifact
packages/enclave-contracts/artifacts/contracts/Enclave.sol/Enclave.json
Updated buildInfoId metadata only (no ABI/bytecode changes).
Deployment scripts
packages/enclave-contracts/scripts/deployEnclave.ts
Added BFV presets constant (insecure512, secure8192), encodeBfvParams helper using ethers AbiCoder, computed ABI-encoded presets and called enclave.setParamSet(0, ...) and enclave.setParamSet(1, ...); replaced prior inline encoding.
SDK types
packages/enclave-sdk/src/crypto/types.ts
Added exported BfvParamSet interface grouping a preset name and its params.
Integration tests & templates
templates/default/tests/integration.spec.ts, templates/default/deployed_contracts.json, templates/default/enclave.config.yaml, examples/CRISP/...
Integration test now uses ThresholdBfvParamsPresetNames[0] instead of string literal and increases duration from 450→1000; multiple deployed contract blockNumber/address shifts; cn1.dashboard_port added; example CRISP config e3_program address updated.
Dashboard UI
crates/dashboard/src/dashboard.html
Increased events fetch limit to 500; added E3 ID/source/severity filters and sort modes; reworked sorting/filtering/rendering logic, row severity classes, and refresh counts; added related CSS tweaks.
Collectors (timeouts)
crates/keyshare/src/decryption_key_shared_collector.rs, crates/keyshare/src/encryption_key_collector.rs, crates/keyshare/src/threshold_share_collector.rs
Increased default collection timeouts (various constants raised: e.g., 1200→3600s, 60→600s, 800→3600s).
Networking & messaging
crates/net/src/net_interface.rs
Raised Kademlia store/value limits (MAX_KADEMLIA_PAYLOAD_MB→100, MAX_KADEMLIA_RECORD_MB=25MB) and gossipsub max message size (MAX_GOSSIP_MSG_SIZE_KB→10240).
Program server / template server
crates/program-server/src/lib.rs, templates/default/server/index.ts
Set Actix-web JSON limit to 10MB; Express JSON parser limit set to 50MB.
ZK-prover links
crates/zk-prover/src/actors/commitment_links/mod.rs
Commented out registration of two C2→C4 share-commitment consistency link implementations in default_links().
Deployed contracts (examples)
examples/CRISP/packages/crisp-contracts/deployed_contracts.json
Multiple blockNumber/address updates reflecting shifted deployments; some constructor args updated to match new verifier addresses.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant DeployScript
  participant Provider as Blockchain/Provider
  participant EnclaveContract as Enclave (on-chain)

  DeployScript->>Provider: deploy or attach Enclave contract
  DeployScript->>DeployScript: encodeBfvParams(insecure512) using ethers.AbiCoder
  DeployScript->>EnclaveContract: setParamSet(0, encodedInsecure)
  Provider-->>DeployScript: tx confirmation
  DeployScript->>DeployScript: encodeBfvParams(secure8192) using ethers.AbiCoder
  DeployScript->>EnclaveContract: setParamSet(1, encodedSecure)
  Provider-->>DeployScript: tx confirmation
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Suggested labels

crisp, sdk

Suggested reviewers

  • cedoor
  • 0xjei

Poem

🐰 I hopped through presets, one then two,
Encoded with care, and pushed them through,
Set param sets on-chain with a bashful cheer,
Dashboards hum and timeouts linger near,
A tiny rabbit claps — deployment’s here!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'chore: add prod param on deployment' is vague and does not clearly convey the specific changes made across multiple files and systems. Use a more descriptive title that specifically identifies the main change, such as 'chore: add secure8192 BFV parameter set and increase collection timeouts' or similar.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/prod-params

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/enclave-contracts/scripts/deployEnclave.ts`:
- Around line 66-92: Replace the direct ethers.AbiCoder encoding for
encodedInsecure and encodedSecure with the SDK utility encodeBfvParams (use
encodeBfvParams(paramsInsecure) and encodeBfvParams(paramsSecure)) so the
built-in guard handles optional error1Variance; also add the import for
encodeBfvParams from packages/enclave-sdk/src/utils.ts and remove the direct
AbiCoder usage for these two variables to avoid encoding an undefined string
into a required Solidity string.

In `@templates/default/tests/integration.spec.ts`:
- Line 174: The test is using a secure BFV preset
(ThresholdBfvParamsPresetNames[1]) but the suite must remain on the insecure
preset; update the configuration so thresholdBfvParamsPresetName uses the
insecure preset value (e.g., ThresholdBfvParamsPresetNames[0]) wherever it's set
(refer to the thresholdBfvParamsPresetName key and any other occurrences of
ThresholdBfvParamsPresetNames[1] in the test file, including the second
occurrence mentioned) to avoid mixing presets across the test suite.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9b145ff2-c5ba-4d58-a07c-cf4097467a63

📥 Commits

Reviewing files that changed from the base of the PR and between a577beb and 6c19686.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (5)
  • packages/enclave-contracts/artifacts/contracts/Enclave.sol/Enclave.json
  • packages/enclave-contracts/package.json
  • packages/enclave-contracts/scripts/deployEnclave.ts
  • packages/enclave-sdk/src/crypto/types.ts
  • templates/default/tests/integration.spec.ts

Comment thread packages/enclave-contracts/scripts/deployEnclave.ts Outdated
Comment thread templates/default/tests/integration.spec.ts Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@crates/dashboard/src/dashboard.html`:
- Around line 229-234: The severity "warning" predicate currently includes both
WARNING_TYPES and ERROR_TYPES; update the filtering logic where severityFilter
is checked (the code referencing severityFilter, WARNING_TYPES and ERROR_TYPES)
so that when severityFilter === 'warning' it only matches WARNING_TYPES (and
explicitly excludes ERROR_TYPES). Concretely, change the conditional that
returns events for 'warning' to test membership in WARNING_TYPES only (not union
with ERROR_TYPES) and ensure the analogous fix is applied to the duplicate block
around the other occurrence (lines near where severityFilter is used again).

In `@crates/net/src/net_interface.rs`:
- Around line 58-60: The current MAX_KADEMLIA_PAYLOAD_MB is being reused to
configure both the transport via set_max_packet_size(...) and the in-memory
Kademlia store via MemoryStoreConfig.max_value_bytes, which allows the store to
accept huge records (combined with DHT_MAX_RECORDS) and risks OOM; introduce a
separate, much smaller constant (e.g., MEMORY_STORE_MAX_VALUE_BYTES or
MAX_KADEMLIA_STORE_BYTES) and use that for MemoryStoreConfig.max_value_bytes
while keeping MAX_KADEMLIA_PAYLOAD_MB for set_max_packet_size(...); choose the
store cap to match the largest expected record size (not 100MB) and leave
DHT_MAX_RECORDS unchanged.

In `@crates/zk-prover/src/actors/commitment_links/mod.rs`:
- Around line 117-120: The C2→C4 share-commitment links
(C2aToC4aShareCommitmentLink and C2bToC4bShareCommitmentLink) were commented out
from default_links(), creating a verifier-integrity gap; re-enable those
Box::new(...) entries in default_links() so C4 expected_commitments remain
validated against C2 outputs, and instead implement an explicit non-production
bypass: add a clearly named feature/flag (e.g., allow_c2c4_bypass or
debug_allow_commitment_bypass) checked when registering these links, emit strong
warning logs including reason and an expiration timestamp/issue ID whenever the
bypass is used, and ensure the flag is only enabled in dev/test builds or via a
controlled config so production default keeps the links active.

In `@templates/default/enclave.config.yaml`:
- Around line 7-22: slashing_manager.deploy_block is out of sync with the
recorded deployment metadata (SlashingManager.blockNumber); update the value of
slashing_manager.deploy_block from 13 to 11 so it matches
SlashingManager.blockNumber in deployed_contracts.json and keeps per-contract
start-block logic consistent.

In `@templates/default/server/index.ts`:
- Line 293: The current express.json() middleware limit is too low and can
reject valid webhook payloads before handleWebhookRequest runs; update the JSON
body parser configuration used in app.use(express.json(...)) to a larger limit
(e.g., increase to at least "20mb" or an appropriate value for prod serialized
proof+ciphertext sizes) so the webhook POSTs carrying hex-encoded proof and
ciphertext aren't blocked, and ensure this change is made where
app.use(express.json(...)) is registered so handleWebhookRequest receives the
full body.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: bf56520e-2ff2-43e2-b810-ca491ceba81a

📥 Commits

Reviewing files that changed from the base of the PR and between 270b062 and 0b0b0c0.

📒 Files selected for processing (10)
  • crates/dashboard/src/dashboard.html
  • crates/keyshare/src/decryption_key_shared_collector.rs
  • crates/keyshare/src/encryption_key_collector.rs
  • crates/keyshare/src/threshold_share_collector.rs
  • crates/net/src/net_interface.rs
  • crates/program-server/src/lib.rs
  • crates/zk-prover/src/actors/commitment_links/mod.rs
  • templates/default/deployed_contracts.json
  • templates/default/enclave.config.yaml
  • templates/default/server/index.ts
✅ Files skipped from review due to trivial changes (1)
  • crates/keyshare/src/decryption_key_shared_collector.rs

Comment thread crates/dashboard/src/dashboard.html
Comment thread crates/net/src/net_interface.rs
Comment thread crates/zk-prover/src/actors/commitment_links/mod.rs Outdated
Comment thread templates/default/enclave.config.yaml
Comment thread templates/default/server/index.ts Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

♻️ Duplicate comments (1)
templates/default/tests/integration.spec.ts (1)

174-174: ⚠️ Potential issue | 🟠 Major

Use the insecure preset index here to match paramSet: 0.

Line 174 currently selects ThresholdBfvParamsPresetNames[1] (secure), but Line 207 requests paramSet: 0 (insecure). This preset mismatch can break the integration flow.

🔧 Suggested fix
-    thresholdBfvParamsPresetName: ThresholdBfvParamsPresetNames[1],
+    thresholdBfvParamsPresetName: ThresholdBfvParamsPresetNames[0],
#!/bin/bash
set -euo pipefail

echo "== Check preset selection and paramSet pairing in integration test =="
rg -n -C2 --type ts 'thresholdBfvParamsPresetName|paramSet:' templates/default/tests/integration.spec.ts

echo
echo "== Check SDK default threshold preset =="
rg -n -C2 --type ts 'DEFAULT_THRESHOLD_BFV_PARAMS_PRESET_NAME' packages/enclave-sdk/src/constants.ts

Based on learnings, tests in this repository intentionally remain on insecure BFV presets during the transition and should not mix in production presets yet.

Also applies to: 207-207

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@templates/default/tests/integration.spec.ts` at line 174, The test uses a
secure BFV preset but requests paramSet: 0 (insecure), causing a mismatch;
change the selected preset so thresholdBfvParamsPresetName uses the insecure
entry ThresholdBfvParamsPresetNames[0] to match paramSet: 0 and the repository's
test policy. Update the value referenced by thresholdBfvParamsPresetName (not
paramSet) so both the preset and paramSet align (ensure
ThresholdBfvParamsPresetNames[0] is used).
🧹 Nitpick comments (1)
packages/enclave-contracts/scripts/deployEnclave.ts (1)

270-271: Replace magic param-set indexes with named constants.

Using raw 0/1 works, but named constants would make accidental mapping drift less likely.

♻️ Small readability refactor
+const PARAM_SET = {
+  Insecure512: 0,
+  Secure8192: 1,
+} as const;
+
 // Register BFV param sets
 console.log("Registering BFV param sets...");
-await enclave.setParamSet(0, encodedInsecure); // ParamSet.Insecure512
-await enclave.setParamSet(1, encodedSecure); // ParamSet.Secure8192
+await enclave.setParamSet(PARAM_SET.Insecure512, encodedInsecure);
+await enclave.setParamSet(PARAM_SET.Secure8192, encodedSecure);
 console.log("ParamSet.Insecure512 registered");
 console.log("ParamSet.Secure8192 registered");
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/enclave-contracts/scripts/deployEnclave.ts` around lines 270 - 271,
Replace the magic indices passed to enclave.setParamSet with named constants to
avoid mapping drift: define or use a ParamSet enum/const (e.g.,
ParamSet.Insecure512 and ParamSet.Secure8192) and call
enclave.setParamSet(ParamSet.Insecure512, encodedInsecure) and
enclave.setParamSet(ParamSet.Secure8192, encodedSecure) instead of using 0 and
1; update any nearby references in deployEnclave.ts to import or declare the
ParamSet identifiers so the calls are self-documenting and resilient to index
changes.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@crates/dashboard/src/dashboard.html`:
- Around line 470-473: The rendering code treats numeric IDs of 0 as missing
because it uses a falsy check on eid and on eid.chain_id; update the logic that
returns '-' to only treat null/undefined (e.g., use eid == null or eid === null
|| eid === undefined) and when composing the returned string in the block that
checks typeof eid === 'object' && eid.id !== undefined, include chain_id even
when it is 0 by explicitly checking chain_id !== undefined (not truthiness)
before prefixing chain_id + ':' to eid.id so zero values are preserved.
- Line 358: The default client-side fetch for events is using a high static
limit (const text = await api('/api/events?since=' + s + '&limit=500')) which
causes heavy periodic loads; change the hardcoded limit to a much smaller
default (e.g., 50 or 100) in that api call and/or make it configurable via a
nearby refresh/auto-refresh setting, and where possible add a server-side clamp
to enforce a maximum; update the string passed to api('/api/events?...') in the
same place so the default periodic reloads use the reduced limit.

---

Duplicate comments:
In `@templates/default/tests/integration.spec.ts`:
- Line 174: The test uses a secure BFV preset but requests paramSet: 0
(insecure), causing a mismatch; change the selected preset so
thresholdBfvParamsPresetName uses the insecure entry
ThresholdBfvParamsPresetNames[0] to match paramSet: 0 and the repository's test
policy. Update the value referenced by thresholdBfvParamsPresetName (not
paramSet) so both the preset and paramSet align (ensure
ThresholdBfvParamsPresetNames[0] is used).

---

Nitpick comments:
In `@packages/enclave-contracts/scripts/deployEnclave.ts`:
- Around line 270-271: Replace the magic indices passed to enclave.setParamSet
with named constants to avoid mapping drift: define or use a ParamSet enum/const
(e.g., ParamSet.Insecure512 and ParamSet.Secure8192) and call
enclave.setParamSet(ParamSet.Insecure512, encodedInsecure) and
enclave.setParamSet(ParamSet.Secure8192, encodedSecure) instead of using 0 and
1; update any nearby references in deployEnclave.ts to import or declare the
ParamSet identifiers so the calls are self-documenting and resilient to index
changes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a6f5bd95-3e3f-4507-be78-7b4af85739ff

📥 Commits

Reviewing files that changed from the base of the PR and between 0b0b0c0 and 043f017.

📒 Files selected for processing (6)
  • crates/dashboard/src/dashboard.html
  • crates/net/src/net_interface.rs
  • packages/enclave-contracts/scripts/deployEnclave.ts
  • templates/default/enclave.config.yaml
  • templates/default/server/index.ts
  • templates/default/tests/integration.spec.ts
🚧 Files skipped from review as they are similar to previous changes (3)
  • templates/default/enclave.config.yaml
  • templates/default/server/index.ts
  • crates/net/src/net_interface.rs

Comment thread crates/dashboard/src/dashboard.html
Comment thread crates/dashboard/src/dashboard.html Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
packages/enclave-contracts/scripts/deployEnclave.ts (2)

24-67: Single-source these BFV preset values.

This adds a second copy of the authoritative BFV constants inside the deploy script. A later change in crates/fhe-params can silently desync deploy-time registry data from the SDK/WASM expectations. Consider generating this object from a shared artifact or codegen step instead of maintaining the values here by hand.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/enclave-contracts/scripts/deployEnclave.ts` around lines 24 - 67,
The BFV_PARAMS object in this script duplicates the authoritative constants from
crates/fhe-params and risks desync; replace the hardcoded BFV_PARAMS with a
single-source import (e.g., require/import a generated JSON or JS module
produced by crates/fhe-params codegen) and update encodeBfvParams to consume
that imported structure (keeping the same shape: degree, plaintextModulus,
moduli, error1Variance) so ABI encoding remains unchanged; add a small
build/codegen step that exports the constants from crates/fhe-params into a
shared artifact consumed by this script and update any references to BFV_PARAMS
to use that imported artifact.

270-271: Consider updating template/example client code to use secure parameters, or clearly document the transition period.

Multiple test files and template code (e.g., templates/default/client/src/pages/steps/RequestComputation.tsx:110) hardcode paramSet: 0 (Insecure512). While tests intentionally remain on insecure BFV presets during the transition period, template code that developers copy may inadvertently propagate insecure defaults into production deployments. Either update template examples to use paramSet: 1 (Secure8192) or add prominent warnings that the transition period is temporary.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/enclave-contracts/scripts/deployEnclave.ts` around lines 270 - 271,
Update template/example client usage that currently hardcodes paramSet: 0
(ParamSet.Insecure512) to use paramSet: 1 (ParamSet.Secure8192) or add a
prominent deprecation/security warning in the template; locate instances where
code sets paramSet: 0 (e.g., the RequestComputation.tsx example and any test
stubs) and change them to paramSet: 1 or insert a clear comment/README note
explaining this is a temporary transition and insecure presets should not be
used in production, and ensure any server-side deployment examples calling
enclave.setParamSet(0, ...) are updated to enclave.setParamSet(1, ...) or
documented.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@examples/CRISP/packages/crisp-contracts/deployed_contracts.json`:
- Around line 304-310: The manifest records identical blockNumber because the
code calls ethers.provider.getBlockNumber() after sequential deployments;
replace that with the actual mined block number from each deployment receipt
(use tx.wait() and read receipt.blockNumber) and pass that value into
storeDeploymentArgs(...) for both HonkVerifier and CRISPProgram so each stored
deployment uses the receipt.blockNumber rather than a later
provider.getBlockNumber() call.

---

Nitpick comments:
In `@packages/enclave-contracts/scripts/deployEnclave.ts`:
- Around line 24-67: The BFV_PARAMS object in this script duplicates the
authoritative constants from crates/fhe-params and risks desync; replace the
hardcoded BFV_PARAMS with a single-source import (e.g., require/import a
generated JSON or JS module produced by crates/fhe-params codegen) and update
encodeBfvParams to consume that imported structure (keeping the same shape:
degree, plaintextModulus, moduli, error1Variance) so ABI encoding remains
unchanged; add a small build/codegen step that exports the constants from
crates/fhe-params into a shared artifact consumed by this script and update any
references to BFV_PARAMS to use that imported artifact.
- Around line 270-271: Update template/example client usage that currently
hardcodes paramSet: 0 (ParamSet.Insecure512) to use paramSet: 1
(ParamSet.Secure8192) or add a prominent deprecation/security warning in the
template; locate instances where code sets paramSet: 0 (e.g., the
RequestComputation.tsx example and any test stubs) and change them to paramSet:
1 or insert a clear comment/README note explaining this is a temporary
transition and insecure presets should not be used in production, and ensure any
server-side deployment examples calling enclave.setParamSet(0, ...) are updated
to enclave.setParamSet(1, ...) or documented.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 33f6245d-618b-4b7a-942c-f14425269889

📥 Commits

Reviewing files that changed from the base of the PR and between 043f017 and 761914a.

📒 Files selected for processing (8)
  • crates/dashboard/src/dashboard.html
  • crates/net/src/net_interface.rs
  • examples/CRISP/enclave.config.yaml
  • examples/CRISP/packages/crisp-contracts/deployed_contracts.json
  • packages/enclave-contracts/scripts/deployEnclave.ts
  • templates/default/enclave.config.yaml
  • templates/default/server/index.ts
  • templates/default/tests/integration.spec.ts
✅ Files skipped from review due to trivial changes (1)
  • examples/CRISP/enclave.config.yaml
🚧 Files skipped from review as they are similar to previous changes (4)
  • templates/default/server/index.ts
  • templates/default/enclave.config.yaml
  • crates/dashboard/src/dashboard.html
  • templates/default/tests/integration.spec.ts

Comment thread examples/CRISP/packages/crisp-contracts/deployed_contracts.json
@vercel vercel Bot temporarily deployed to Preview – crisp April 10, 2026 14:53 Inactive
@vercel vercel Bot temporarily deployed to Preview – enclave-docs April 10, 2026 14:53 Inactive
Comment thread pnpm-lock.yaml
Comment thread crates/zk-prover/src/actors/commitment_links/mod.rs Outdated
@ctrlc03 ctrlc03 disabled auto-merge April 13, 2026 15:03
@ctrlc03 ctrlc03 enabled auto-merge (squash) April 13, 2026 15:03
@ctrlc03 ctrlc03 merged commit 6359bfd into main Apr 13, 2026
33 checks passed
@github-actions github-actions Bot deleted the chore/prod-params branch April 21, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants