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

Update max queue size #73

Closed
MerlinEgalite opened this issue Sep 19, 2023 · 2 comments · Fixed by #120
Closed

Update max queue size #73

MerlinEgalite opened this issue Sep 19, 2023 · 2 comments · Fixed by #120
Assignees

Comments

@MerlinEgalite
Copy link
Contributor

Maybe 50?

Should not exceed 30 from interviews

@Rubilmax
Copy link
Contributor

Rubilmax commented Sep 25, 2023

Upon withdrawal, we don't want to exceed 2.5-3m gas in the worst case scenario so let's quantify the max queue size based on this, taking a safety margin

@Rubilmax Rubilmax assigned Rubilmax and unassigned MerlinEgalite Sep 27, 2023
@Rubilmax
Copy link
Contributor

With 30 markets, in the worst-case, deposit is 2.35m and withdraw is 2.15m
With 35 markets, in the worst-case, deposit is 2.75m and withdraw is 2.6m
With 40 markets, in the worst-case, deposit is 3.1m and withdraw is 2.95m

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 a pull request may close this issue.

2 participants