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

Fix orchestrator's edge case (divide by zero on 99% zkApp txns ratio) #3

Open
shimkiv opened this issue Dec 25, 2024 · 0 comments
Open

Comments

@shimkiv
Copy link
Member

shimkiv commented Dec 25, 2024

Orchestrator fails with:

2024-12-19T20:42:27.930+0100    INFO    itn orchestrator        itn_orchestrator/main.go:295    Performing step payments (9)
panic: runtime error: integer divide by zero

when executing experiment with 99% zkApp txns ratio.

nodesF := math.Floor(tps / minTps)
nodesMax := int(nodesF)

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

No branches or pull requests

1 participant