Skip to content

Commit

Permalink
Replace gas_available with gas_used in the description of apply_body
Browse files Browse the repository at this point in the history
  • Loading branch information
fradamt committed Jan 31, 2024
1 parent 1fed0c0 commit f60cfb2
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions src/ethereum/arrow_glacier/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/berlin/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/byzantium/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/constantinople/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/dao_fork/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/frontier/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/gray_glacier/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/homestead/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/istanbul/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/london/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/muir_glacier/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/paris/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/shanghai/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/spurious_dragon/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions src/ethereum/tangerine_whistle/fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit f60cfb2

Please sign in to comment.