-
Notifications
You must be signed in to change notification settings - Fork 389
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
feat: overrides in the relayer to force collateral warp route mints to be read-only #4918
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4918 +/- ##
=======================================
Coverage 77.53% 77.53%
=======================================
Files 103 103
Lines 2110 2110
Branches 190 190
=======================================
Hits 1636 1636
Misses 453 453
Partials 21 21
|
… trevor/force-readonly-collateral-mints
Description
Some context, and the fix for future warp routes: #4905
This will force messages to certain collateral warp route recipients to have mint accounts as readonly. This is a first step toward requiring lower fees for some txs.
An example of Helius fees for a USDC process that includes the USDC mint as writeable:
vs when it's not writeable:
The alternative to having this PR would be to:
Drive-by changes
#[allow(warnings)]
from mailbox.rs and made required changesRelated issues
Backward compatibility
Testing