White-Whale-Defi-Platform/white-whale-core

Remove auth restriction to collect fees from fee collector

Closed this issue · 1 comments

If you want to report a security issue, please follow our security policy: https://github.com/White-Whale-Defi-Platform/migaloo-core/blob/main/SECURITY.md


Improvement description

As of now only the fee collector contract and its owner can trigger the fee collection, i.e. ExecuteMsg::CollectFees. There's no need for that, it should be removed so anybody can do it.

See:

contracts/liquidity_hub/fee_collector/src/commands.rs:30


Additional context

Add any other context here, code snippets, json responses, screenshots and so on.

Code sample
Logs
Screenshots

done