Skip to content

chore: update contract addresses and operator guide#1341

Merged
ctrlc03 merged 5 commits into
mainfrom
chore/update-contracts
Feb 18, 2026
Merged

chore: update contract addresses and operator guide#1341
ctrlc03 merged 5 commits into
mainfrom
chore/update-contracts

Conversation

@ctrlc03

@ctrlc03 ctrlc03 commented Feb 17, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Documentation

    • Updated operator deployment docs to match the latest Sepolia deployment state.
  • Chores

    • Replaced many Sepolia contract deployments with new addresses and block numbers.
    • Added new public contracts (transcript, verifier, voting token).
    • Rewrote proxy initialization data and updated proxy records and submission window.
  • Chores

    • Bumped example package versions and SDK from 0.5.11 → 0.5.12.

@ctrlc03 ctrlc03 requested a review from hmzakhalid February 17, 2026 15:30
@vercel

vercel Bot commented Feb 17, 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 Feb 18, 2026 0:25am
enclave-docs Ready Ready Preview, Comment Feb 18, 2026 0:25am

Request Review

@coderabbitai

coderabbitai Bot commented Feb 17, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Replaces Sepolia contract addresses, block numbers, and proxy/initData across documentation and deployment JSONs; bumps CRISP package versions and updates one server minor edit. No API, runtime logic, or exported public declarations changed.

Changes

Cohort / File(s) Summary
Documentation
docs/pages/ciphernode-operators/running.mdx
Updated Sepolia chain configuration: new contract addresses and deploy_block values for enclave, ciphernode_registry, and bonding_registry (two occurrences).
CRISP deployment metadata
examples/CRISP/packages/crisp-contracts/deployed_contracts.json
Major rewrite of Sepolia entries: updated block numbers/addresses, extensive proxyRecords.initData changes, re-pointed proxies, adjusted token references, and added ZKTranscriptLib, DkgPkVerifier, and MockVotingToken.
Enclave deployment metadata
packages/enclave-contracts/deployed_contracts.json
Updated Sepolia block numbers and many contract addresses; comprehensive proxyRecords rewrites (initData, proxy/proxyAdmin/implementation addresses), updated registry/bonding/enclave references and CiphernodeRegistryOwnable submissionWindow.
CRISP packages (version bumps)
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 of CRISP packages / @crisp-e3/sdk from 0.5.110.5.12 in multiple manifests.
Server minor edit
examples/CRISP/server/src/server/indexer.rs
Removed an unused/local input_window assignment; references to input_window[1] remain. Small code churn.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Suggested labels

documentation, crisp, sdk

Suggested reviewers

  • cedoor
  • hmzakhalid

Poem

🐰 I hopped through Sepolia fields with glee,
Swapped blocks and proxies beneath a tree,
Tokens, addresses, neatly aligned,
New deployments left old trails behind,
A tiny hop for rabbit-kind — hooray for v0.5.12! 🎉

🚥 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 accurately summarizes the main changes: updating contract addresses across multiple files and updating the operator guide documentation.
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
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/update-contracts

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.

hmzakhalid
hmzakhalid previously approved these changes Feb 18, 2026

@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.

🧹 Nitpick comments (1)
examples/CRISP/packages/crisp-contracts/deployed_contracts.json (1)

1-157: Consider whether the base contract section should reference the main file rather than duplicate it.

Lines 3–134 (PoseidonT3 → DkgPkVerifier) are an exact copy of packages/enclave-contracts/deployed_contracts.json. Any future redeployment requires synchronising both files, which is already exactly what this PR does. If the CRISP deployment script can read from the parent package's deployed_contracts.json, the base section here could be dropped in favour of a reference.

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

