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

5 [Vault] Unbounded Gas Consumption in Loops for Fee Distribution and Asset Management #344

Open
5 tasks
chopan123 opened this issue Dec 26, 2024 · 0 comments
Assignees

Comments

@chopan123
Copy link
Member

chopan123 commented Dec 26, 2024

Check the limits on when it is going to fail.

  • How many Asset, Strategies we need to add to make distribute_fee reach Soroban limits?
  • How many instructions of each type do we need to read soroban limits when executing rebalance ?
  • How many asset, strategies we need to add to make emergency_withdraw fail ?
  • How many Asset, Strategies Deposit with invest in true
  • How many Asset, Strategies Withdraw with amount bigger than idle funds

note Try 1 asset, find n strategies. then n assets, 1 strategy per asset.
Test it using Blend strategies.
use budget too

@chopan123 chopan123 changed the title 3 [Vault] Unbounded Gas Consumption in Loops for Fee Distribution and Asset Management 5 [Vault] Unbounded Gas Consumption in Loops for Fee Distribution and Asset Management Dec 26, 2024
@joaquinsoza joaquinsoza moved this to In Progress in DeFindex SCF#28 Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants