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

Refund extra tip on weight refund #1672

Closed
xlc opened this issue Dec 6, 2021 · 0 comments · Fixed by #1706
Closed

Refund extra tip on weight refund #1672

xlc opened this issue Dec 6, 2021 · 0 comments · Fixed by #1706

Comments

@xlc
Copy link
Member

xlc commented Dec 6, 2021

The transaction priority will be based on tip per weight after #1544.
For some transaction, it will overestimate the weight and therefore a large tip is required to increase the tip per weight.

However some weights could be refunded after the transaction and therefore user will be paying a significantly higher effective tip per weight.

We should refund extra tip to ensure charge the same effective tip per weight.

This is required to ensure EVM gas priority fee can be handled correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants