Skip to content

Commit

Permalink
Remove gas increment
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Sep 4, 2023
1 parent 9deb54c commit adb7c3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions gnosis/eth/contract_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def deploy_contract_with_deploy_function(
gas: Optional[int] = None,
gas_price: Optional[int] = None,
nonce: Optional[int] = None,
gas_increment: Optional[int] = None,
):

tx_parameters = ContractCommon.configure_tx_parameters(
Expand All @@ -56,9 +55,6 @@ def deploy_contract_with_deploy_function(
contract_address = deploy_function.call(tx_parameters)

tx = deploy_function.build_transaction(tx_parameters)
# Adjust gas
if gas_increment:
tx["gas"] = tx["gas"] + gas_increment

tx_hash = ethereum_client.send_unsigned_transaction(
tx, private_key=deployer_account.key
Expand Down
1 change: 0 additions & 1 deletion gnosis/safe/proxy_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def deploy_proxy_contract_with_nonce(
gas,
gas_price,
nonce,
gas_increment=50000,
)

@cache
Expand Down

0 comments on commit adb7c3b

Please sign in to comment.