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

Fetch provisioners list from stake contract only if the list is updated #1479

Closed
goshawk-3 opened this issue Dec 5, 2022 · 0 comments · Fixed by #1480
Closed

Fetch provisioners list from stake contract only if the list is updated #1479

goshawk-3 opened this issue Dec 5, 2022 · 0 comments · Fixed by #1480

Comments

@goshawk-3
Copy link
Contributor

goshawk-3 commented Dec 5, 2022

Describe the bug
GetProvisioners call consumes more than 4s (up to 15s on low-spec nodes) allegedly due to serialization in VM. Although this is not supposed to be the case with the optimized VM (next version), this should be handled gracefully from client-side (Golang part).

To Reproduce

  1. Introduce 2000-size allow list
  2. Call Accept/Finalize (as a result this calls GetProvisioners).

Expected behaviour
Until next VM is benchmark-ed and fully integrated, dusk node should not call grpc.GetProvisioners if provisioners list is not updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant