Skip to content

Commit

Permalink
Update src/ethereum_test_forks/base_fork.py
Browse files Browse the repository at this point in the history
Co-authored-by: Stuart Reed <[email protected]>
  • Loading branch information
marioevz and reedsa authored Dec 17, 2024
1 parent c6ae49e commit 3f6f6e2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/ethereum_test_forks/base_fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ def __call__(
"""
Returns the intrinsic gas cost of a transaction given its properties.
The `calldata` parameter is the data of the transaction.
The `contract_creation` parameter is whether the transaction creates a contract.
The `access_list` parameter is the list of access lists for the transaction.
The `authorization_list_or_count` parameter is the list of authorizations or the count of
authorizations for the transaction.
If `return_cost_deducted_prior_execution` parameter if set to False, the returned value
is equal to the minimum gas required for the transaction to be valid. If set to True, the
returned value is equal to the cost that is deducted from the gas limit before the
transaction starts execution.
Args:
calldata: The data of the transaction.
contract_creation: Whether the transaction creates a contract.
access_list: The list of access lists for the transaction.
authorization_list_or_count: The list of authorizations or the count of authorizations for the transaction.
return_cost_deducted_prior_execution: If set to False, the returned value is equal to the minimum gas required for the transaction to be valid. If set to True, the returned value is equal to the cost that is deducted from the gas limit before the transaction starts execution.
Returns:
Gas cost of a transaction
"""
pass

Expand Down

0 comments on commit 3f6f6e2

Please sign in to comment.