Skip to content

Commit

Permalink
Log who we whitelist with allowReceiver
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Mar 20, 2024
1 parent a5810cb commit 5b776f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eth_defi/enzyme/generic_adapter_vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ def deploy_vault_with_generic_adapter(
# we set the vault address itself as asset manager for the guard
tx_hash = guard.functions.allowSender(vault.address, "").transact({"from": deployer.address})
assert_transaction_success_with_explanation(web3, tx_hash)

logger.info("GenericAdapter %s whitelisted as receiver", generic_adapter.address)
else:
# Production deployment foobar - add this warning message for now until figuring
# out why allowReceiver() failed
Expand Down

0 comments on commit 5b776f7

Please sign in to comment.