Skip to content

handle unhandled errors and enable errcheck#11

Merged
facuMH merged 5 commits intomainfrom
facundo/unhandled-errors
Feb 5, 2025
Merged

handle unhandled errors and enable errcheck#11
facuMH merged 5 commits intomainfrom
facundo/unhandled-errors

Conversation

@facuMH
Copy link
Copy Markdown
Contributor

@facuMH facuMH commented Feb 4, 2025

This PR is part of https://github.com/Fantom-foundation/sonic-admin/issues/90

It contributes by handling errors that do not need the caution util, nor occur in tests. These could have a real production impact, so they should be thoroughly tested much like Fantom-foundation/Sonic#378

this PR also enables errcheck as part of make lint

@facuMH facuMH self-assigned this Feb 4, 2025
Comment thread evmcore/tx_pool.go Outdated
Comment thread gossip/handler.go
Comment thread evmcore/tx_cacher.go Outdated
HerbertJordan
HerbertJordan previously approved these changes Feb 4, 2025
Copy link
Copy Markdown
Collaborator

@HerbertJordan HerbertJordan left a comment

Choose a reason for hiding this comment

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

Looks good. Please address @LuisPH3 comments, then it is ready to merge from my side.

Comment thread evmcore/tx_cacher.go Outdated
Comment thread evmcore/tx_pool.go
Comment thread evmcore/tx_cacher.go Outdated
@facuMH facuMH requested a review from LuisPH3 February 5, 2025 13:31
@facuMH facuMH force-pushed the facundo/unhandled-errors branch from 364676f to f921937 Compare February 5, 2025 13:56
Copy link
Copy Markdown
Contributor

@LuisPH3 LuisPH3 left a comment

Choose a reason for hiding this comment

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

🙏

@facuMH facuMH merged commit 9d2223d into main Feb 5, 2025
@facuMH facuMH deleted the facundo/unhandled-errors branch February 5, 2025 15:25
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.

3 participants