From ad5d42e0c7b50068ff0fd501c2b2ee549410adf8 Mon Sep 17 00:00:00 2001 From: Daniyar Itegulov Date: Tue, 29 Oct 2024 18:24:34 +1100 Subject: [PATCH] get rid of tx receipt root --- core/lib/dal/src/models/storage_transaction.rs | 1 - core/lib/types/src/api/mod.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/core/lib/dal/src/models/storage_transaction.rs b/core/lib/dal/src/models/storage_transaction.rs index 78daaebb335e..dbd4fa947520 100644 --- a/core/lib/dal/src/models/storage_transaction.rs +++ b/core/lib/dal/src/models/storage_transaction.rs @@ -392,7 +392,6 @@ impl From for TransactionReceipt { logs: vec![], l2_to_l1_logs: vec![], status, - root: block_hash, logs_bloom: Default::default(), // Even though the Rust SDK recommends us to supply "None" for legacy transactions // we always supply some number anyway to have the same behavior as most popular RPCs diff --git a/core/lib/types/src/api/mod.rs b/core/lib/types/src/api/mod.rs index a4eb64605534..409dc3727570 100644 --- a/core/lib/types/src/api/mod.rs +++ b/core/lib/types/src/api/mod.rs @@ -257,8 +257,6 @@ pub struct TransactionReceipt { pub l2_to_l1_logs: Vec, /// Status: either 1 (success) or 0 (failure). pub status: U64, - /// State root. - pub root: H256, /// Logs bloom #[serde(rename = "logsBloom")] pub logs_bloom: Bloom,