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

Msgfees are not consistent #2060

Open
4 tasks
Taztingo opened this issue Jun 27, 2024 · 1 comment
Open
4 tasks

Msgfees are not consistent #2060

Taztingo opened this issue Jun 27, 2024 · 1 comment
Labels
bug Something isn't working msgfees Msg based fee module
Milestone

Comments

@Taztingo
Copy link
Contributor

Summary of Bug

The balance deduction from message fees is not consistent and should be further evaluated for other additional issues.

Version

1.19

Steps to Reproduce

The following deducts 100000006144nhash. Where is the extra 6144 coming from?
chain tx exchange create-payment --from $VALIDATOR --source-amount 1nhash --target $MATT --target-amount 0nhash --external-id 12 --gas 81000 --gas-prices 0nhash -y --fees 100000000000nhash | chain q wait-tx

The same transaction is then done with a higher message fee, and only 199999995904nhash is deducted. Why is it now underpaying 4096?
chain tx exchange create-payment --from $VALIDATOR --source-amount 1nhash --target $MATT --target-amount 0nhash --external-id 17 --gas 81000 --gas-prices 0nhash -y --fees 200000000000nhash | chain q wait-tx


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@SpicyLemon
Copy link
Contributor

Do you happen to have the events of the two commands? That would show more clearly what is being charged and how.

@Taztingo Taztingo added the msgfees Msg based fee module label Jun 27, 2024
@SpicyLemon SpicyLemon added the bug Something isn't working label Jul 8, 2024
@SpicyLemon SpicyLemon added this to the backlog milestone Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working msgfees Msg based fee module
Projects
Development

No branches or pull requests

2 participants