In `@examples/CRISP/packages/crisp-contracts/deployed_contracts.json` around lines
1 - 157, The file duplicates the base contracts block (PoseidonT3 through
DkgPkVerifier) from packages/enclave-contracts/deployed_contracts.json; update
the CRISP package to stop duplicating that data by changing its
deployment/resource loading to read/merge from the parent package's
deployed_contracts.json (packages/enclave-contracts/deployed_contracts.json)
instead of embedding the block for PoseidonT3, MockUSDC, EnclaveToken,
EnclaveTicketToken, SlashingManager, BondingRegistry, CiphernodeRegistryOwnable,
Enclave, E3RefundManager, MockComputeProvider, MockDecryptionVerifier,
MockE3Program, ZKTranscriptLib, DkgPkVerifier; remove the duplicated JSON
section from examples/CRISP/packages/crisp-contracts/deployed_contracts.json and
ensure any code that accesses crisp-contracts.deployed data now falls back to or
imports the parent package data (or adds a simple loader that reads and merges
the parent file at runtime/build).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@examples/CRISP/packages/crisp-contracts/deployed_contracts.json`:
- Around line 1-157: The file duplicates the base contracts block (PoseidonT3
through DkgPkVerifier) from packages/enclave-contracts/deployed_contracts.json;
update the CRISP package to stop duplicating that data by changing its
deployment/resource loading to read/merge from the parent package's
deployed_contracts.json (packages/enclave-contracts/deployed_contracts.json)
instead of embedding the block for PoseidonT3, MockUSDC, EnclaveToken,
EnclaveTicketToken, SlashingManager, BondingRegistry, CiphernodeRegistryOwnable,
Enclave, E3RefundManager, MockComputeProvider, MockDecryptionVerifier,
MockE3Program, ZKTranscriptLib, DkgPkVerifier; remove the duplicated JSON
section from examples/CRISP/packages/crisp-contracts/deployed_contracts.json and
ensure any code that accesses crisp-contracts.deployed data now falls back to or
imports the parent package data (or adds a simple loader that reads and merges
the parent file at runtime/build).

@ctrlc03 ctrlc03 requested review from cedoor and hmzakhalid February 18, 2026 11:31
- Updated @crisp-e3/sdk to 0.5.12
- Updated @crisp-e3/contracts to 0.5.12
- Updated @crisp-e3/zk-inputs to 0.5.12
- 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

🧹 Nitpick comments (1)
examples/CRISP/packages/crisp-contracts/deployed_contracts.json (1)

153-156: MockVotingToken is missing constructorArgs.

Every other token contract in this file documents its constructor arguments. If MockVotingToken was deployed with any arguments (e.g., initial supply, owner), omitting them means this entry can't be used to reproduce the deployment.

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

In `@examples/CRISP/packages/crisp-contracts/deployed_contracts.json` around lines
153 - 156, The MockVotingToken entry in deployed_contracts.json is missing
constructorArgs; update the "MockVotingToken" object to include a
"constructorArgs" key matching the actual deployment parameters (e.g., initial
supply, owner) or an empty array if no args were used so the deployment can be
reproduced; locate the "MockVotingToken" object and add the constructorArgs
field consistent with other token entries in the file.
🤖 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 84-97: The deployment JSON/TS interface is passing a fifth field
committeeFormationWindow into constructorArgs.timeoutConfig that doesn't exist
on the Solidity side (E3TimeoutConfig in IEnclave.sol) and will break struct
packing; either remove committeeFormationWindow from
constructorArgs.timeoutConfig and any TypeScript interfaces/usages, or update
the Solidity E3TimeoutConfig and _setTimeoutConfig to include and validate
committeeFormationWindow. Locate references to constructorArgs.timeoutConfig,
E3TimeoutConfig, and _setTimeoutConfig (and any TypeScript interface
definitions) and make the change consistently across the deployed_contracts.json
and TypeScript types so the number/order of fields matches the Solidity struct.

---

Nitpick comments:
In `@examples/CRISP/packages/crisp-contracts/deployed_contracts.json`:
- Around line 153-156: The MockVotingToken entry in deployed_contracts.json is
missing constructorArgs; update the "MockVotingToken" object to include a
"constructorArgs" key matching the actual deployment parameters (e.g., initial
supply, owner) or an empty array if no args were used so the deployment can be
reproduced; locate the "MockVotingToken" object and add the constructorArgs
field consistent with other token entries in the file.

Comment thread examples/CRISP/packages/crisp-contracts/deployed_contracts.json
@ctrlc03 ctrlc03 merged commit ba24816 into main Feb 18, 2026
28 checks passed
@github-actions github-actions Bot deleted the chore/update-contracts branch February 26, 2026 03:13
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