Skip to content

Conversation

@Alex6323
Copy link
Contributor

Closes #296

@Alex6323 Alex6323 linked an issue Oct 22, 2025 that may be closed by this pull request
@Alex6323 Alex6323 changed the title docs(tx-builder): document TransactionBuilder::make_move_vec() feat(tx-builder): improve TransactionBuilder::make_move_vec() docs Oct 22, 2025
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example isn't about make_move_vec and tbh it's a worse way to use the builder so I say revert this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, do you think we should have a separate example about .make_move_vec then?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, maybe

})
}

/// Make a move vector from a list of elements.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should also mention something like:

/// Often it is possible (and more efficient) to pass a rust slice or `Vec` instead of calling this function, which will serialize the bytes into a move vector pure argument.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, makes sense to add this comment, Can you come up with a valid use-case? Then I'ld add another example just for that, because currently .make_move_vec is not covered I think.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know of a valid use-case other than if there's something we can't do with the normal syntax that I'm not thinking of

@DaughterOfMars DaughterOfMars merged commit 827da48 into sdk-bindings Oct 23, 2025
14 checks passed
@DaughterOfMars DaughterOfMars deleted the docs/tx-builder-make-move-vec branch October 23, 2025 10:02
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.

Tx builder: document TransactionBuilder::make_move_vec()

3 participants