Add information about internal message executions to SimulationResult

- The VM now tracks a list of ExecutionResults to keep track of internal messages
This commit is contained in:
Aayush Rajasekaran
2020-03-06 11:11:06 -08:00
parent 2d63b007f2
commit 340afc3503
4 changed files with 38 additions and 5 deletions
+4 -3
View File
@@ -174,9 +174,10 @@ func (a *StateAPI) StateReplay(ctx context.Context, tsk types.TipSetKey, mc cid.
}
return &api.InvocResult{
Msg: m,
MsgRct: &r.MessageReceipt,
Error: errstr,
Msg: m,
MsgRct: &r.MessageReceipt,
InternalExecutions: r.InternalExecutions,
Error: errstr,
}, nil
}