From 32992adebf6999ab5a3d06745d9fae9f25f64d9d Mon Sep 17 00:00:00 2001 From: trocher <43437004+trocher@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:15:36 +0100 Subject: [PATCH] rename last occurrences --- src/ethereum/arrow_glacier/vm/gas.py | 2 +- src/ethereum/berlin/vm/gas.py | 3 ++- src/ethereum/byzantium/vm/gas.py | 3 ++- src/ethereum/constantinople/vm/gas.py | 3 ++- src/ethereum/dao_fork/vm/gas.py | 3 ++- src/ethereum/frontier/vm/gas.py | 3 ++- src/ethereum/gray_glacier/vm/gas.py | 3 ++- src/ethereum/homestead/vm/gas.py | 3 ++- src/ethereum/istanbul/vm/gas.py | 3 ++- src/ethereum/london/vm/gas.py | 3 ++- src/ethereum/muir_glacier/vm/gas.py | 3 ++- src/ethereum/paris/vm/gas.py | 3 ++- src/ethereum/shanghai/vm/gas.py | 3 ++- src/ethereum/spurious_dragon/vm/gas.py | 3 ++- src/ethereum/tangerine_whistle/vm/gas.py | 6 +++--- 15 files changed, 30 insertions(+), 17 deletions(-) diff --git a/src/ethereum/arrow_glacier/vm/gas.py b/src/ethereum/arrow_glacier/vm/gas.py index 17df127aee..3e14c888f2 100644 --- a/src/ethereum/arrow_glacier/vm/gas.py +++ b/src/ethereum/arrow_glacier/vm/gas.py @@ -88,7 +88,7 @@ class MessageCallGas: The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/berlin/vm/gas.py b/src/ethereum/berlin/vm/gas.py index e61e146929..062ea0bab4 100644 --- a/src/ethereum/berlin/vm/gas.py +++ b/src/ethereum/berlin/vm/gas.py @@ -84,11 +84,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/byzantium/vm/gas.py b/src/ethereum/byzantium/vm/gas.py index a93c9605ab..f8fadde0e9 100644 --- a/src/ethereum/byzantium/vm/gas.py +++ b/src/ethereum/byzantium/vm/gas.py @@ -83,11 +83,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/constantinople/vm/gas.py b/src/ethereum/constantinople/vm/gas.py index 3c5a74c20c..ed8783d149 100644 --- a/src/ethereum/constantinople/vm/gas.py +++ b/src/ethereum/constantinople/vm/gas.py @@ -84,11 +84,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/dao_fork/vm/gas.py b/src/ethereum/dao_fork/vm/gas.py index fe30859727..737456b67d 100644 --- a/src/ethereum/dao_fork/vm/gas.py +++ b/src/ethereum/dao_fork/vm/gas.py @@ -82,11 +82,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/frontier/vm/gas.py b/src/ethereum/frontier/vm/gas.py index fe30859727..737456b67d 100644 --- a/src/ethereum/frontier/vm/gas.py +++ b/src/ethereum/frontier/vm/gas.py @@ -82,11 +82,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/gray_glacier/vm/gas.py b/src/ethereum/gray_glacier/vm/gas.py index cfb892db37..3e14c888f2 100644 --- a/src/ethereum/gray_glacier/vm/gas.py +++ b/src/ethereum/gray_glacier/vm/gas.py @@ -83,11 +83,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/homestead/vm/gas.py b/src/ethereum/homestead/vm/gas.py index fe30859727..737456b67d 100644 --- a/src/ethereum/homestead/vm/gas.py +++ b/src/ethereum/homestead/vm/gas.py @@ -82,11 +82,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/istanbul/vm/gas.py b/src/ethereum/istanbul/vm/gas.py index 41dc15834f..ec414eacb3 100644 --- a/src/ethereum/istanbul/vm/gas.py +++ b/src/ethereum/istanbul/vm/gas.py @@ -86,11 +86,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/london/vm/gas.py b/src/ethereum/london/vm/gas.py index cfb892db37..3e14c888f2 100644 --- a/src/ethereum/london/vm/gas.py +++ b/src/ethereum/london/vm/gas.py @@ -83,11 +83,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/muir_glacier/vm/gas.py b/src/ethereum/muir_glacier/vm/gas.py index 41dc15834f..ec414eacb3 100644 --- a/src/ethereum/muir_glacier/vm/gas.py +++ b/src/ethereum/muir_glacier/vm/gas.py @@ -86,11 +86,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/paris/vm/gas.py b/src/ethereum/paris/vm/gas.py index cfb892db37..3e14c888f2 100644 --- a/src/ethereum/paris/vm/gas.py +++ b/src/ethereum/paris/vm/gas.py @@ -83,11 +83,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/shanghai/vm/gas.py b/src/ethereum/shanghai/vm/gas.py index c4ece2c05e..98dd34dd78 100644 --- a/src/ethereum/shanghai/vm/gas.py +++ b/src/ethereum/shanghai/vm/gas.py @@ -84,11 +84,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/spurious_dragon/vm/gas.py b/src/ethereum/spurious_dragon/vm/gas.py index 5dc4fcabe1..a485302186 100644 --- a/src/ethereum/spurious_dragon/vm/gas.py +++ b/src/ethereum/spurious_dragon/vm/gas.py @@ -82,11 +82,12 @@ class MessageCallGas: """ Define the gas cost and gas given to the sub-call for executing the call opcodes. + `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable - if not consumed + if not consumed. """ cost: Uint diff --git a/src/ethereum/tangerine_whistle/vm/gas.py b/src/ethereum/tangerine_whistle/vm/gas.py index 04f345eace..cc4cfd7bcd 100644 --- a/src/ethereum/tangerine_whistle/vm/gas.py +++ b/src/ethereum/tangerine_whistle/vm/gas.py @@ -80,18 +80,18 @@ class ExtendMemory: @dataclass class MessageCallGas: """ - Define the gas cost and gas given to the sub-context for + Define the gas cost and gas given to the sub-call for executing the call opcodes. `cost`: `ethereum.base_types.Uint` The gas required to execute the call opcode. - `sub_context`: `ethereum.base_types.Uint` + `sub_call`: `ethereum.base_types.Uint` The portion of gas available to sub-calls that is refundable if not consumed. """ cost: Uint - sub_context: Uint + sub_call: Uint def charge_gas(evm: Evm, amount: Uint) -> None: