Skip to content

bindings: regenerate for unified approveService (v0.11.0)#120

Merged
drewstone merged 1 commit into
mainfrom
drew/bindings-v0.11.0-unified-approval
May 5, 2026
Merged

bindings: regenerate for unified approveService (v0.11.0)#120
drewstone merged 1 commit into
mainfrom
drew/bindings-v0.11.0-unified-approval

Conversation

@drewstone
Copy link
Copy Markdown
Contributor

Regenerate tnt-core-bindings for the post-PR #119 contracts.

Why

PR #119 collapsed the five approveServiceWith* entrypoints into a single
approveService(Types.ApprovalParams) and moved TEE commitment storage from
per-operator TeeAttestationCommitment[] to a single keccak256 root + full
data emitted as TeeCommitmentsRecorded. Downstream Rust consumers
(blueprint, ai-agent-sandbox-blueprint, gateway crates) compile against the
generated ABIs and need the new shape before they can rebuild.

What changed

  • cargo xtask gen-bindings regenerated against commit 5c28b25
    (PR refactor(services): unified approveService + TEE commitment-root storage #119 squash on main).
  • bindings/Cargo.toml 0.10.9 → 0.11.0 (BREAKING — function removals).
  • bindings/CHANGELOG.md documents the breaking changes and additions.
  • ABI JSON + Rust binding source updated for ITangle, ITangleFull,
    ITangleSlashing, IBlueprintServiceManager, IMultiAssetDelegation,
    MultiAssetDelegation, OperatorStatusRegistry.

Release

Tag bindings-v0.11.0 after merge to trigger the crates.io publish via
.github/workflows/release.yml.

Downstream coordination

Companion PRs land in:

  • tangle-network/blueprint — bumps tnt-core-bindings to ^0.11.0,
    collapses client.approve_service callers onto the single entrypoint.
  • tangle-network/dapp — regenerates libs/tangle-shared-ui/src/abi/tangle.ts
    via yarn sync:tnt-core-assets, rewrites useServiceApproveTx for the
    unified entrypoint shape.

Regen via `cargo xtask gen-bindings` against the post-PR-#119 contracts:
the unified `approveService(Types.ApprovalParams)` entrypoint, dropped
`approveServiceWith*` matrix, and root-storage TEE commitments
(`getTeeCommitmentRoot` view, `TeeCommitmentsRecorded` event with full
array payload).

Bump tnt-core-bindings 0.10.9 → 0.11.0 (BREAKING — selector list shrank
10 → 6, struct types changed, multiple methods removed). Tag
`bindings-v0.11.0` triggers the crates.io publish workflow.
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