Skip to content

feat: revert and add rounds as request parameter of awaitCall - #223

Merged
peterpeterparker merged 2 commits into
mainfrom
feat/revert-ergonomy-awaitcall
Jan 7, 2026
Merged

feat: revert and add rounds as request parameter of awaitCall#223
peterpeterparker merged 2 commits into
mainfrom
feat/revert-ergonomy-awaitcall

Conversation

@peterpeterparker

Copy link
Copy Markdown
Contributor

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.

@peterpeterparker
peterpeterparker requested a review from a team as a code owner January 7, 2026 06:13
@m-styp

m-styp commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

LGTM, as I mentioned to @raymondk - both solutions seem fine to me.

@peterpeterparker
peterpeterparker added this pull request to the merge queue Jan 7, 2026
Merged via the queue into main with commit b9f881d Jan 7, 2026
14 checks passed
@peterpeterparker
peterpeterparker deleted the feat/revert-ergonomy-awaitcall branch January 7, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants