From f60cfb2a5205cabe999be9efd7e415da1c1bf48c Mon Sep 17 00:00:00 2001 From: fradamt Date: Wed, 31 Jan 2024 21:13:25 +0100 Subject: [PATCH] Replace gas_available with gas_used in the description of apply_body --- src/ethereum/arrow_glacier/fork.py | 4 ++-- src/ethereum/berlin/fork.py | 4 ++-- src/ethereum/byzantium/fork.py | 4 ++-- src/ethereum/constantinople/fork.py | 4 ++-- src/ethereum/dao_fork/fork.py | 4 ++-- src/ethereum/frontier/fork.py | 4 ++-- src/ethereum/gray_glacier/fork.py | 4 ++-- src/ethereum/homestead/fork.py | 4 ++-- src/ethereum/istanbul/fork.py | 4 ++-- src/ethereum/london/fork.py | 4 ++-- src/ethereum/muir_glacier/fork.py | 4 ++-- src/ethereum/paris/fork.py | 4 ++-- src/ethereum/shanghai/fork.py | 4 ++-- src/ethereum/spurious_dragon/fork.py | 4 ++-- src/ethereum/tangerine_whistle/fork.py | 4 ++-- 15 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/ethereum/arrow_glacier/fork.py b/src/ethereum/arrow_glacier/fork.py index 2654b115a0..69d9c26644 100644 --- a/src/ethereum/arrow_glacier/fork.py +++ b/src/ethereum/arrow_glacier/fork.py @@ -533,8 +533,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/berlin/fork.py b/src/ethereum/berlin/fork.py index 49459c0909..67db27261b 100644 --- a/src/ethereum/berlin/fork.py +++ b/src/ethereum/berlin/fork.py @@ -433,8 +433,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/byzantium/fork.py b/src/ethereum/byzantium/fork.py index 180c9db8a0..509abd94f8 100644 --- a/src/ethereum/byzantium/fork.py +++ b/src/ethereum/byzantium/fork.py @@ -424,8 +424,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/constantinople/fork.py b/src/ethereum/constantinople/fork.py index 36417f4aff..57a32ee557 100644 --- a/src/ethereum/constantinople/fork.py +++ b/src/ethereum/constantinople/fork.py @@ -424,8 +424,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/dao_fork/fork.py b/src/ethereum/dao_fork/fork.py index 33fa4f4bfa..ab1d772772 100644 --- a/src/ethereum/dao_fork/fork.py +++ b/src/ethereum/dao_fork/fork.py @@ -429,8 +429,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/frontier/fork.py b/src/ethereum/frontier/fork.py index b7bee8f4a1..34ecd15bf8 100644 --- a/src/ethereum/frontier/fork.py +++ b/src/ethereum/frontier/fork.py @@ -410,8 +410,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/gray_glacier/fork.py b/src/ethereum/gray_glacier/fork.py index 5b2a289ad2..101ffa5336 100644 --- a/src/ethereum/gray_glacier/fork.py +++ b/src/ethereum/gray_glacier/fork.py @@ -533,8 +533,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/homestead/fork.py b/src/ethereum/homestead/fork.py index a649390a71..a6297e2e4a 100644 --- a/src/ethereum/homestead/fork.py +++ b/src/ethereum/homestead/fork.py @@ -412,8 +412,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/istanbul/fork.py b/src/ethereum/istanbul/fork.py index ad413955d1..f8322a489e 100644 --- a/src/ethereum/istanbul/fork.py +++ b/src/ethereum/istanbul/fork.py @@ -424,8 +424,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/london/fork.py b/src/ethereum/london/fork.py index 9f640e0374..a3c429dede 100644 --- a/src/ethereum/london/fork.py +++ b/src/ethereum/london/fork.py @@ -541,8 +541,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/muir_glacier/fork.py b/src/ethereum/muir_glacier/fork.py index 94f1b2bda2..b29cb35bfe 100644 --- a/src/ethereum/muir_glacier/fork.py +++ b/src/ethereum/muir_glacier/fork.py @@ -424,8 +424,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/paris/fork.py b/src/ethereum/paris/fork.py index 31aa29e09b..aa844c7c5d 100644 --- a/src/ethereum/paris/fork.py +++ b/src/ethereum/paris/fork.py @@ -444,8 +444,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/shanghai/fork.py b/src/ethereum/shanghai/fork.py index 0e55cc86a9..bdae612d89 100644 --- a/src/ethereum/shanghai/fork.py +++ b/src/ethereum/shanghai/fork.py @@ -453,8 +453,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/spurious_dragon/fork.py b/src/ethereum/spurious_dragon/fork.py index 3be35f96f9..1e97ceccc7 100644 --- a/src/ethereum/spurious_dragon/fork.py +++ b/src/ethereum/spurious_dragon/fork.py @@ -420,8 +420,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root` diff --git a/src/ethereum/tangerine_whistle/fork.py b/src/ethereum/tangerine_whistle/fork.py index a649390a71..a6297e2e4a 100644 --- a/src/ethereum/tangerine_whistle/fork.py +++ b/src/ethereum/tangerine_whistle/fork.py @@ -412,8 +412,8 @@ def apply_body( Returns ------- - gas_available : `ethereum.base_types.Uint` - Remaining gas after all transactions have been executed. + gas_used : `ethereum.base_types.Uint` + Gas used for executing all transactions. transactions_root : `ethereum.fork_types.Root` Trie root of all the transactions in the block. receipt_root : `ethereum.fork_types.Root`