mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 07:53:47 +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:
|
case errCh <- err:
|
||||||
default:
|
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 (
|
const (
|
||||||
VersionMajor = 4 // Major version component of the current release
|
VersionMajor = 4 // Major version component of the current release
|
||||||
VersionMinor = 3 // Minor 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
|
VersionMeta = "sepolia" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue