Repository navigation
Progressive merkleization support + Enforce soft unmarshal limits #22
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
10 commits
Select commit
Hold shift + click to select a range
1533b71
ProgressiveContainer support and major refactor
kasey f02d8c4
flag to filter packages by build tag
kasey 9be4f5c
allow build tags to be injected via flags
kasey 932cc73
progress UnmarshalSSZ to check limits (assuming upstream spectest cha…
kasey 8347386
Run `go mod tidy` and add tidy checker Github action
syjn99 63974f7
Potential fix for pull request finding 'CodeQL / Workflow does not co…
syjn99 8a0618d
Modernize github actions (lint and test)
syjn99 b632457
Migrate `golangci-lint` config to v2
syjn99 aefc00c
Make linter happy (with `goconst` off)
syjn99 ffa7aee
Make CodeQL happy (solving Zip Slip)
syjn99 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,42 +1,39 @@ | ||
| # This file configures github.com/golangci/golangci-lint. | ||
|
|
||
| version: "2" | ||
| run: | ||
| timeout: 20m | ||
| tests: true | ||
| # default is true. Enables skipping of directories: | ||
| # vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ | ||
| skip-dirs-use-default: true | ||
|
|
||
| linters: | ||
| disable-all: true | ||
| default: none | ||
| # goconst: repeated literals in test tables read better inline. | ||
| enable: | ||
| - goconst | ||
| - goimports | ||
| - gosimple | ||
| - bidichk | ||
| - durationcheck | ||
| # - goconst | ||
| - govet | ||
| - ineffassign | ||
| - misspell | ||
| - unconvert | ||
| - typecheck | ||
| # - unused | ||
| - staticcheck | ||
| - bidichk | ||
| - durationcheck | ||
| - exportloopref | ||
| - unconvert | ||
| - whitespace | ||
|
|
||
| # - structcheck # lots of false positives | ||
| # - errcheck #lot of false positives | ||
| # - contextcheck | ||
| # - errchkjson # lots of false positives | ||
| # - errorlint # this check crashes | ||
| # - exhaustive # silly check | ||
| # - makezero # false positives | ||
| # - nilerr # several intentional | ||
|
|
||
| linters-settings: | ||
| gofmt: | ||
| simplify: true | ||
| goconst: | ||
| min-len: 3 # minimum length of string constant | ||
| min-occurrences: 6 # minimum number of occurrences | ||
| exclusions: | ||
| generated: lax | ||
| presets: | ||
| - comments | ||
| - common-false-positives | ||
| - legacy | ||
| - std-error-handling | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
| formatters: | ||
| enable: | ||
| - goimports | ||
| settings: | ||
| gofmt: | ||
| simplify: true | ||
| 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| package commands | ||
|
|
||
| import "github.com/urfave/cli/v2" | ||
|
|
||
| var All = []*cli.Command{Generate, IR, Tests, GenSpectest} |
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.
Uh oh!
There was an error while loading. Please reload this page.