diff --git a/src/ethereum/arrow_glacier/fork_types.py b/src/ethereum/arrow_glacier/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/arrow_glacier/fork_types.py +++ b/src/ethereum/arrow_glacier/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/berlin/fork_types.py b/src/ethereum/berlin/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/berlin/fork_types.py +++ b/src/ethereum/berlin/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/byzantium/fork_types.py b/src/ethereum/byzantium/fork_types.py index 6f25f98c30..e49045e1ea 100644 --- a/src/ethereum/byzantium/fork_types.py +++ b/src/ethereum/byzantium/fork_types.py @@ -51,9 +51,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/cancun/fork_types.py b/src/ethereum/cancun/fork_types.py index 30dc2f4982..38bb255df7 100644 --- a/src/ethereum/cancun/fork_types.py +++ b/src/ethereum/cancun/fork_types.py @@ -53,9 +53,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/constantinople/fork_types.py b/src/ethereum/constantinople/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/constantinople/fork_types.py +++ b/src/ethereum/constantinople/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/dao_fork/fork_types.py b/src/ethereum/dao_fork/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/dao_fork/fork_types.py +++ b/src/ethereum/dao_fork/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/frontier/fork_types.py b/src/ethereum/frontier/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/frontier/fork_types.py +++ b/src/ethereum/frontier/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/gray_glacier/fork_types.py b/src/ethereum/gray_glacier/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/gray_glacier/fork_types.py +++ b/src/ethereum/gray_glacier/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/homestead/fork_types.py b/src/ethereum/homestead/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/homestead/fork_types.py +++ b/src/ethereum/homestead/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/istanbul/fork_types.py b/src/ethereum/istanbul/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/istanbul/fork_types.py +++ b/src/ethereum/istanbul/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/london/fork_types.py b/src/ethereum/london/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/london/fork_types.py +++ b/src/ethereum/london/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/muir_glacier/fork_types.py b/src/ethereum/muir_glacier/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/muir_glacier/fork_types.py +++ b/src/ethereum/muir_glacier/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/paris/fork_types.py b/src/ethereum/paris/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/paris/fork_types.py +++ b/src/ethereum/paris/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/shanghai/fork_types.py b/src/ethereum/shanghai/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/shanghai/fork_types.py +++ b/src/ethereum/shanghai/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/spurious_dragon/fork_types.py b/src/ethereum/spurious_dragon/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/spurious_dragon/fork_types.py +++ b/src/ethereum/spurious_dragon/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( ( diff --git a/src/ethereum/tangerine_whistle/fork_types.py b/src/ethereum/tangerine_whistle/fork_types.py index 270701e4f7..b4ab28c882 100644 --- a/src/ethereum/tangerine_whistle/fork_types.py +++ b/src/ethereum/tangerine_whistle/fork_types.py @@ -52,9 +52,10 @@ class Account: def encode_account(raw_account_data: Account, storage_root: Bytes) -> Bytes: """ - Encode `Account` dataclass using RLP. + Encode `Account` dataclass. - Note: Storage is not included in `Account`, so a storage root must be provided. + Storage is not stored in the `Account` dataclass, so `Accounts` cannot be + encoded without providing a storage root. """ return rlp.encode( (