Skip to content

Commit

Permalink
Adjust "TransactionEvent" to match Proxy & API: drop "dataItems".
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Sep 30, 2024
1 parent 32838d0 commit c14ce2f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/transaction_outcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ dto TransactionEvent:
// Since Sirius, a new field, "additionalData" (collection) has been added to the log entry.
// "additionalData" holds all the data items that correspond to the log entry, while the old (legacy) "data" field holds the first data item:
// https://github.com/multiversx/mx-chain-go/blob/v1.6.18/process/transactionLog/process.go#L159
//
// Here, in the SDKs, we drop the legacy and have one field (collection) to hold all data items of a log entry: "dataItems".
// For transactions processed before Sirius, this collection will have an item at most.
// For transactions processed after Sirius, this collection is synonymous with "additionalData".
dataItems: List[bytes]
data: bytes;
additional_data: List[bytes]
```

```
Expand Down

0 comments on commit c14ce2f

Please sign in to comment.