Skip to content

Commit

Permalink
Log params for safe address prediction
Browse files Browse the repository at this point in the history
  • Loading branch information
adzialocha committed May 5, 2021
1 parent a8e16ba commit 61870cc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions safe_relay_service/relay/services/safe_creation_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,19 @@ def predict_address(self, salt_nonce: int, owners: Iterable[str], threshold: int
gas_price: int = self._get_configured_gas_price()
current_block_number = self.ethereum_client.current_block_number

logger.info('Safe.build_safe_create2_tx params: %s %s %s %s %s %s %s %s %s %s %s',
self.safe_contract_address,
self.proxy_factory.address,
salt_nonce,
owners,
threshold,
gas_price,
payment_token,
self.funder_account.address,
self.default_callback_handler,
payment_token_eth_value,
self.safe_fixed_creation_cost)

safe_creation_tx = Safe.build_safe_create2_tx(self.ethereum_client,
self.safe_contract_address,
self.proxy_factory.address,
Expand Down

0 comments on commit 61870cc

Please sign in to comment.