Skip to content

Commit 1a2722a

Browse files
committed
fix(tools): Fix wrapper name and docs
1 parent 9c3e2e7 commit 1a2722a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/ethereum_test_tools/utility/generators.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ def generate_system_contract_deploy_test(
6161
Providing a JSON file is useful to copy-paste the transaction from the EIP.
6262
expected_deploy_address (Address): The expected address of the deployed contract.
6363
expected_system_contract_storage (Dict): The expected storage of the system contract.
64-
test_transaction_data (bytes): Data included in the transaction to test the system
65-
contract deployment.
66-
Will be executed at the fork block if the deployment is before the fork, or at the
67-
next block if the deployment is after the fork.
68-
test_transaction_value (int): Value included in the transaction to test the system
69-
contract.
70-
test_transaction_block_header_verify (Header): The block header fields to verify on the
71-
block that includes the test transaction.
7264
"""
7365
DeploymentTestType = Enum(
7466
"DeploymentTestType",
@@ -181,6 +173,9 @@ def wrapper(
181173
post=post,
182174
)
183175

176+
wrapper.__name__ = func.__name__ # type: ignore
177+
wrapper.__doc__ = func.__doc__ # type: ignore
178+
184179
return wrapper
185180

186181
return decorator

0 commit comments

Comments
 (0)