-
Notifications
You must be signed in to change notification settings - Fork 572
refactor: network #1843
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: network #1843
Conversation
c22d8a3 to
5f9e18f
Compare
5f9e18f to
32a969c
Compare
Pantani
left a comment
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.
👌🏽 nice organization
Co-authored-by: Danilo Pantani <[email protected]>
Co-authored-by: Danilo Pantani <[email protected]>
Co-authored-by: Danilo Pantani <[email protected]>
|
Shouldn't we remove the network prefix? |
lumtis
left a comment
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.
I'm very comfortable with this design👍 I just have one comment on the naming above
Also, it may be out of scope for this refactor but I think Join should be independent from the chain object.
You just pass a gentx path to Join and it makes the communication with spn checking accounts on spn, sending msg, etc...
And the verification related to the chain genesis like account already exists in the initial genesis or invalid gentx are perform in the chain package and called independently before Join
But I think we can implement this in #1791
I changed the file names de3d77d but kept the |
I was also thinking the same about Join, maybe it does not need to depend on |
|
I'm getting a new error: I'm looking into it, do you think it could be related to #1846? [UPDATE] it seems I don't have the issue using |
|
@lubtd can you please test again? |
|
I created an issue for this one #1857, lets track it there to unblock this PR. |
|
Yes it works the second time now |
* refactor: network * fix * Update starport/services/network/networkchain/networkchain.go Co-authored-by: Danilo Pantani <[email protected]> * Update starport/cmd/network.go Co-authored-by: Danilo Pantani <[email protected]> * Update starport/cmd/cmd.go Co-authored-by: Danilo Pantani <[email protected]> * simplified file names * fix cosmosclient init Co-authored-by: Danilo Pantani <[email protected]>
No description provided.