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

Fee calculation question #4217

Closed
avolkov-dev opened this issue Nov 16, 2021 · 2 comments
Closed

Fee calculation question #4217

avolkov-dev opened this issue Nov 16, 2021 · 2 comments

Comments

@avolkov-dev
Copy link

avolkov-dev commented Nov 16, 2021

i'm trying to understand how the fee is being calculated. Was not able to find any related docs about fee calculation based on events.
So, for example, let take a look at this transaction
Calculated fee is : 0.0156000014 DOT
The events related to fee are:
DustLost: 0.0124800011 DOT
Deposit (2 events) : 0.0031200003 DOT and 0.0031200003 DOT.
So calculated fee should be 0.0124800011 + 0.0031200003 + 0.0031200003 = 0.01872002 DOT
But on explorer there is value of 0.0156000014 DOT

I think it was calculated as 0.0124800011 + 0.0031200003, but why the second deposit event was not taken into account?

@avolkov-dev
Copy link
Author

Looks like there is a deposit events duplication problem : paritytech/polkadot#4230

@polkadot-js-bot
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Nov 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants