-
Notifications
You must be signed in to change notification settings - Fork 74
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(settlement): settlement layer redundent abstraction layer #873
refactor(settlement): settlement layer redundent abstraction layer #873
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great change! I think you removed one entire layer of indirection right? Awesome
I suggest a change to make things cleaner and more idiomatic
Please change
- settlement.LayerI to settlement.Client
- dymension.LayerClient to dymension.Client
- grpc.LayerClient to grpc.Client
- local.LocalClient to local.Client
and change all receiver to c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
LayerI
andHubClient
interfaces in the settlement packagethere was almost zero common code for
base
struct, while it created 2 almost identical intrefaces.on the dymension package, with the cosmosClient we had 3(!) interfaces doing basically the same
PR Standards
Opening a pull request should be able to meet the following requirements
Close #629
<-- Briefly describe the content of this pull request -->
For Author:
godoc
commentsFor Reviewer:
After reviewer approval: