Skip to content

feat(tx-manifest): resolve references and classes - #13

Open
lukachi wants to merge 1 commit into
feature/tx-manifest-enginefrom
feature/tx-manifest-references
Open

feat(tx-manifest): resolve references and classes#13
lukachi wants to merge 1 commit into
feature/tx-manifest-enginefrom
feature/tx-manifest-references

Conversation

@lukachi

@lukachi lukachi commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Stack

PR 4 of 9 in the tx-manifest merge train.

What this adds

  • Normalizes free actions and both generations of class/method declarations.
  • Resolves request parameters, arguments, deployment fields, bare references, and the deprecated compile_params. namespace by reference site.
  • Encodes supported SimplicityHL compile parameters from declared types, including asset-id byte order and fixed-width covenant hashes.
  • Reads deployed class instances and derives instances created by constructors.
  • Computes dependent covenant hashes to a bounded fixed point and refuses non-converging or malformed compiler results.
  • Follows the manifest's declared debug-symbol build mode for ordinary covenant derivation and computed hashes.
  • Integrates real smplx covenant compilation and parameter-type discovery while releasing WASM handles deterministically.
  • Carries the complete immutable covenant derivation through review: source, arguments, leaves, build mode, address, and scriptPubKey.

Review boundaries

This slice deliberately does not add:

  • multi-asset funding, issuance, confidential inputs or outputs, or blinding;
  • semantic input/output guards and validation actions;
  • developer tooling and corpus-wide inspection;
  • confirmation rendering or clear signing;
  • credentials, signing, activation, broadcast, or release wiring.

Those remain in later stacked PRs.

Verification

Verified from commit b994c0f in a clean detached worktree with the committed submodules:

  • smplx 8f0215c, SDK package 0.0.10
  • bun run typecheck:packages
  • focused strict TypeScript check for the smplx adapter
  • bun run lint (exit 0; existing repository warnings only)
  • bun run format:check
  • bun test packages/tx-manifest apps/extension/src/core/chains/liquid/adapters/smplx
  • 224 tests passed, 0 failed

The repository-wide TypeScript gate has a pre-existing clean-install React/Zod duplicate-type baseline. This stack uses the focused tx-manifest/smplx gate until the cumulative activation/release slice restores and proves the full root check.

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