Skip to content

fix: prevent withdrawing more fees than exist in event pool (#208)#276

Closed
DavisVT wants to merge 2 commits intoWeb3Novalabs:mainfrom
DavisVT:fix/prevent-over-withdrawal-event-pool
Closed

fix: prevent withdrawing more fees than exist in event pool (#208)#276
DavisVT wants to merge 2 commits intoWeb3Novalabs:mainfrom
DavisVT:fix/prevent-over-withdrawal-event-pool

Conversation

@DavisVT
Copy link
Copy Markdown
Contributor

@DavisVT DavisVT commented Mar 29, 2026

  • Add admin require_auth() to withdraw_event_pool to prevent unauthorized drains
  • Fix pre-existing merge conflict artifacts (duplicate EventMetrics, StorageKey variants, get_event_metrics impls)
  • Add test_withdraw_event_pool_over_withdrawal_prevented
  • Add test_withdraw_event_pool_unauthorized

closes #208

DavisVT added 2 commits March 29, 2026 21:08
- Add admin require_auth() to withdraw_event_pool to prevent unauthorized drains
- Fix pre-existing merge conflict artifacts (duplicate EventMetrics, StorageKey variants, get_event_metrics impls)
- Add test_withdraw_event_pool_over_withdrawal_prevented
- Add test_withdraw_event_pool_unauthorized
@DavisVT DavisVT closed this by deleting the head repository Mar 30, 2026
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.

Prevent withdrawing more fees than exist

1 participant