-
Notifications
You must be signed in to change notification settings - Fork 308
chore(entropy v2): requestv2 comment fix #2952
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
Conversation
Signed-off-by: nidhi-singh02 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
| /// `entropyCallback` will be run with the `gasLimit` provided to this function. | ||
| /// The `gasLimit` will be rounded up to a multiple of 10k (e.g., 19000 -> 20000), and furthermore is lower bounded | ||
| /// by the provider's configured default limit. | ||
| /// `entropyCallback` will be run with the provider's configured default gas limit. |
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.
entropyCallback will be run with the requestor's configured gasLimit. If the request was made without a gasLimit, provider's default gas limit will be used..
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 around this line.
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.
Specifically in this function call, we are not taking any gasLimit as input. I am wondering we still need to mention the first line ?
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.
Yeah "will be run with the provider's configured default gas limit" LGTM
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.
Thanks Tejas, keeping it as is.
| /// `entropyCallback` will be run with the `gasLimit` provided to this function. | ||
| /// The `gasLimit` will be rounded up to a multiple of 10k (e.g., 19000 -> 20000), and furthermore is lower bounded | ||
| /// by the provider's configured default limit. | ||
| /// `entropyCallback` will be run with the provider's configured default gas limit. |
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.
Yeah "will be run with the provider's configured default gas limit" LGTM
Summary
requestv2()has a comment which needs to be rectified as this function does not take any input parameter of gasLimit.Rationale
The comment is confusing as there is no
gasLimitprovided.How has this been tested?