-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Service] NIT followups to AddService
in #316
#338
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.
Left a few nits on imports but gunna approve please fix then merge <3
x/service/keeper/service_test.go
Outdated
"github.com/pokt-network/poktroll/cmd/pocketd/cmd" | ||
keepertest "github.com/pokt-network/poktroll/testutil/keeper" | ||
"github.com/pokt-network/poktroll/testutil/nullify" | ||
"github.com/pokt-network/poktroll/x/service/keeper" | ||
"github.com/pokt-network/poktroll/x/service/types" | ||
sharedtypes "github.com/pokt-network/poktroll/x/shared/types" | ||
"github.com/stretchr/testify/require" |
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.
NIT: Move this back to second block.
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.
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.
https://github.com/incu6us/goimports-reviser
https://github.com/golang/vscode-go/wiki/features#format-and-organize-imports
https://github.com/golang/vscode-go/wiki/advanced#formatting-code-and-organizing-imports
Line 30 in 943669e
gci: |
These links should help, I don't know exactly as I don't use vscode - but the last code reference to my linting PR should help as a reference on the 2nd link.
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.
goimports != goimports-reviser you want a final group which is prefixed with our repo name. Pretty sure there is a goimports-reviser plugin maybe for vscode but whatever way you find to make it work - document it somewhere so we can make a configs section
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.
https://chat.openai.com/share/d2590505-31e2-4e34-be93-8e4fabf8d872 @Olshansk this should do it ;)
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.
3dd2de0
to
ea72e97
Compare
The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks. If you just created a pull request, you might need to push another commit to produce a container image DevNet can utilize to spin up infrastructure. You can use |
@h5law Fixed the imports and will merge this in after E2E tests pass. Plz see my comment in #338 (comment), since I'm trying to understand what formatted you use. |
NIT followups to #316 added in a separate PR to avoid blocking the base PR. --------- Co-authored-by: h5law <[email protected]>
Summary
NIT followups to #316 added in a separate PR to avoid blocking the base PR.
Type of change
Select one or more:
Testing
make go_develop_and_test
make test_e2e
devnet-test-e2e
label to the PR. This is VERY expensive, only do it after all the reviews are complete.Sanity Checklist