Skip to content

fix(synapse-core): accept deployment contracts metadata - #907

Merged
rjan90 merged 1 commit into
masterfrom
phi/accept-deployment-contracts-metadata
Aug 6, 2026
Merged

fix(synapse-core): accept deployment contracts metadata#907
rjan90 merged 1 commit into
masterfrom
phi/accept-deployment-contracts-metadata

Conversation

@rjan90

@rjan90 rjan90 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

What changed

Allow the strict per-network deployment schema in packages/synapse-core/wagmi.config.ts to accept the optional top-level contracts metadata map produced by filecoin-services deployment tooling.

The metadata remains opaque because ABI generation does not consume it. Existing required address validation and strict rejection of other unknown top-level keys remain unchanged.

Why

The v1.3.1 Update Synapse SDK workflow failed before it could generate ABIs or open its update PR:

Validation failed.
Unrecognized key: "contracts"
  at 314
Unrecognized key: "contracts"
  at 314159

filecoin-services/service_contracts/deployments.json now includes deployment-planning metadata under contracts for both networks. Synapse only needs the legacy address fields from that document, but its strict schema must recognize the additional documented key.

Tracks the Synapse gate in filecoin-services#561.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
synapse-dev 7a6fba6 Commit Preview URL

Branch Preview URL
Aug 05 2026, 11:03 AM

@rjan90
rjan90 marked this pull request as ready for review August 5, 2026 11:07
@rjan90
rjan90 requested review from hugomrdias and rvagg as code owners August 5, 2026 11:07
@github-project-automation github-project-automation Bot moved this from 📌 Triage to ✔️ Approved by reviewer in FOC Aug 6, 2026
@rjan90
rjan90 merged commit 1247c3d into master Aug 6, 2026
15 checks passed
@rjan90
rjan90 deleted the phi/accept-deployment-contracts-metadata branch August 6, 2026 12:12
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FOC Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants