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 gas and created to OrderEffects #247

Merged
merged 1 commit into from
Jan 22, 2022
Merged

Add gas and created to OrderEffects #247

merged 1 commit into from
Jan 22, 2022

Conversation

lxfind
Copy link
Contributor

@lxfind lxfind commented Jan 22, 2022

When processing OrderEffects, we only have a list of mutated objects, which contains anything that was mutated, created, and also include the gas object which is always mutated.
This makes it very inconvenient to know which is which.
This PR adds two extra elements to OrderEffects, gas_object and created. They will not be in the mutated list. This makes it a lot easier to tell what happened to the objects.
This closes #244.

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.

Looks cleaner--thanks!

@lxfind lxfind merged commit b8af098 into MystenLabs:main Jan 22, 2022
@oxade
Copy link
Contributor

oxade commented Jan 22, 2022

This makes things simpler.

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.

Add gas object to OrderInfoResponse
3 participants