From c97ed2ad7820681965ee6e7fd358504d78507b77 Mon Sep 17 00:00:00 2001 From: llunaCreixent Date: Mon, 4 Nov 2024 23:13:56 +0100 Subject: [PATCH] Increase gas --- safe_relay_service/relay/services/safe_creation_service.py | 3 ++- safe_relay_service/relay/services/transaction_service.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/safe_relay_service/relay/services/safe_creation_service.py b/safe_relay_service/relay/services/safe_creation_service.py index e9895d4f..5d3edf0b 100644 --- a/safe_relay_service/relay/services/safe_creation_service.py +++ b/safe_relay_service/relay/services/safe_creation_service.py @@ -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( diff --git a/safe_relay_service/relay/services/transaction_service.py b/safe_relay_service/relay/services/transaction_service.py index fb9cdd90..4a0f6b68 100644 --- a/safe_relay_service/relay/services/transaction_service.py +++ b/safe_relay_service/relay/services/transaction_service.py @@ -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 @@ -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(