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

Refactor to use use unwrapErr() throughout the codebase #346

Merged
merged 13 commits into from
Oct 19, 2023

Conversation

Bitcoinnoobie
Copy link
Contributor

with related to issue #318

@stranger80 stranger80 changed the title Update call.go Refactor to use use unwrapErr() throughout the codebase Sep 25, 2023
@stranger80
Copy link
Contributor

@Bitcoinnoobie I took liberty to rename this PR for readability

@rianhughes
Copy link
Contributor

This issue should be resolved before this PR is merged. We should run tests on PRs

@cicr99
Copy link
Contributor

cicr99 commented Sep 27, 2023

There are a few places (other that the ones that were addressed) where no switch statement is used but it would be good to handle the errors using tryUnwrapToRPCErr method as well:

Could these be modified too?

@cicr99
Copy link
Contributor

cicr99 commented Sep 27, 2023

This issue should be resolved before this PR is merged. We should run tests on PRs

Also, this was already merged in, but in order to be applied to this PR I think it's necessary to fetch the latest changes from main into this branch

@stranger80 stranger80 modified the milestone: v0.4.6 Oct 3, 2023
@cicr99 cicr99 merged commit 364beae into NethermindEth:main Oct 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants