-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(octane/evmengine): handle engine errors (#2469)
Improve EngineAPI error handling: - Geth returns `status:INVALID` AND errors, so swallow errors if known status is returned. - Remaining errors (with unknown status) should only be temporary networking (or some unexpected geth error). - Timeout PrepareProposal after 10s, proposing an empty consensus block rather (other validators probably already moved on in any case.) - Timeout ProcessProposal after 1min, prevent blocking forever issue: #2461
- Loading branch information
1 parent
39262ac
commit c5dc5fc
Showing
7 changed files
with
86 additions
and
160 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.