Summary
Default template issues found while verifying the docs.
- Owner-only calls.
templates/default/deploy/default.ts:60,73 calls setCiphertextVerifier and registerE3Program, which are onlyOwner (Interfold.sol:612, 678). On Sepolia, both revert with OwnableUnauthorizedAccount for any caller except the owner 0x8837e47c4Bb520ADE83AAB761C3B60679443af1B. A developer cannot deploy the template program to the shared deployment.
- RISC Zero mode proves the bundled program.
crates/support-scripts/ctl/container mounts the project's generated contracts, tests, and caches, but not program/. The support image copies crates/support to /app, and /app/program/src/lib.rs in ghcr.io/theinterfold/e3-support:6de9117f1 is the CRISP processor (policy::crisp()). With program.dev: false, the guest is not the project's program.
- Control port collision.
templates/default/interfold.config.yaml sets ctrl_port 50501 to 50505 for cn1 to cn5 and has no active top-level node: block. The default node uses the built-in 50505. interfold config get ctrl_port and interfold --name cn5 config get ctrl_port both print 50505, so commands that the CLI forwards to a running node (main.rs connect_daemon) reach cn5.
Summary
Default template issues found while verifying the docs.
templates/default/deploy/default.ts:60,73callssetCiphertextVerifierandregisterE3Program, which areonlyOwner(Interfold.sol:612, 678). On Sepolia, both revert withOwnableUnauthorizedAccountfor any caller except the owner0x8837e47c4Bb520ADE83AAB761C3B60679443af1B. A developer cannot deploy the template program to the shared deployment.crates/support-scripts/ctl/containermounts the project's generated contracts, tests, and caches, but notprogram/. The support image copiescrates/supportto/app, and/app/program/src/lib.rsinghcr.io/theinterfold/e3-support:6de9117f1is the CRISP processor (policy::crisp()). Withprogram.dev: false, the guest is not the project's program.templates/default/interfold.config.yamlsetsctrl_port50501 to 50505 forcn1tocn5and has no active top-levelnode:block. The default node uses the built-in 50505.interfold config get ctrl_portandinterfold --name cn5 config get ctrl_portboth print50505, so commands that the CLI forwards to a running node (main.rsconnect_daemon) reachcn5.