Skip to content

chore: new deployments addresses sepolia#1391

Merged
hmzakhalid merged 5 commits into
mainfrom
chore/update-contract-addresses
Mar 8, 2026
Merged

chore: new deployments addresses sepolia#1391
hmzakhalid merged 5 commits into
mainfrom
chore/update-contract-addresses

Conversation

@ctrlc03

@ctrlc03 ctrlc03 commented Mar 6, 2026

Copy link
Copy Markdown
Collaborator

update contract addresses on guide

Summary by CodeRabbit

  • New Features

    • Added three SDK read methods to fetch E3 quote, stage, and failure-reason data.
  • Bug Fixes

    • Fixed preset validation logic in the SDK.
  • Documentation

    • Updated Sepolia/local deployment contract snapshots and addresses across docs and examples.
    • Renamed documented SDK sub-module from "encryption" to "crypto".
  • Chores

    • Bumped package versions to v0.7.0 and updated example dependency references.

@vercel

vercel Bot commented Mar 6, 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 Mar 8, 2026 0:11am
enclave-docs Ready Ready Preview, Comment Mar 8, 2026 0:11am

Request Review

@coderabbitai

coderabbitai Bot commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1cde0293-0b64-45af-8004-5b2a7693b8ba

📥 Commits

Reviewing files that changed from the base of the PR and between 8ff2396 and 19a015e.

📒 Files selected for processing (3)
  • docs/pages/sdk.mdx
  • packages/enclave-sdk/README.md
  • packages/enclave-sdk/src/enclave-sdk.ts
🚧 Files skipped from review as they are similar to previous changes (2)
  • packages/enclave-sdk/README.md
  • docs/pages/sdk.mdx

📝 Walkthrough

Walkthrough

This PR updates Sepolia contract addresses and deploy blocks across docs and deployed_contracts JSONs, bumps CRISP package versions to 0.7.0, renames the SDK sub-module reference from "encryption" to "crypto" in docs, adds three read-only Enclave SDK operations to the README, and simplifies a preset-name validation check in the Enclave SDK source.

Changes

Cohort / File(s) Summary
Operator docs
docs/pages/ciphernode-operators/index.mdx, docs/pages/ciphernode-operators/running.mdx
Replaced Sepolia contract addresses and deploy_block values shown in operator documentation (multiple rows/occurrences updated).
SDK docs
docs/pages/sdk.mdx, packages/enclave-sdk/README.md
Renamed sub-module reference from encryptioncrypto in docs; added three new read operations (getE3Quote, getE3Stage, getFailureReason) to the enclave-sdk README.
Enclave SDK source
packages/enclave-sdk/src/enclave-sdk.ts
Changed preset-name validation to use ThresholdBfvParamsPresetNames.includes(presetName) (validation source simplified).
CRISP deployment snapshot
examples/CRISP/packages/crisp-contracts/deployed_contracts.json
Large update of Sepolia deployment snapshot: contract addresses, blockNumbers, constructorArgs, proxyRecords, initData, and inter-contract references rewritten to new deployment coordinates.
Enclave deployment snapshot
packages/enclave-contracts/deployed_contracts.json
Updated Sepolia blockNumbers and addresses for enclave-related contracts; proxyRecords, constructorArgs, and related token/registry references adjusted.
Template deployments (localhost)
templates/default/deployed_contracts.json
Incremented localhost blockNumber values across multiple entries; addresses/constructorArgs unchanged.
CRISP packages (versions)
examples/CRISP/client/package.json, examples/CRISP/packages/crisp-contracts/package.json, examples/CRISP/packages/crisp-sdk/package.json, examples/CRISP/packages/crisp-zk-inputs/package.json
Bumped package versions from 0.6.0 → 0.7.0 and updated @crisp-e3/sdk dependency accordingly.

Sequence Diagram(s)

(omitted — changes are primarily data/docs and small SDK validation/readers; no new multi-component control flow requiring a sequence diagram)

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Suggested labels

documentation

Suggested reviewers

  • cedoor

Poem

🐰 I hop with glee through contracts and docs so bright,
New addresses land and CRISP takes flight,
Crypto now sings where encryption once stood,
SDK reads sprout three—oh what good!
A rabbit's cheer for changes done right.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly aligns with the primary change: updating contract deployment addresses for the Sepolia network across documentation and configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/update-contract-addresses

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.

ctrlc03 added 3 commits March 6, 2026 20:47
- Updated @crisp-e3/sdk to 0.7.0
- Updated @crisp-e3/contracts to 0.7.0
- Updated @crisp-e3/zk-inputs to 0.7.0
- Published to npm

@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

🤖 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-sdk/src/enclave-sdk.ts`:
- Around line 69-71: The validation currently throws when presetName is found in
ThresholdBfvParamsPresetNames (inverting the logic); change the condition in the
block that constructs/validates the preset (the check that throws new
SDKError('INVALID_THRESHOLD_BFV_PARAMS_PRESET_NAME')) to use
!ThresholdBfvParamsPresetNames.includes(presetName) so it throws only when
presetName is NOT a valid entry; update the throw message usage in the same
location (where SDKError is created) to remain the same but be guarded by the
corrected !includes() check.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b5b4d088-1e1e-44a5-87cb-5785cd5139ff

📥 Commits

Reviewing files that changed from the base of the PR and between 952abf8 and 8ff2396.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (12)
  • docs/pages/ciphernode-operators/index.mdx
  • docs/pages/ciphernode-operators/running.mdx
  • docs/pages/sdk.mdx
  • examples/CRISP/client/package.json
  • examples/CRISP/packages/crisp-contracts/deployed_contracts.json
  • examples/CRISP/packages/crisp-contracts/package.json
  • examples/CRISP/packages/crisp-sdk/package.json
  • examples/CRISP/packages/crisp-zk-inputs/package.json
  • packages/enclave-contracts/deployed_contracts.json
  • packages/enclave-sdk/README.md
  • packages/enclave-sdk/src/enclave-sdk.ts
  • templates/default/deployed_contracts.json
🚧 Files skipped from review as they are similar to previous changes (4)
  • examples/CRISP/packages/crisp-zk-inputs/package.json
  • examples/CRISP/packages/crisp-sdk/package.json
  • examples/CRISP/packages/crisp-contracts/package.json
  • examples/CRISP/client/package.json

Comment thread packages/enclave-sdk/src/enclave-sdk.ts Outdated
@hmzakhalid hmzakhalid enabled auto-merge (squash) March 8, 2026 12:10
@hmzakhalid hmzakhalid merged commit 36d16a8 into main Mar 8, 2026
27 checks passed
@github-actions github-actions Bot deleted the chore/update-contract-addresses branch March 16, 2026 03:21
@coderabbitai coderabbitai Bot mentioned this pull request Mar 20, 2026
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.

2 participants