provenance-io / provenance

A distributed, proof of stake blockchain designed for the financial services industry.
https://provenance.io
Apache License 2.0
84 stars 36 forks source link

Msgfees are not consistent #2060

Open Taztingo opened 1 week ago

Taztingo commented 1 week ago

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

SpicyLemon commented 1 week ago

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