Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new transaction type that can transfer SUI coin and pay gas with it #2403

Merged
merged 4 commits into from
Jun 8, 2022

Conversation

lxfind
Copy link
Contributor

@lxfind lxfind commented Jun 3, 2022

This PR adds a new Transaction kind TransfserSUI, that can transfer the gas object. It also has an optional amount, if specified, only the amount will be transferred.
Not exposed to wallet yet.
For #531

@lxfind lxfind marked this pull request as ready for review June 3, 2022 02:36
@lxfind lxfind changed the title Add a new transaction type that can transfer SUI object and pay gas with it Add a new transaction type that can transfer SUI coin and pay gas with it Jun 6, 2022
@lxfind
Copy link
Contributor Author

lxfind commented Jun 6, 2022

friendlyping

Copy link
Collaborator

@sblackshear sblackshear left a comment

Choose a reason for hiding this comment

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

Thanks for adding this!

crates/sui-types/src/object.rs Outdated Show resolved Hide resolved
crates/sui-core/src/execution_engine.rs Outdated Show resolved Hide resolved
crates/sui-core/src/execution_engine.rs Outdated Show resolved Hide resolved
crates/sui-core/src/execution_engine.rs Outdated Show resolved Hide resolved
@lxfind lxfind force-pushed the transfer-sui branch 2 times, most recently from 8642aed to ab7e355 Compare June 8, 2022 18:38
@lxfind lxfind enabled auto-merge (squash) June 8, 2022 18:38
@lxfind lxfind merged commit 82d83e2 into main Jun 8, 2022
@lxfind lxfind deleted the transfer-sui branch June 8, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants