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

Simplifying fee math #184

Merged
merged 2 commits into from
Aug 7, 2024
Merged

Simplifying fee math #184

merged 2 commits into from
Aug 7, 2024

Conversation

blockiosaurus
Copy link
Contributor

The fee math incorrectly subtracted the plugin header and registry from the account rent, but ignored the plugins themselves. This would result in fee collection trying to take reduce the account rent below the minimum required for exemption, resulting in failed transactions. This PR fixes that by just grabbing only the extra rent.

Copy link

vercel bot commented Aug 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mpl-core-js-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2024 2:02pm

@blockiosaurus blockiosaurus merged commit a8d6807 into main Aug 7, 2024
12 checks passed
@blockiosaurus blockiosaurus deleted the fix/fee-math branch August 7, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants