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

Removes the tight coupling between the RPC client and Contract #29

Merged
merged 11 commits into from
Jun 5, 2023

Conversation

emchristiansen
Copy link
Contributor

I just found this library and started to play with it - very nice!

My application would require loose coupling between the RPC client and the Contract struct as I need to be able to easily switch RPC clients.
Thus I've refactored tezos-contract so that the user provides the RPC client as needed, rather than having it inside the relevant structs.

What do you think?

P.S. I also added a .rustfmt.toml (empty) so that the formatter respects your formatting preferences, even when this project is a git submodule of another project.

@RomarQ RomarQ changed the base branch from main to develop May 14, 2023 10:35
@RomarQ RomarQ requested review from godenzim and RomarQ May 14, 2023 10:35
@RomarQ
Copy link
Collaborator

RomarQ commented May 14, 2023

The changes make sense to me. The breaking changes should also not be a problem yet.

@godenzim Let me know if you also agree with the purposed changes.

@RomarQ RomarQ merged commit 84e1a71 into airgap-it:develop Jun 5, 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.

4 participants