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

golangci-lint #121

Merged
merged 4 commits into from
Sep 26, 2022
Merged

golangci-lint #121

merged 4 commits into from
Sep 26, 2022

Conversation

archseer
Copy link
Collaborator

@archseer archseer commented Sep 21, 2022

Copied the latest config from https://github.com/smartcontractkit/chainlink

@archseer archseer temporarily deployed to integration September 21, 2022 04:20 Inactive
@archseer archseer temporarily deployed to integration September 21, 2022 04:31 Inactive
@github-actions
Copy link

github-actions bot commented Sep 21, 2022

Smoke Test Results

1 tests   1 ✔️  6m 10s ⏱️
1 suites  0 💤
1 files    0

Results for commit ac7156f.

♻️ This comment has been updated with latest results.

krebernisak
krebernisak previously approved these changes Sep 21, 2022
version: v${{ steps.tool-versions.outputs.golangci-lint_version }}

# Optional: working directory, useful for monorepos
working-directory: relayer
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should include all Go modules in the monorepo: golangci/golangci-lint#828 (comment)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Extracted GH Issue: #122 (not blocking)

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to use matrix args or something even more automated to repeat for each module?

Copy link
Collaborator

@aalu1418 aalu1418 left a comment

Choose a reason for hiding this comment

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

ideally we use a different name for the slice naming
(the other issue can be addressed later)

@@ -20,7 +20,6 @@ var _ median.MedianContract = (*transmissionsCache)(nil)
type transmissionsCache struct {
transmissionDetails TransmissionDetails
tdLock sync.RWMutex
tdTime time.Time
Copy link
Collaborator

Choose a reason for hiding this comment

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

Interesting that this wasn't used...there should be a TTL check here similar to the contract_cache implementation

relayer/pkg/starknet/utils.go Outdated Show resolved Hide resolved
@archseer archseer temporarily deployed to integration September 22, 2022 06:14 Inactive
@archseer archseer temporarily deployed to integration September 22, 2022 06:24 Inactive
@aalu1418 aalu1418 temporarily deployed to integration September 26, 2022 13:25 Inactive
@aalu1418 aalu1418 temporarily deployed to integration September 26, 2022 13:36 Inactive
Copy link
Collaborator

@aalu1418 aalu1418 left a comment

Choose a reason for hiding this comment

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

fixed the one renaming change I requested
bytes => bytesBuffer

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.

4 participants