-
Notifications
You must be signed in to change notification settings - Fork 28
relayer: bump common for config fix #659
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c647a61
relayer: bump common for config fix
jmank88 2054909
nix flake update
jmank88 821a43c
Fix Nix post update + format
krebernisak 6dfdc54
update Makefile
jmank88 72b9160
fix linter
cl-efornaciari ef6f749
fix it path for linter
cl-efornaciari c8281d5
progress on linters
cl-efornaciari e45c304
most lint issues fixed
cl-efornaciari bcf78b6
add stubs to relayer and chain
cl-efornaciari 39ad9f8
relayer: bump chain_selectors; implement GetChainInfo
jmank88 5f9860d
relayer/pkg/chainlink/txm: use UnimplementedKeystore
jmank88 b9a93b0
relayer/pkg/chainlink/cmd/chainlink-starknet: expand NewRelayer params
jmank88 eae830a
fix
cl-efornaciari 07f5afb
make generate
jmank88 b8340b0
relayer/pkg/chainlink/txm: fix LooppKeystore
jmank88 d3a2874
add step to free up disk space
cl-efornaciari 8610a02
move clearing disk
cl-efornaciari 029a79c
add unimplemeted relay
cl-efornaciari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,155 +1,159 @@ | ||
| run: | ||
| timeout: 15m0s | ||
| version: "2" | ||
| linters: | ||
| enable: | ||
| - exhaustive | ||
| - containedctx | ||
| - copyloopvar | ||
| - revive | ||
| - goimports | ||
| - depguard | ||
| - errorlint | ||
| - exhaustive | ||
| - fatcontext | ||
| - gosec | ||
| - loggercheck | ||
| - mirror | ||
| - misspell | ||
| - noctx | ||
| - revive | ||
| - rowserrcheck | ||
| - errorlint | ||
| - unconvert | ||
| - sqlclosecheck | ||
| - noctx | ||
| - unconvert | ||
| - whitespace | ||
| - depguard | ||
| - containedctx | ||
| - fatcontext | ||
| - mirror | ||
| - loggercheck | ||
| linters-settings: | ||
| exhaustive: | ||
| default-signifies-exhaustive: true | ||
| goimports: | ||
| local-prefixes: github.com/smartcontractkit/chainlink-starknet | ||
| golint: | ||
| min-confidence: 1.0 | ||
| gosec: | ||
| excludes: | ||
| - G101 | ||
| - G104 | ||
| # - G204 | ||
| # - G304 | ||
| # - G404 | ||
| govet: | ||
| enable: | ||
| - shadow | ||
| settings: | ||
| printf: | ||
| # Additionally check custom logger | ||
| funcs: | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Debugf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Infof | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Warnf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Errorf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Panicf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Fatalf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).AssumptionViolationf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).Tracef | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).Criticalf | ||
| errorlint: | ||
| # Allow formatting of errors without %w | ||
| errorf: false | ||
| revive: | ||
| confidence: 0.8 | ||
| rules: | ||
| - name: blank-imports | ||
| - name: context-as-argument | ||
| - name: context-keys-type | ||
| - name: dot-imports | ||
| - name: error-return | ||
| - name: error-strings | ||
| - name: error-naming | ||
| - name: exported | ||
| - name: if-return | ||
| - name: increment-decrement | ||
| - name: var-naming | ||
| - name: var-declaration | ||
| - name: package-comments | ||
| - name: range | ||
| - name: receiver-naming | ||
| - name: time-naming | ||
| # - name: unexported-return | ||
| - name: indent-error-flow | ||
| - name: errorf | ||
| - name: empty-block | ||
| - name: superfluous-else | ||
| # - name: unused-parameter | ||
| - name: unreachable-code | ||
| - name: redefines-builtin-id | ||
| - name: waitgroup-by-value | ||
| - name: unconditional-recursion | ||
| - name: struct-tag | ||
| # - name: string-format | ||
| - name: string-of-int | ||
| - name: range-val-address | ||
| - name: range-val-in-closure | ||
| - name: modifies-value-receiver | ||
| - name: modifies-parameter | ||
| - name: identical-branches | ||
| - name: get-return | ||
| # - name: flag-parameter | ||
| - name: early-return | ||
| - name: defer | ||
| - name: constant-logical-expr | ||
| # - name: confusing-naming | ||
| # - name: confusing-results | ||
| - name: bool-literal-in-expr | ||
| - name: atomic | ||
| depguard: | ||
| settings: | ||
| depguard: | ||
| rules: | ||
| main: | ||
| list-mode: lax | ||
| deny: | ||
| - pkg: cosmossdk.io/errors | ||
| desc: Use the standard library instead | ||
| - pkg: github.com/go-gorm/gorm | ||
| desc: Use github.com/jmoiron/sqlx directly instead | ||
| - pkg: github.com/gofrs/uuid | ||
| desc: Use github.com/google/uuid instead | ||
| - pkg: github.com/pkg/errors | ||
| desc: Use the standard library instead, for example https://pkg.go.dev/errors#Join | ||
| - pkg: github.com/satori/go.uuid | ||
| desc: Use github.com/google/uuid instead | ||
| - pkg: github.com/test-go/testify/assert | ||
| desc: Use github.com/stretchr/testify/assert instead | ||
| - pkg: github.com/test-go/testify/mock | ||
| desc: Use github.com/stretchr/testify/mock instead | ||
| - pkg: github.com/test-go/testify/require | ||
| desc: Use github.com/stretchr/testify/require instead | ||
| - pkg: go.uber.org/multierr | ||
| desc: Use the standard library instead, for example https://pkg.go.dev/errors#Join | ||
| - pkg: gopkg.in/guregu/null.v1 | ||
| desc: Use gopkg.in/guregu/null.v4 instead | ||
| - pkg: gopkg.in/guregu/null.v2 | ||
| desc: Use gopkg.in/guregu/null.v4 instead | ||
| - pkg: gopkg.in/guregu/null.v3 | ||
| desc: Use gopkg.in/guregu/null.v4 instead | ||
| - pkg: github.com/go-gorm/gorm | ||
| desc: Use github.com/jmoiron/sqlx directly instead | ||
| errorlint: | ||
| errorf: false | ||
| exhaustive: | ||
| default-signifies-exhaustive: true | ||
| gosec: | ||
| excludes: | ||
| - G101 | ||
| - G104 | ||
| govet: | ||
| enable: | ||
| - shadow | ||
| settings: | ||
| printf: | ||
| funcs: | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Debugf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Infof | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Warnf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Errorf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Panicf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Fatalf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).AssumptionViolationf | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).Tracef | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).Criticalf | ||
| loggercheck: | ||
| rules: | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Debugw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Infow | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Warnw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Errorw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Panicw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Fatalw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).AssumptionViolationw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).Tracew | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).Criticalw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).With | ||
| revive: | ||
| confidence: 0.8 | ||
| rules: | ||
| - name: blank-imports | ||
| - name: context-as-argument | ||
| - name: context-keys-type | ||
| - name: dot-imports | ||
| - name: error-return | ||
| - name: error-strings | ||
| - name: error-naming | ||
| - name: exported | ||
| - name: if-return | ||
| - name: increment-decrement | ||
| - name: var-naming | ||
| - name: var-declaration | ||
| - name: package-comments | ||
| - name: range | ||
| - name: receiver-naming | ||
| - name: time-naming | ||
| - name: indent-error-flow | ||
| - name: errorf | ||
| - name: empty-block | ||
| - name: superfluous-else | ||
| - name: unreachable-code | ||
| - name: redefines-builtin-id | ||
| - name: waitgroup-by-value | ||
| - name: unconditional-recursion | ||
| - name: struct-tag | ||
| - name: string-of-int | ||
| - name: range-val-address | ||
| - name: range-val-in-closure | ||
| - name: modifies-value-receiver | ||
| - name: modifies-parameter | ||
| - name: identical-branches | ||
| - name: get-return | ||
| - name: early-return | ||
| - name: defer | ||
| - name: constant-logical-expr | ||
| - name: bool-literal-in-expr | ||
| - name: atomic | ||
| exclusions: | ||
| generated: lax | ||
| presets: | ||
| - comments | ||
| - common-false-positives | ||
| - legacy | ||
| - std-error-handling | ||
| rules: | ||
| main: | ||
| list-mode: lax | ||
| deny: | ||
| - pkg: "cosmossdk.io/errors" | ||
| desc: Use the standard library instead | ||
| - pkg: "github.com/go-gorm/gorm" | ||
| desc: Use github.com/jmoiron/sqlx directly instead | ||
| - pkg: "github.com/gofrs/uuid" | ||
| desc: Use github.com/google/uuid instead | ||
| - pkg: "github.com/pkg/errors" | ||
| desc: Use the standard library instead, for example https://pkg.go.dev/errors#Join | ||
| - pkg: "github.com/satori/go.uuid" | ||
| desc: Use github.com/google/uuid instead | ||
| - pkg: "github.com/test-go/testify/assert" | ||
| desc: Use github.com/stretchr/testify/assert instead | ||
| - pkg: "github.com/test-go/testify/mock" | ||
| desc: Use github.com/stretchr/testify/mock instead | ||
| - pkg: "github.com/test-go/testify/require" | ||
| desc: Use github.com/stretchr/testify/require instead | ||
| - pkg: "go.uber.org/multierr" | ||
| desc: Use the standard library instead, for example https://pkg.go.dev/errors#Join | ||
| - pkg: "gopkg.in/guregu/null.v1" | ||
| desc: Use gopkg.in/guregu/null.v4 instead | ||
| - pkg: "gopkg.in/guregu/null.v2" | ||
| desc: Use gopkg.in/guregu/null.v4 instead | ||
| - pkg: "gopkg.in/guregu/null.v3" | ||
| desc: Use gopkg.in/guregu/null.v4 instead | ||
| - pkg: github.com/go-gorm/gorm | ||
| desc: Use github.com/jmoiron/sqlx directly instead | ||
| loggercheck: | ||
| # Check that *w logging functions have even number of args (i.e., well formed key-value pairs). | ||
| rules: | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Debugw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Infow | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Warnw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Errorw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Panicw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.Logger).Fatalw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).AssumptionViolationw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).Tracew | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).Criticalw | ||
| - (github.com/smartcontractkit/chainlink-common/pkg/logger.SugaredLogger).With | ||
| issues: | ||
| exclude-rules: | ||
| - path: test | ||
| text: "^G404:" | ||
| linters: | ||
| - gosec | ||
| # TODO: re-add gpp op file once we integrate into workflows | ||
| - path: "common/gauntlet_plus_plus_common.go" | ||
| text: ".*" | ||
| linters: | ||
| - unused | ||
| - linters: | ||
| - gosec | ||
| path: test | ||
| text: '^G404:' | ||
| - linters: | ||
| - unused | ||
| path: common/gauntlet_plus_plus_common.go | ||
| text: .* | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
| formatters: | ||
| enable: | ||
| - goimports | ||
| settings: | ||
| goimports: | ||
| local-prefixes: | ||
| - github.com/smartcontractkit/chainlink-starknet | ||
| exclusions: | ||
| generated: lax | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium