Skip to content

chore(deps): pin solar a849fe3 for 0.3.1 - #132

Merged
Slokh merged 1 commit into
mainfrom
chore/solar-0.3.1-router-release-3
Nov 23, 2026
Merged

Slokh merged 1 commit into
mainfrom
chore/solar-0.3.1-router-release-3

Conversation

@Slokh

@Slokh Slokh commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • solar.lock pins solar a849fe3d14dd46c133efeba197b4838f07c107b5, the commit that sets solar's version to 0.3.1. It contains 093ff3f5f6d83c1dd1c8457348455f0ebb078469. The v0.3.1 tag is not published yet; this pins the commit it is expected to point at.
  • The solar version examples in deployments/chain/creation.test.ts and foundry.test.ts follow the new build string (0.8.38+commit.a849fe3d.solar.0.3.1-dev).
  • snapshots/router-tip20.json: the four warm spend paths cost 12 gas more under the new codegen. Nothing else moves.

The router contract release stays at 2, so every deployment record and intent hash is unchanged. Moving to router release 3 comes with the deployment that uses this build: it changes the zone intent component, so profiles/e2e-moderato needs its Zone router redeployed on testnet and its record republished.

Checks

pnpm verify passes after a forced rebuild with the pinned solar; the docs link check and git diff --check pass.

Deploy

Nothing to deploy from this change. Wait for the v0.3.1 tag (and confirm it points at this commit) before running a factory release built with it.

@tempoxyz-bot

tempoxyz-bot commented Nov 23, 2026 •

Copy link
Copy Markdown

👁️ Cyclops Security Review

✅ Reviewed e7c308b (latest) · Coverage: partial · no open findings · report
❌ Part of the review of e7c308b could not be posted to GitHub. An operator can retry posting it from the report.
⚠️ Not checked: The runner's source inventory did not expose paradigmxyz/solar at either locked revision. The compiler-side tag detection and broader parser/codegen changes could not be independently inspected; the finding's tag behavior is scoped to the i
⚠️ Not checked: Current-checkout predictions can mark a previously recognized spender as blocked if its creation bytecode changes (E28–E30). The reviewed source expressly describes checkout-scoped predictions, and no supported profile with a spender produc
⚠️ Not checked: Creation transaction authentication after the fixture updates: ruled out without reading the cited code at this commit
⚠️ 15 more unchecked questions are listed in the report
ℹ️ Not verifiable from the source alone (needs running code or deployed state): No observed release-runner receipt or deployed verifier allowlist establishes which variant is cached or accepted. E6–E13 prove the path from cache selection to post-broadcast verification, not that a (8 more in the report)

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment thread solar.lock
@@ -1 +1 @@
f1b75c64ec466637d9040418268b365211d0e939
a849fe3d14dd46c133efeba197b4838f07c107b5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 Conditional: until tempo-apps' solar-builds.json pins a849fe3d, a hosted deploy or factory release dispatched from main after merge will fail source verification. The doc says a new pin must be added there first (docs/deployment/deployment.md:562-566). The Deploy workflow releases every shared factory from main as its first step. A compiler change moves every release address. Fix: land the pin only after the verifier pins this build and the v0.3.1 tag is confirmed, or block hosted releases until then.

Why this was flagged

Trigger: this applies if tempo-apps' contract-verification solar-builds.json does not yet include a849fe3d14dd46c133efeba197b4838f07c107b5. The PR says the v0.3.1 tag is not published, so that is likely, though it cannot be checked from this checkout. docs/deployment/deployment.md:562-566 says a new solar.lock revision "must be added there and deployed before a hosted deployment built with it". The doc also says the Deploy workflow runs pnpm factory-release <network> all --broadcast from main as its first step, and that "Changing the compiler... changes its address". Every contract's CBOR metadata now carries the 0.3.1-dev+commit.a849fe3d version text, so each runtime and CREATE2 address changes. A Deploy dispatched from main after merge would broadcast new EarnFactory, EarnVault and EarnFees releases that the verifier cannot rebuild, and source verification fails. On the base, main's pin is the build the verifier already accepts. The only safeguard is the PR text asking operators to wait. No code or CI gate enforces it.

Verification: The preflight at factory-release.ts:494-495 only calls sourceVerificationCompilerArguments. It never asks the verifier whether it supports the build. Per factory-release.ts:631-655 and 740-745, contracts that fail verification are already on-chain. The run then throws "Deployed but not source verified ... do not rerun the release".

Comment thread solar.lock
@@ -1 +1 @@
f1b75c64ec466637d9040418268b365211d0e939
a849fe3d14dd46c133efeba197b4838f07c107b5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 (optional) Zone router profiles that list SendSpender or CardSpender contracts deployed under the old solar build get new provenance blockers. spenderReleases predicts release addresses from this checkout's creation code. The new compiler version changes every contract's CBOR metadata, so each CREATE2 address moves. Fix: before merging, redeploy the release spenders and CardFactory with this build. Alternatively, have spender provenance accept the reviewed earlier builds. This applies to both sites, deployments/modules/zone-router/releases.ts:55 and :62.

Why this was flagged

This hits any profile whose zoneRouter.spenders lists a spender deployed from the base build. In-repo profiles list none; profiles/README.md:102 documents the field for external deployment repositories. deployments/modules/zone-router/releases.ts:29-36 runs forge inspect <contract> bytecode with the pinned solar. It derives the CREATE2 address from that output for CardFactory (line 58) and SendSpender (line 65). The bytecode now embeds 0.3.1-dev+commit.a849fe3d instead of 0.3.0-dev+commit.f1b75c64, so both predicted addresses change. releaseSendSpender (inspection.ts:246-249) then returns "Spender ... is not the release SendSpender for its settings". The CardSpender branch (inspection.ts:179-195) asks a CardFactory address nobody deployed. isDeployed fails there and is treated as false. index.ts:121 adds these blockers, so router inspection stays incomplete. On the base pin the same spenders pass. Nothing else in the diff updates the release predictions.

Verification: releases.ts:54-69 derives the CREATE2 address from the creation code plus the RELEASE_SALT. Bumping solar.lock from f1b75c64 to a849fe3d therefore changes the creation code of every contract, so both predicted release addresses move. zone-router/index.ts:121 feeds these blockers into inspection, so an existing router with base-build spenders, which passes on the base, is blocked after merge.

@Slokh
Slokh merged commit 063f3a5 into main Nov 23, 2026
23 of 24 checks passed
@Slokh
Slokh deleted the chore/solar-0.3.1-router-release-3 branch November 23, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants