mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
refactor: add more context to tracing failure (#466)
This commit is contained in:
parent
6195e2e77d
commit
3027111956
2 changed files with 8 additions and 2 deletions
|
|
@ -158,7 +158,13 @@ func (env *TraceEnv) GetBlockTrace(block *types.Block) (*types.BlockTrace, error
|
|||
case errCh <- err:
|
||||
default:
|
||||
}
|
||||
log.Error("failed to trace tx", "txHash", txs[task.index].Hash().String())
|
||||
log.Error(
|
||||
"failed to trace tx",
|
||||
"txHash", txs[task.index].Hash().String(),
|
||||
"blockHash", block.Hash().String(),
|
||||
"blockNumber", block.NumberU64(),
|
||||
"err", err,
|
||||
)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import (
|
|||
const (
|
||||
VersionMajor = 4 // Major version component of the current release
|
||||
VersionMinor = 3 // Minor version component of the current release
|
||||
VersionPatch = 35 // Patch version component of the current release
|
||||
VersionPatch = 36 // Patch version component of the current release
|
||||
VersionMeta = "sepolia" // Version metadata to append to the version string
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue