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

fix: use only base asset amount when calculating fee #1240

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

mpoplavkov
Copy link
Contributor

Resolves the issue #1239

Copy link
Member

@digorithm digorithm left a comment

Choose a reason for hiding this comment

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

Nice catch. The solution seems reasonable to me; can't think of anything wrong that this could lead up to, at the moment.

The CI is failing because of a tiny formatting issue; make sure to rustfmt the code.

Invoking some of the guys that worked on fees to double-check this solution: @MujkicA @hal3e @segfault-magnet

Copy link
Contributor

@MujkicA MujkicA left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Member

@digorithm digorithm left a comment

Choose a reason for hiding this comment

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

Many thanks, @mpoplavkov! We'll cut a new release with this change asap.

@mpoplavkov
Copy link
Contributor Author

Awesome, thanks!

@digorithm digorithm merged commit 6959712 into FuelLabs:master Dec 18, 2023
40 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.

None yet

4 participants