diff --git a/src/ethereum/arrow_glacier/fork.py b/src/ethereum/arrow_glacier/fork.py index 2be5a8e75a..9b329980a5 100644 --- a/src/ethereum/arrow_glacier/fork.py +++ b/src/ethereum/arrow_glacier/fork.py @@ -705,8 +705,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/arrow_glacier/state.py b/src/ethereum/arrow_glacier/state.py index 23d74a1e3c..cb3affea1e 100644 --- a/src/ethereum/arrow_glacier/state.py +++ b/src/ethereum/arrow_glacier/state.py @@ -96,7 +96,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -445,7 +445,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/arrow_glacier/vm/interpreter.py b/src/ethereum/arrow_glacier/vm/interpreter.py index 6d823b468a..ae2d91c853 100644 --- a/src/ethereum/arrow_glacier/vm/interpreter.py +++ b/src/ethereum/arrow_glacier/vm/interpreter.py @@ -91,7 +91,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/berlin/fork.py b/src/ethereum/berlin/fork.py index d935b3e9c6..efc27b674d 100644 --- a/src/ethereum/berlin/fork.py +++ b/src/ethereum/berlin/fork.py @@ -598,8 +598,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/berlin/state.py b/src/ethereum/berlin/state.py index 23d74a1e3c..cb3affea1e 100644 --- a/src/ethereum/berlin/state.py +++ b/src/ethereum/berlin/state.py @@ -96,7 +96,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -445,7 +445,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/berlin/vm/interpreter.py b/src/ethereum/berlin/vm/interpreter.py index a4f456f222..bc90e7b8b5 100644 --- a/src/ethereum/berlin/vm/interpreter.py +++ b/src/ethereum/berlin/vm/interpreter.py @@ -90,7 +90,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/byzantium/fork.py b/src/ethereum/byzantium/fork.py index 7f05ffb8a5..9ca03f8001 100644 --- a/src/ethereum/byzantium/fork.py +++ b/src/ethereum/byzantium/fork.py @@ -590,8 +590,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/byzantium/state.py b/src/ethereum/byzantium/state.py index 49c86fcc3d..fdc277e190 100644 --- a/src/ethereum/byzantium/state.py +++ b/src/ethereum/byzantium/state.py @@ -92,7 +92,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -419,7 +419,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/byzantium/vm/interpreter.py b/src/ethereum/byzantium/vm/interpreter.py index b365c87b37..b0aeb39ce6 100644 --- a/src/ethereum/byzantium/vm/interpreter.py +++ b/src/ethereum/byzantium/vm/interpreter.py @@ -89,7 +89,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/cancun/fork.py b/src/ethereum/cancun/fork.py index 56b53b7ebf..afb33c3b3c 100644 --- a/src/ethereum/cancun/fork.py +++ b/src/ethereum/cancun/fork.py @@ -677,8 +677,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/cancun/state.py b/src/ethereum/cancun/state.py index 9378584196..508d240a74 100644 --- a/src/ethereum/cancun/state.py +++ b/src/ethereum/cancun/state.py @@ -125,7 +125,7 @@ def rollback_transaction( ) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -478,7 +478,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/cancun/vm/interpreter.py b/src/ethereum/cancun/vm/interpreter.py index f6e7c98b73..17cb0ff3e0 100644 --- a/src/ethereum/cancun/vm/interpreter.py +++ b/src/ethereum/cancun/vm/interpreter.py @@ -88,7 +88,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/constantinople/fork.py b/src/ethereum/constantinople/fork.py index a0294f05d9..33801399b4 100644 --- a/src/ethereum/constantinople/fork.py +++ b/src/ethereum/constantinople/fork.py @@ -590,8 +590,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/constantinople/state.py b/src/ethereum/constantinople/state.py index 49c86fcc3d..fdc277e190 100644 --- a/src/ethereum/constantinople/state.py +++ b/src/ethereum/constantinople/state.py @@ -92,7 +92,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -419,7 +419,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/constantinople/vm/interpreter.py b/src/ethereum/constantinople/vm/interpreter.py index 0cb23252de..3a71aa5851 100644 --- a/src/ethereum/constantinople/vm/interpreter.py +++ b/src/ethereum/constantinople/vm/interpreter.py @@ -89,7 +89,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/dao_fork/fork.py b/src/ethereum/dao_fork/fork.py index f1dcf2e110..1bd18aa5e3 100644 --- a/src/ethereum/dao_fork/fork.py +++ b/src/ethereum/dao_fork/fork.py @@ -602,8 +602,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/dao_fork/state.py b/src/ethereum/dao_fork/state.py index 8f9543b98d..bccf366453 100644 --- a/src/ethereum/dao_fork/state.py +++ b/src/ethereum/dao_fork/state.py @@ -92,7 +92,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- diff --git a/src/ethereum/dao_fork/vm/interpreter.py b/src/ethereum/dao_fork/vm/interpreter.py index b994989b31..e38267a853 100644 --- a/src/ethereum/dao_fork/vm/interpreter.py +++ b/src/ethereum/dao_fork/vm/interpreter.py @@ -82,7 +82,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/frontier/fork.py b/src/ethereum/frontier/fork.py index 7d4eccc9cf..3a12802b60 100644 --- a/src/ethereum/frontier/fork.py +++ b/src/ethereum/frontier/fork.py @@ -585,8 +585,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/frontier/state.py b/src/ethereum/frontier/state.py index 8f9543b98d..bccf366453 100644 --- a/src/ethereum/frontier/state.py +++ b/src/ethereum/frontier/state.py @@ -92,7 +92,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- diff --git a/src/ethereum/frontier/vm/interpreter.py b/src/ethereum/frontier/vm/interpreter.py index 5f3868674f..d1ad968156 100644 --- a/src/ethereum/frontier/vm/interpreter.py +++ b/src/ethereum/frontier/vm/interpreter.py @@ -82,7 +82,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/gray_glacier/fork.py b/src/ethereum/gray_glacier/fork.py index 5fb1972de4..ac810f4df3 100644 --- a/src/ethereum/gray_glacier/fork.py +++ b/src/ethereum/gray_glacier/fork.py @@ -705,8 +705,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/gray_glacier/state.py b/src/ethereum/gray_glacier/state.py index 23d74a1e3c..cb3affea1e 100644 --- a/src/ethereum/gray_glacier/state.py +++ b/src/ethereum/gray_glacier/state.py @@ -96,7 +96,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -445,7 +445,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/gray_glacier/vm/interpreter.py b/src/ethereum/gray_glacier/vm/interpreter.py index b70f757917..aad5b26d99 100644 --- a/src/ethereum/gray_glacier/vm/interpreter.py +++ b/src/ethereum/gray_glacier/vm/interpreter.py @@ -91,7 +91,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/homestead/fork.py b/src/ethereum/homestead/fork.py index 0f7e3f2441..5215a1545e 100644 --- a/src/ethereum/homestead/fork.py +++ b/src/ethereum/homestead/fork.py @@ -585,8 +585,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/homestead/state.py b/src/ethereum/homestead/state.py index 8f9543b98d..bccf366453 100644 --- a/src/ethereum/homestead/state.py +++ b/src/ethereum/homestead/state.py @@ -92,7 +92,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- diff --git a/src/ethereum/homestead/vm/interpreter.py b/src/ethereum/homestead/vm/interpreter.py index eb3d6ec243..1c921ce494 100644 --- a/src/ethereum/homestead/vm/interpreter.py +++ b/src/ethereum/homestead/vm/interpreter.py @@ -82,7 +82,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/istanbul/fork.py b/src/ethereum/istanbul/fork.py index a0294f05d9..33801399b4 100644 --- a/src/ethereum/istanbul/fork.py +++ b/src/ethereum/istanbul/fork.py @@ -590,8 +590,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/istanbul/state.py b/src/ethereum/istanbul/state.py index 23d74a1e3c..cb3affea1e 100644 --- a/src/ethereum/istanbul/state.py +++ b/src/ethereum/istanbul/state.py @@ -96,7 +96,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -445,7 +445,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/istanbul/vm/interpreter.py b/src/ethereum/istanbul/vm/interpreter.py index e8dc91bcac..02d8ea8df5 100644 --- a/src/ethereum/istanbul/vm/interpreter.py +++ b/src/ethereum/istanbul/vm/interpreter.py @@ -90,7 +90,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/london/fork.py b/src/ethereum/london/fork.py index 52273e3823..538beec65f 100644 --- a/src/ethereum/london/fork.py +++ b/src/ethereum/london/fork.py @@ -711,8 +711,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/london/state.py b/src/ethereum/london/state.py index 23d74a1e3c..cb3affea1e 100644 --- a/src/ethereum/london/state.py +++ b/src/ethereum/london/state.py @@ -96,7 +96,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -445,7 +445,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/london/vm/interpreter.py b/src/ethereum/london/vm/interpreter.py index a976f4b6dc..ab2819d644 100644 --- a/src/ethereum/london/vm/interpreter.py +++ b/src/ethereum/london/vm/interpreter.py @@ -91,7 +91,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/muir_glacier/fork.py b/src/ethereum/muir_glacier/fork.py index 50ebf84ea5..aac91b2013 100644 --- a/src/ethereum/muir_glacier/fork.py +++ b/src/ethereum/muir_glacier/fork.py @@ -592,8 +592,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/muir_glacier/state.py b/src/ethereum/muir_glacier/state.py index 23d74a1e3c..cb3affea1e 100644 --- a/src/ethereum/muir_glacier/state.py +++ b/src/ethereum/muir_glacier/state.py @@ -96,7 +96,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -445,7 +445,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/muir_glacier/vm/interpreter.py b/src/ethereum/muir_glacier/vm/interpreter.py index 76ec41b435..6564c46597 100644 --- a/src/ethereum/muir_glacier/vm/interpreter.py +++ b/src/ethereum/muir_glacier/vm/interpreter.py @@ -90,7 +90,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/paris/fork.py b/src/ethereum/paris/fork.py index 2651441b9b..d7af142c01 100644 --- a/src/ethereum/paris/fork.py +++ b/src/ethereum/paris/fork.py @@ -483,8 +483,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/paris/state.py b/src/ethereum/paris/state.py index dc8422f03c..f1cd1d0191 100644 --- a/src/ethereum/paris/state.py +++ b/src/ethereum/paris/state.py @@ -96,7 +96,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -445,7 +445,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/paris/vm/interpreter.py b/src/ethereum/paris/vm/interpreter.py index 66e9b2363d..603da73f21 100644 --- a/src/ethereum/paris/vm/interpreter.py +++ b/src/ethereum/paris/vm/interpreter.py @@ -87,7 +87,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/prague/fork.py b/src/ethereum/prague/fork.py index 815926feb1..9938e9324a 100644 --- a/src/ethereum/prague/fork.py +++ b/src/ethereum/prague/fork.py @@ -819,8 +819,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/prague/state.py b/src/ethereum/prague/state.py index 9378584196..508d240a74 100644 --- a/src/ethereum/prague/state.py +++ b/src/ethereum/prague/state.py @@ -125,7 +125,7 @@ def rollback_transaction( ) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -478,7 +478,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/prague/vm/interpreter.py b/src/ethereum/prague/vm/interpreter.py index 5a2c6573c2..9d5aa31394 100644 --- a/src/ethereum/prague/vm/interpreter.py +++ b/src/ethereum/prague/vm/interpreter.py @@ -92,7 +92,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/shanghai/fork.py b/src/ethereum/shanghai/fork.py index e854502873..f2b610efa1 100644 --- a/src/ethereum/shanghai/fork.py +++ b/src/ethereum/shanghai/fork.py @@ -495,8 +495,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/shanghai/state.py b/src/ethereum/shanghai/state.py index dc8422f03c..f1cd1d0191 100644 --- a/src/ethereum/shanghai/state.py +++ b/src/ethereum/shanghai/state.py @@ -96,7 +96,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -445,7 +445,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/shanghai/vm/interpreter.py b/src/ethereum/shanghai/vm/interpreter.py index f962e6d1a1..9389585319 100644 --- a/src/ethereum/shanghai/vm/interpreter.py +++ b/src/ethereum/shanghai/vm/interpreter.py @@ -88,7 +88,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/spurious_dragon/fork.py b/src/ethereum/spurious_dragon/fork.py index d58f75a422..90c28c74bc 100644 --- a/src/ethereum/spurious_dragon/fork.py +++ b/src/ethereum/spurious_dragon/fork.py @@ -586,8 +586,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/spurious_dragon/state.py b/src/ethereum/spurious_dragon/state.py index 49c86fcc3d..fdc277e190 100644 --- a/src/ethereum/spurious_dragon/state.py +++ b/src/ethereum/spurious_dragon/state.py @@ -92,7 +92,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- @@ -419,7 +419,7 @@ def account_exists_and_is_empty(state: State, address: Address) -> bool: def is_account_alive(state: State, address: Address) -> bool: """ - Check whether is an account is both in the state and non empty. + Check whether an account is both in the state and non-empty. Parameters ---------- diff --git a/src/ethereum/spurious_dragon/vm/interpreter.py b/src/ethereum/spurious_dragon/vm/interpreter.py index 9562368164..edf9c7d7ac 100644 --- a/src/ethereum/spurious_dragon/vm/interpreter.py +++ b/src/ethereum/spurious_dragon/vm/interpreter.py @@ -88,7 +88,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters diff --git a/src/ethereum/tangerine_whistle/fork.py b/src/ethereum/tangerine_whistle/fork.py index a597c0e3d1..3fc0f7e273 100644 --- a/src/ethereum/tangerine_whistle/fork.py +++ b/src/ethereum/tangerine_whistle/fork.py @@ -584,8 +584,8 @@ def process_transaction( Execute a transaction against the provided environment. This function processes the actions needed to execute a transaction. - It decrements the sender's account after calculating the gas fee and - refunds them the proper amount after execution. Calling contracts, + It decrements the sender's account balance after calculating the gas fee + and refunds them the proper amount after execution. Calling contracts, deploying code, and incrementing nonces are all examples of actions that happen within this function or from a call made within this function. diff --git a/src/ethereum/tangerine_whistle/state.py b/src/ethereum/tangerine_whistle/state.py index 8f9543b98d..bccf366453 100644 --- a/src/ethereum/tangerine_whistle/state.py +++ b/src/ethereum/tangerine_whistle/state.py @@ -92,7 +92,7 @@ def commit_transaction(state: State) -> None: def rollback_transaction(state: State) -> None: """ Rollback a state transaction, resetting the state to the point when the - corresponding `start_transaction()` call was made. + corresponding `begin_transaction()` call was made. Parameters ---------- diff --git a/src/ethereum/tangerine_whistle/vm/interpreter.py b/src/ethereum/tangerine_whistle/vm/interpreter.py index b063fb0614..c7413676ba 100644 --- a/src/ethereum/tangerine_whistle/vm/interpreter.py +++ b/src/ethereum/tangerine_whistle/vm/interpreter.py @@ -82,7 +82,7 @@ class MessageCallOutput: def process_message_call(message: Message) -> MessageCallOutput: """ - If `message.current` is empty then it creates a smart contract + If `message.target` is empty then it creates a smart contract else it executes a call from the `message.caller` to the `message.target`. Parameters