Are strategies executed only once for all addresses or batch executed for chunks of addresses? #923
Answered
by
bonustrack
glmaljkovich
asked this question in
Q&A
-
I'm a strategy developer. Say that I have an upcoming proposal where 2000 users are going to vote. Should I develop my strategy to fetch results for all 2000 users, or do you split the strategy calls on batches of say 500 addresses at a time? |
Beta Was this translation helpful? Give feedback.
Answered by
bonustrack
Oct 21, 2021
Replies: 1 comment
-
@glmaljkovich Unless the contract has some heavy logic it should work for 2k users. If it fail you can leverage the strategy called "pagination" that will batch calls for X address at a time for any strategy. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
glmaljkovich
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@glmaljkovich Unless the contract has some heavy logic it should work for 2k users. If it fail you can leverage the strategy called "pagination" that will batch calls for X address at a time for any strategy.