Merge pull request #10079 from filecoin-project/raulk/fixed-wrong-message-events
fix: events: put the _signed_ message through the pipeline.
This commit is contained in:
commit
1ce3ef0416
@ -266,13 +266,13 @@ func (te *TipSetEvents) messages(ctx context.Context) ([]executedMessage, error)
|
||||
}
|
||||
|
||||
type executedMessage struct {
|
||||
msg *types.Message
|
||||
msg types.ChainMsg
|
||||
rct *types.MessageReceipt
|
||||
// events extracted from receipt
|
||||
evs []*types.Event
|
||||
}
|
||||
|
||||
func (e *executedMessage) Message() *types.Message {
|
||||
func (e *executedMessage) Message() types.ChainMsg {
|
||||
return e.msg
|
||||
}
|
||||
|
||||
@ -428,7 +428,7 @@ func (m *EventFilterManager) loadExecutedMessages(ctx context.Context, msgTs, rc
|
||||
ems := make([]executedMessage, len(msgs))
|
||||
|
||||
for i := 0; i < len(msgs); i++ {
|
||||
ems[i].msg = msgs[i].VMMessage()
|
||||
ems[i].msg = msgs[i]
|
||||
|
||||
var rct types.MessageReceipt
|
||||
found, err := arr.Get(uint64(i), &rct)
|
||||
|
Loading…
Reference in New Issue
Block a user