Skip to content

Commit

Permalink
Cancel inline event log
Browse files Browse the repository at this point in the history
  • Loading branch information
chopin-fan committed Nov 12, 2024
1 parent 1ac0435 commit 0b3ab87
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,14 +494,14 @@ private IEnumerable<ExecutionReturnSet> GetReturnSet(TransactionTrace trace, Tra

Logger.LogWarning($"Inline tx id: {inlineTx.GetHash().ToHex()}\n{inlineTx}");
// TODO: Maybe we need to add a new log for inline tx with id created.
var log = new VirtualTransactionCreated
{
From = inlineTx.From,
To = inlineTx.To,
MethodName = inlineTx.MethodName,
Params = inlineTx.Params,
};
returnSet.TransactionResult.Logs.Add(log.ToLogEvent(inlineTx.To));
// var log = new VirtualTransactionCreated
// {
// From = inlineTx.From,
// To = inlineTx.To,
// MethodName = inlineTx.MethodName,
// Params = inlineTx.Params,
// };
// returnSet.TransactionResult.Logs.Add(log.ToLogEvent(inlineTx.To));
}
}
else
Expand Down

0 comments on commit 0b3ab87

Please sign in to comment.