diff --git a/node/impl/full/eth.go b/node/impl/full/eth.go index 5d5633365eb..6e99243e25b 100644 --- a/node/impl/full/eth.go +++ b/node/impl/full/eth.go @@ -879,12 +879,12 @@ func (a *EthModule) EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtyp env, err := baseEnvironment(st, ir.Msg.From) if err != nil { - return nil, xerrors.Errorf("when processing message %s: %w", err) + return nil, xerrors.Errorf("when processing message %s: %w", ir.MsgCid, err) } err = buildTraces(env, nil, &ir.ExecutionTrace) if err != nil { - return nil, xerrors.Errorf("failed building traces: %w", err) + return nil, xerrors.Errorf("failed building traces for msg %s: %w", ir.MsgCid, err) } for _, trace := range env.traces { @@ -938,12 +938,12 @@ func (a *EthModule) EthTraceReplayBlockTransactions(ctx context.Context, blkNum env, err := baseEnvironment(st, ir.Msg.From) if err != nil { - return nil, xerrors.Errorf("when processing message %s: %w", err) + return nil, xerrors.Errorf("when processing message %s: %w", ir.MsgCid, err) } err = buildTraces(env, nil, &ir.ExecutionTrace) if err != nil { - return nil, xerrors.Errorf("failed building traces: %w", err) + return nil, xerrors.Errorf("failed building traces for msg %s: %w", err) } var output []byte