From 1048652a8cb9775903396d90b5f79497b944eeb7 Mon Sep 17 00:00:00 2001 From: James Prestwich <10149425+prestwich@users.noreply.github.com> Date: Sat, 23 Jan 2021 00:38:21 -0800 Subject: [PATCH] doc: note EIP-658 in TransactionReceipt (#178) --- ethers-core/src/types/transaction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-core/src/types/transaction.rs b/ethers-core/src/types/transaction.rs index ae8fe737..fc3bbc21 100644 --- a/ethers-core/src/types/transaction.rs +++ b/ethers-core/src/types/transaction.rs @@ -373,9 +373,9 @@ pub struct TransactionReceipt { pub contract_address: Option
, /// Logs generated within this transaction. pub logs: Vec, - /// Status: either 1 (success) or 0 (failure). + /// Status: either 1 (success) or 0 (failure). Only present after activation of [EIP-658](https://eips.ethereum.org/EIPS/eip-658) pub status: Option, - /// State root. + /// State root. Only present before activation of [EIP-658](https://eips.ethereum.org/EIPS/eip-658) pub root: Option, /// Logs bloom #[serde(rename = "logsBloom")]