From c14ce2fb4e060793209ce5cd8dafc35934a1e52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Mon, 30 Sep 2024 14:00:07 +0300 Subject: [PATCH] Adjust "TransactionEvent" to match Proxy & API: drop "dataItems". --- core/transaction_outcome.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/transaction_outcome.md b/core/transaction_outcome.md index eb60981..8021788 100644 --- a/core/transaction_outcome.md +++ b/core/transaction_outcome.md @@ -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] ``` ```