bindings: regenerate for unified approveService (v0.11.0)#120
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regenerate
tnt-core-bindingsfor the post-PR #119 contracts.Why
PR #119 collapsed the five
approveServiceWith*entrypoints into a singleapproveService(Types.ApprovalParams)and moved TEE commitment storage fromper-operator
TeeAttestationCommitment[]to a single keccak256 root + fulldata 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-bindingsregenerated against commit5c28b25(PR refactor(services): unified approveService + TEE commitment-root storage #119 squash on main).
bindings/Cargo.toml0.10.9 → 0.11.0 (BREAKING — function removals).bindings/CHANGELOG.mddocuments the breaking changes and additions.ITangle,ITangleFull,ITangleSlashing,IBlueprintServiceManager,IMultiAssetDelegation,MultiAssetDelegation,OperatorStatusRegistry.Release
Tag
bindings-v0.11.0after merge to trigger the crates.io publish via.github/workflows/release.yml.Downstream coordination
Companion PRs land in:
tangle-network/blueprint— bumpstnt-core-bindingsto ^0.11.0,collapses
client.approve_servicecallers onto the single entrypoint.tangle-network/dapp— regenerateslibs/tangle-shared-ui/src/abi/tangle.tsvia
yarn sync:tnt-core-assets, rewritesuseServiceApproveTxfor theunified entrypoint shape.