Skip to content

sui-sdk-types, sui-rpc: add CommandArgumentError::InvalidTxContext - #297

Merged
bmwill merged 1 commit into
MystenLabs:masterfrom
cgswords:cgswords/invalid-tx-context-error
Aug 12, 2026
Merged

sui-sdk-types, sui-rpc: add CommandArgumentError::InvalidTxContext#297
bmwill merged 1 commit into
MystenLabs:masterfrom
cgswords:cgswords/invalid-tx-context-error

Conversation

@cgswords

Copy link
Copy Markdown
Contributor

Add the InvalidTxContext variant for the adapter's new PTB TxContext signature restrictions (MystenLabs/sui#27451).

Companion proto change in sui-apis: MystenLabs/sui-apis#32

cc @bmwill

Adds the InvalidTxContext error variant emitted by the adapter's new PTB
TxContext signature restrictions (MystenLabs/sui#27451): TxContext can
only be used by reference, at most one &mut TxContext parameter, and
TxContext can never be returned from a Move call.
@cgswords
cgswords requested a review from bmwill as a code owner August 11, 2026 23:32
@bmwill
bmwill merged commit c406a6c into MystenLabs:master Aug 12, 2026
5 of 6 checks 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.

3 participants