-
Notifications
You must be signed in to change notification settings - Fork 9
feat: awaitCallWithRounds method on PocketIcClient
#220
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
|
Dear @m-styp, In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA. If you decide to agree with it, please visit this issue and read the instructions there. Once you have signed it, re-trigger the workflow on this PR to see if your code can be merged. — The DFINITY Foundation |
awaitCallWithRounds method on PocketIcClient
Co-authored-by: Luca Bertelli <[email protected]>
Review dismissed by automation script.
|
@raymondk I was commenting while you reopened the PR and before you merged it. Feels like it's worth considering but, just my two cents too. |
# Motivation PR #220 introduced a new `rounds` option for `awaitCall` by duplicating the existing function with a new function called `awaitCallWithRounds`. I randomly noticed the PR and discussed it with @raymondk, as it felt like neither an idiomatic solution nor particularly ergonomic, since it could have been resolved by simply adding the new optional parameter as... an optional parameter. Which is what this PR does. # Changes - Revert function `awaitCallWithRounds` (not a breaking change, as this was not yet shipped) - Add `rounds` to `AwaitCanisterCallRequest` parameter # Notes No tests, as none were provided in the original PR. No documentation, as none was provided in the original PR and none exists in the codebase for the related module.
Added new function to use for specified number of Rounds on AwaitCall > awaitCallWithSpecifiedRounds
as discussed with @ilbertt - no breaking changes.