Skip to content
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

fix: Make call consistent with worker::view #245

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

ChaoticTempest
Copy link
Member

Since Worker::view got changed to be a builder, I noticed that Worker::call is no longer consistent with it. So best to make it also return a builder similar to Account::call as well. This should come in before release/0.7.0.

Also, exposed {Account, Contract}::signer() since that has been public and can be utilized with Worker related methods. Internally cleaned up the storage of AccountId in Account since InMemorySigner already holds the account id.

@ChaoticTempest
Copy link
Member Author

Merging this one in since there's only one API breakage, and the signer method being exposed. The rest is internal anyways

@ChaoticTempest ChaoticTempest merged commit 83a070e into main Nov 30, 2022
@ChaoticTempest ChaoticTempest deleted the fix/consistent-worker-call branch November 30, 2022 00:16
@frol frol mentioned this pull request Oct 4, 2023
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.

1 participant