Skip to content

Commit

Permalink
Increase gas in funding txs (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
llunaCreixent authored Apr 25, 2022
1 parent 7238d0e commit 1ae9ac6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions safe_relay_service/relay/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ def fund_deployer_task(self, safe_address: str, retry: bool = True) -> None:
safe_address, safe_creation.wei_deploy_cost(), deployer_address)
tx_hash = FundingServiceProvider().send_eth_to(deployer_address,
safe_creation.wei_deploy_cost(),
retry=True)
retry=True,
gas=30000)
if tx_hash:
tx_hash = tx_hash.hex()
logger.info('Safe=%s. Transferred deployment-cost=%d to deployer=%s with tx-hash=%s',
Expand Down Expand Up @@ -499,7 +500,7 @@ def circles_onboarding_safe_task(self, safe_address: str) -> None:

FundingServiceProvider().send_eth_to(safe_address,
payment,
gas=24000)
gas=30000)
# Retry later to check for enough funding and successful deployment
raise self.retry(countdown=30)
else:
Expand Down Expand Up @@ -570,7 +571,7 @@ def circles_onboarding_organization_safe_task(safe_address: str, owner_address:
safe_deploy_cost = safe_creation.wei_estimated_deploy_cost()
FundingServiceProvider().send_eth_to(safe_address,
safe_deploy_cost,
gas=24000)
gas=30000)
else:
logger.info('Owner {} does not have a deployed safe'.format(owner_address))
except LockError:
Expand Down

0 comments on commit 1ae9ac6

Please sign in to comment.