mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Err logging
This commit is contained in:
parent
86d57413ac
commit
f4597ca6bd
1 changed files with 4 additions and 1 deletions
|
|
@ -609,7 +609,10 @@ func (api *API) traceBlock(ctx context.Context, block *types.Block, config *Trac
|
||||||
fmt.Printf("DEBUG - traceBlock - txs %+v\n", txs)
|
fmt.Printf("DEBUG - traceBlock - txs %+v\n", txs)
|
||||||
for i, tx := range txs {
|
for i, tx := range txs {
|
||||||
// Generate the next state snapshot fast without tracing
|
// Generate the next state snapshot fast without tracing
|
||||||
msg, _ := core.TransactionToMessage(tx, signer, block.BaseFee())
|
msg, err := core.TransactionToMessage(tx, signer, block.BaseFee())
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("DEBUG - traceBlock err From %+v tx %+v err %+v\n", msg.From, tx.Hash(), err)
|
||||||
|
}
|
||||||
fmt.Printf("DEBUG - traceBlock inner - From %+v tx %+v\n", msg.From, tx.Hash())
|
fmt.Printf("DEBUG - traceBlock inner - From %+v tx %+v\n", msg.From, tx.Hash())
|
||||||
txctx := &Context{
|
txctx := &Context{
|
||||||
BlockHash: blockHash,
|
BlockHash: blockHash,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue