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
|
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{
|
t := ethtypes.EthTraceReplayBlockTransaction{
|
||||||
Output: ir.MsgRct.Return,
|
Output: output,
|
||||||
TransactionHash: *txHash,
|
TransactionHash: *txHash,
|
||||||
StateDiff: nil,
|
StateDiff: nil,
|
||||||
VmTrace: nil,
|
VmTrace: nil,
|
||||||
|
Loading…
Reference in New Issue
Block a user