-
Notifications
You must be signed in to change notification settings - Fork 842
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
Docs update #231
Docs update #231
Conversation
docs/erc721a-queries.md
Outdated
multiple smaller scans if the collection is large enough to | ||
cause an out-of-gas error. | ||
|
||
This function should work fine for 10k PFP collections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on maybe adding a similar comment for a size that would not work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like:
Should be avoided for collections > 30K (arbitrary number, btw), and should NOT be used for dynamic supplies like breeding.
(If we don't wanna go through the testing to figure out the limitation, might just mention that its only been tested on 10K collections)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am purposely vague about the limit, because different RPC providers may have different gas limits on view functions.
Also, these limits may change over time (e.g. Ethereum's max block gas limit).
To be merged just before publishing next version.