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

Do not require &worker when executing {contract, account}.call #37

Closed
ChaoticTempest opened this issue Dec 15, 2021 · 2 comments
Closed
Assignees

Comments

@ChaoticTempest
Copy link
Member

ChaoticTempest commented Dec 15, 2021

Accounts and Contracts do not need to take in worker when performing calls, but would end up requiring type parameters in the current state of the API. Once Worker no longer takes a type parameter and is resolved with this issue #31, then we can just add a Worker pretty simply into these types.

@austinabell
Copy link
Contributor

Accounts and Contracts do not need to take in worker when performing calls, but would end up requiring type parameters in the current state of the API. Once Worker no longer takes a type parameter and is resolved with this issue #31, then we can just add a Worker pretty simply into these types.

Well, regardless of choosing traits vs. no traits this can still be done, but would just be a breaking change to add the generic on accounts and contracts.

@ChaoticTempest
Copy link
Member Author

closed with #181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants