Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Uxío <[email protected]>
  • Loading branch information
moisses89 and Uxio0 committed Sep 4, 2023
1 parent 2811ded commit 9deb54c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gnosis/eth/contract_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def deploy_contract(
ethereum_client: EthereumClient,
deployer_account: LocalAccount,
contract: Contract,
):
) -> EthereumTxSent:
tx = contract.constructor().build_transaction(
{"from": deployer_account.address}
)
Expand Down
2 changes: 0 additions & 2 deletions gnosis/safe/proxy_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def deploy_proxy_contract(
master_copy, initializer
)

# Auto estimation of gas does not work. We use a little more gas just in case (gas_increment)
return self.deploy_contract_with_deploy_function(
self.ethereum_client, deployer_account, create_proxy_fn, gas, gas_price
)
Expand Down Expand Up @@ -103,7 +102,6 @@ def deploy_proxy_contract_with_nonce(
master_copy, initializer, salt_nonce
)

# Auto estimation of gas does not work. We use a little more gas just in case (gas_increment)
return self.deploy_contract_with_deploy_function(
self.ethereum_client,
deployer_account,
Expand Down
2 changes: 1 addition & 1 deletion gnosis/safe/safe.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class SafeInfo:

class SafeCommon(ContractCommon):
"""
Class to manage a Safe
Collection of methods and utilies to handle a Safe
"""

# keccak256("fallback_manager.handler.address")
Expand Down

0 comments on commit 9deb54c

Please sign in to comment.