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

refactor!: don't require owned AccountId for RPC abstractions #52

Merged
merged 4 commits into from
Jan 11, 2022

Conversation

austinabell
Copy link
Contributor

@austinabell austinabell commented Jan 7, 2022

There doesn't seem to me to be any requirement for these to be owned, given that they are just used to be serialized when sending a request. This is all very opinionated and I also have to think through the implications and future direction a lot more, but curious what you think @ChaoticTempest

There were also some that could be changed with creating TLA (but this one seemed like owned might have a reason). Also, there are other parameters this could be done with, but trying to limit the scope.

Copy link
Member

@ChaoticTempest ChaoticTempest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: it was originally requiring owned AccountId because the client mostly required it, but after a lot of changes it wasn't really needed to be owned anymore. Thanks for cleaning this up! Also the create TLA doesn't need to be owned either. All these types can be cheaply cloned either ways

@austinabell austinabell merged commit aaed3a9 into main Jan 11, 2022
@austinabell austinabell deleted the austin/account_ref branch January 11, 2022 20:46
@ChaoticTempest ChaoticTempest mentioned this pull request Jan 20, 2022
@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.

2 participants