Skip to content

feat: add Soroban contract metadata viewer - #541

Merged
egekoca merged 2 commits into
RevenantLabs:mainfrom
karagozemin:feat/517-contract-metadata-viewer
Oct 27, 2026
Merged

egekoca merged 2 commits into
RevenantLabs:mainfrom
karagozemin:feat/517-contract-metadata-viewer

Conversation

@karagozemin

Copy link
Copy Markdown
Contributor

Closes #517

Summary

  • validate public contract IDs before issuing RPC requests
  • resolve deployed Wasm through contract-instance and contract-code ledger entries
  • enforce a 1 MiB decode boundary before parsing custom sections
  • independently decode contractenvmetav0 and every contractmetav0 key/value entry
  • render the no-publisher-metadata case as a successful explicit outcome
  • add a 36-file feature slice with deterministic Wasm/XDR fixtures and focused coverage

Verification

  • npm run verify:features -- contract-metadata-viewer
  • npx eslint features/contract-metadata-viewer (0 errors)
  • npx vitest run features/contract-metadata-viewer (17 tests passed)
  • npx tsc --noEmit

Copilot AI balanced review requested due to automatic review settings October 22, 2026 13:25

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@egekoca
egekoca merged commit 5fe667b into RevenantLabs:main Oct 27, 2026
1 check passed
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.

[Soroban] Soroban Contract Metadata Viewer

3 participants