Decode output using top level trace
This commit is contained in:
parent
ee3cdf0e97
commit
10a5480895
@ -933,8 +933,13 @@ func (a *EthModule) EthTraceReplayBlockTransactions(ctx context.Context, blkNum
|
||||
continue
|
||||
}
|
||||
|
||||
output, err := decodePayload(ir.ExecutionTrace.MsgRct.Return, ir.ExecutionTrace.MsgRct.ReturnCodec)
|
||||
if err != nil {
|
||||
return nil, xerrors.Errorf("failed to decode payload: %w", err)
|
||||
}
|
||||
|
||||
t := ethtypes.EthTraceReplayBlockTransaction{
|
||||
Output: ir.MsgRct.Return,
|
||||
Output: output,
|
||||
TransactionHash: *txHash,
|
||||
StateDiff: nil,
|
||||
VmTrace: nil,
|
||||
|
Loading…
Reference in New Issue
Block a user