-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add fee multiplier to protocol #1161
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1161 +/- ##
==========================================
- Coverage 78.92% 77.83% -1.10%
==========================================
Files 13 14 +1
Lines 408 415 +7
Branches 74 76 +2
==========================================
+ Hits 322 323 +1
- Misses 69 75 +6
Partials 17 17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Co-authored-by: Alistair Singh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
* Add fee multiplier * The base fee and exchange rate should be multiplied separately * Add FEE_MULTIPLIER to E2E config * Update web/packages/test/scripts/set-env.sh Co-authored-by: Alistair Singh <[email protected]> * Make multiplier non-linear * Add gateway upgrade for Rococo --------- Co-authored-by: Alistair Singh <[email protected]>
Since our system is currently governed by static exchange rates, we need to add a safety buffer to the calculated fees.
This ensures that if exchange rates or gas prices fluctuate, users pay enough fees to cover costs.
Companion PR: Snowfork/polkadot-sdk#127