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: update apps to use gRPC #20

Merged
merged 7 commits into from
Nov 18, 2023
Merged

refactor: update apps to use gRPC #20

merged 7 commits into from
Nov 18, 2023

Conversation

jeronimoalbi
Copy link
Member

Requires ignite/cli#3529 to be merged first.

@jeronimoalbi jeronimoalbi self-assigned this Oct 25, 2023
@jeronimoalbi jeronimoalbi marked this pull request as ready for review November 11, 2023 14:33
Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

utACK

// some other sub commands related to hermes relayer.
func NewRelayer() *cobra.Command {
func NewHermes() *cobra.Command {
Copy link
Member

Choose a reason for hiding this comment

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

Maybe create an alias for not breaking the API?

Copy link
Member Author

Choose a reason for hiding this comment

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

I changed the name to NewHermes because the command is called "hermes".

It is attached to the ignite relayer "namespace" to allow other relayers, so NewHermes is called when ignite relayer hermes is executed. Maybe in the future we might have something like ignite relayer go for example. So "relayer" is a namespace for IBC relayers while "hermes" is the name of the actual command.

I'm not sure what you mean by breaking the API

Copy link
Member

@julienrbrt julienrbrt Nov 13, 2023

Choose a reason for hiding this comment

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

Why the go.work.sum is committed?

Copy link
Member Author

Choose a reason for hiding this comment

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

It was already present in the repo and I think it was updated in this PR because some Go mod dependencies were updated.

I'm not sure about this but maybe workspaces should not be committed in a repo, or at least not the workspace sum file. Maybe you mean that just the go.work.sum should be omitted?

Copy link
Member

Choose a reason for hiding this comment

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

We had a long discussion in the SDK about not committing go.work and go.work.sum at all in the repo.
go.work is in the default GitHub gitignore for instance: https://github.com/github/gitignore/blob/main/Go.gitignore and the go.work.sum (github/gitignore#4081) will be one day.

Copy link
Member Author

Choose a reason for hiding this comment

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

+1 for not committing workspaces at all

@Pantani Pantani merged commit 2fb775c into main Nov 18, 2023
9 checks passed
@Pantani Pantani deleted the feat/grpc-protocol branch November 18, 2023 18:43
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.

3 participants