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

[Service] NIT followups to AddService in #316 #338

Merged
merged 25 commits into from
Jan 19, 2024

Conversation

Olshansk
Copy link
Member

Summary

NIT followups to #316 added in a separate PR to avoid blocking the base PR.

Type of change

Select one or more:

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Documentation
  • Other (specify)

Testing

  • Run all unit tests: make go_develop_and_test
  • Run E2E tests locally: make test_e2e
  • Run E2E tests on DevNet: Add the devnet-test-e2e label to the PR. This is VERY expensive, only do it after all the reviews are complete.

Sanity Checklist

  • I have tested my changes using the available tooling
  • I have performed a self-review of my own code
  • I have commented my code, updated documentation and left TODOs throughout the codebase

@Olshansk Olshansk added documentation Improvements or additions to documentation on-chain On-chain business logic code health Cleans up some code labels Jan 19, 2024
@Olshansk Olshansk added this to the Shannon TestNet milestone Jan 19, 2024
@Olshansk Olshansk requested a review from h5law January 19, 2024 16:29
@Olshansk Olshansk self-assigned this Jan 19, 2024
Copy link
Contributor

@h5law h5law left a 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/client/cli/tx_add_service_test.go Outdated Show resolved Hide resolved
"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"
Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you have any idea why this doesn't format it correctly?

Screenshot 2024-01-19 at 2 57 54 PM

Copy link
Contributor

@h5law h5law Jan 19, 2024

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

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.

Copy link
Contributor

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

Copy link
Contributor

@h5law h5law Jan 19, 2024

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Base automatically changed from feat/add-service-impl to main January 19, 2024 17:41
@Olshansk Olshansk force-pushed the feat/add-service-impl-nits branch from 3dd2de0 to ea72e97 Compare January 19, 2024 20:01
Copy link

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 make trigger_ci to push an empty commit.

@github-actions github-actions bot added devnet push-image CI related - pushes images to ghcr.io labels Jan 19, 2024
@Olshansk
Copy link
Member Author

@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.

@Olshansk Olshansk merged commit 9aabe7d into main Jan 19, 2024
11 checks passed
@Olshansk Olshansk deleted the feat/add-service-impl-nits branch January 19, 2024 21:41
bryanchriswhite added a commit that referenced this pull request Jan 22, 2024
…of-store-indices-2

* pokt/main:
  [Off-chain] Simplify `TxClient` with `EventsQueryClient` (#330)
  fix: add yarn.lock (#334)
  [Service] NIT followups to `AddService` in #316 (#338)
  [Service] Implement AddService with extensive tests (#316)
  [Supplier] refactor: proof store indices (2) (#327)
@bryanchriswhite bryanchriswhite removed push-image CI related - pushes images to ghcr.io devnet-test-e2e labels May 16, 2024
@github-actions github-actions bot removed the devnet label May 16, 2024
okdas pushed a commit that referenced this pull request Nov 14, 2024
NIT followups to #316 added in a separate PR to avoid blocking the base PR.

---------

Co-authored-by: h5law <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code health Cleans up some code documentation Improvements or additions to documentation on-chain On-chain business logic
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants