Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Awareness of the block rewind situation after a non-graceful shutdown

Open
#192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
go

Research direction

No files, tests, or entry points are named. Trace the retry handling for eth_estimateGas and the follow-up eth_call after a non-graceful shutdown, then verify that a block-not-found response during a rewind causes continued retrying rather than a reported transaction failure.

Written by the indexing model from the issue text.

Description

When geth experiences a non-graceful crash, ethconnect will retry the pending transactions. The eth_estimateGas calls will be made during the retries.

After the node recovers, it will perform a rewind to a previous full block.

At this point, ethconnect will be retrying the eth_estimateGas calls, which fails because it's chain repair state. EthConnect then attempts an eth_call request to try to discover the error that caused the failure. Since the eth_call request is made at the original block height, geth will return block not found error and fail the transaction. EthConnect believes it's the actual cause of the tx failure and returns it to the client.

What it should do is detecting that "block not found" is returned and recognize that it's likely a block rewind situation, and continues to retry.

Dominant language
Go
Stars
76
Forks
31
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hyperledger-firefly/ethconnect

All issues in hyperledger-firefly/ethconnect

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.