Skip to content

Commit

Permalink
Increase gas
Browse files Browse the repository at this point in the history
  • Loading branch information
llunaCreixent committed Nov 4, 2024
1 parent b85b7b4 commit c97ed2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion safe_relay_service/relay/services/safe_creation_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,13 +361,14 @@ def deploy_create2_safe_tx(self, safe_address: str) -> SafeCreation2:
self.funder_account.address,
lock_timeout=60 * 2,
) as tx_nonce:
logger.error(f"Gas price: ***** {safe_creation2.gas_price_estimated + 10000000000}")
ethereum_tx_sent = proxy_factory.deploy_proxy_contract_with_nonce(
self.funder_account,
safe_creation2.master_copy,
setup_data,
safe_creation2.salt_nonce,
gas=safe_creation2.gas_estimated + 50000, # Just in case
gas_price=safe_creation2.gas_price_estimated + 1000000000,
gas_price=safe_creation2.gas_price_estimated + 10000000000,
nonce=tx_nonce,
)
EthereumTx.objects.create_from_tx_dict(
Expand Down
4 changes: 2 additions & 2 deletions safe_relay_service/relay/services/transaction_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def estimate_circles_signup_tx(
"""
# Tx data from Circles Hub contract `signup` method
data = "0xb7bc0f73"
return 50000000000000000
return 500000000000000000

def estimate_circles_organization_signup_tx(
self, safe_address: str, gas_token: str = NULL_ADDRESS
Expand All @@ -410,7 +410,7 @@ def estimate_circles_organization_signup_tx(
"""
# Tx data from Circles Hub contract organizationSignup method
data = "0x3fbd653c"
return 50000000000000000
return 500000000000000000
# return self.estimate_circles_hub_method(data, safe_address, gas_token)

def create_multisig_tx(
Expand Down

0 comments on commit c97ed2a

Please sign in to comment.