-
Notifications
You must be signed in to change notification settings - Fork 158
style: enable errcheck linter #1203
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
Open
JonathanOppenheimer
wants to merge
43
commits into
master
Choose a base branch
from
JonathanOppenheimer/lint-enable-errcheck
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+68
−45
Open
Changes from 37 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
fd0c346
enable lint errcheck
JonathanOppenheimer 8e8947d
Update core/state_manager_test.go
JonathanOppenheimer 73d6f52
Update plugin/evm/atomic/state/atomic_trie.go
JonathanOppenheimer ca5e761
in-line errors
JonathanOppenheimer ee18188
Fix TestConsecutiveAtomicTransactionsRevertSnapshot
JonathanOppenheimer e063e0d
lint
JonathanOppenheimer 5b12fa2
Apply suggestions from code review
JonathanOppenheimer 2b038aa
Stephen suggestions
JonathanOppenheimer 97569ba
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 39a0e80
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer e7601ef
Apply suggestions from code review
JonathanOppenheimer ab4d3b8
Review suggestions
JonathanOppenheimer c769879
lint
JonathanOppenheimer be7513a
back to force add
JonathanOppenheimer 07d4242
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 7321bed
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 9dbd1ff
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 726a4ce
align test
JonathanOppenheimer 0496072
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 21b37d4
back to =
JonathanOppenheimer faae4e0
try this
JonathanOppenheimer f0012a4
don't panic!
JonathanOppenheimer cc4a475
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 1f6e70a
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 905e7ce
lint
JonathanOppenheimer 956a0af
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 436538c
Austin suggestions
JonathanOppenheimer dbff479
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 71684ff
document why error isn't returned
JonathanOppenheimer 9cb3fcc
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer d5917a1
lint
JonathanOppenheimer af2036c
Merge remote-tracking branch 'origin/master' into JonathanOppenheimer…
JonathanOppenheimer 27a67b6
remove t
JonathanOppenheimer 33ab908
Lint
JonathanOppenheimer 42dd971
fix test
JonathanOppenheimer 47183e1
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 8262bea
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer c25baa1
austin nits
JonathanOppenheimer 24527b9
Merge branch 'master' into JonathanOppenheimer/lint-enable-errcheck
JonathanOppenheimer 8402d4c
revert function
JonathanOppenheimer 5eb4753
austin nits
JonathanOppenheimer 916fc03
log error
JonathanOppenheimer 4c6bccf
fix error format
JonathanOppenheimer 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
Some comments aren't visible on the classic Files Changed page.
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
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
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
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
JonathanOppenheimer marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
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
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
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
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
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
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.
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.
These trie error handling changes are lowkey terrifying... Need to dig into these to make sure they are safe.
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.
Update: not scary at all. An error will only be returned if not called with HashDB (because geth is a nightmare)