Skip to content

fix: clamp fee invariant, clear tombstone on re-registration, gate in… - #697

Merged
Robotron2 merged 1 commit into
Betta-Pay:mainfrom
meloball9993-star:main
Aug 29, 2026
Merged

fix: clamp fee invariant, clear tombstone on re-registration, gate in…#697
Robotron2 merged 1 commit into
Betta-Pay:mainfrom
meloball9993-star:main

Conversation

@meloball9993-star

Copy link
Copy Markdown
Contributor

…it to deployer, emit record in event

closes #683, closes #684, closes #685, closes #686

Description

Related Issues

Closes #

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • ⚡ Performance improvement
  • ♻️ Refactor / Code cleanliness
  • 📝 Documentation update
  • 🔧 Tooling / CI configuration

Checklist

  • My code follows the code style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation (if applicable).
  • My changes generate no new compiler warnings or lints.
  • I have added tests that prove my fix is effective or that my feature works (if applicable).
  • All new and existing tests pass locally.

Additional Notes / Screenshots

…it to deployer, emit record in event

- Betta-Pay#683: clamp network_fee_amount so platform+network never exceeds gross
- Betta-Pay#685: remove ArchivedMerchant tombstone on merchant re-registration
- Betta-Pay#684: require deployer auth on init to prevent front-running (both contracts)
- Betta-Pay#686: emit PaymentRecord in payment_stored event data instead of ()

closes Betta-Pay#683, closes Betta-Pay#684, closes Betta-Pay#685, closes Betta-Pay#686
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@meloball9993-star Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Robotron2
Robotron2 merged commit 95f0f43 into Betta-Pay:main Aug 29, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants