Skip to content

feat(tangle-cloud): verify pinned blueprint metadata#3158

Merged
drewstone merged 1 commit into
developfrom
feat/blueprint-metadata-hash-pinning
Apr 23, 2026
Merged

feat(tangle-cloud): verify pinned blueprint metadata#3158
drewstone merged 1 commit into
developfrom
feat/blueprint-metadata-hash-pinning

Conversation

@drewstone
Copy link
Copy Markdown
Contributor

Summary

  • verify fetched blueprint metadata against the new onchain metadataHash before enabling advanced hosted tier-2 rendering
  • include metadataHash in blueprint create and update flows, GraphQL ingestion, and ABI/client shapes
  • harden the hosted blueprint contract tests and trust-state UI around pinned metadata verification and fail-closed fallback

Why

tnt-core now pins blueprint metadata onchain and blueprint can submit the canonical digest at deploy time. The dapp needs to verify the fetched payload against that hash and fall back to the protocol-controlled host when verification fails.

Notes

  • verification now checks the fetched metadata payload hash before any attestation logic is trusted
  • create/manage flows compute and submit the metadata hash alongside metadataUri
  • advanced hosted tier-2 only renders when metadata verification succeeds for the current runtime

Validation

  • NX_DAEMON=false yarn nx run tangle-cloud:typecheck
  • NX_DAEMON=false yarn nx test tangle-cloud
  • NX_DAEMON=false yarn nx run tangle-cloud:build

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 23, 2026

Deploy Preview for tangle-cloud ready!

Name Link
🔨 Latest commit 2e67eec
🔍 Latest deploy log https://app.netlify.com/projects/tangle-cloud/deploys/69eaa20bdc483000083077dd
😎 Deploy Preview https://deploy-preview-3158--tangle-cloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 23, 2026

Deploy Preview for tangle-leaderboard ready!

Name Link
🔨 Latest commit 2e67eec
🔍 Latest deploy log https://app.netlify.com/projects/tangle-leaderboard/deploys/69eaa20be39d0e000819c126
😎 Deploy Preview https://deploy-preview-3158--tangle-leaderboard.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 23, 2026

Deploy Preview for tangle-dapp ready!

Name Link
🔨 Latest commit 2e67eec
🔍 Latest deploy log https://app.netlify.com/projects/tangle-dapp/deploys/69eaa20b3d7cfc00088dd95d
😎 Deploy Preview https://deploy-preview-3158--tangle-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@drewstone drewstone marked this pull request as ready for review April 23, 2026 23:14
@drewstone drewstone requested a review from AtelyPham as a code owner April 23, 2026 23:14
@drewstone
Copy link
Copy Markdown
Contributor Author

@claude
Copy link
Copy Markdown

claude Bot commented Apr 23, 2026

Claude encountered an error —— View job


I'll analyze this and get back to you.

@drewstone drewstone merged commit 176ef09 into develop Apr 23, 2026
19 of 22 checks passed
@drewstone drewstone deleted the feat/blueprint-metadata-hash-pinning branch April 23, 2026 23:23
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.

1 participant