Skip to content

Commit

Permalink
Add token check step to whitelist for guard
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jul 22, 2024
1 parent b4ef34d commit f979377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth_defi/enzyme/generic_adapter_vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def deploy_vault_with_generic_adapter(

# Check token address is valie
token = fetch_erc20_details(web3, asset.address)
logger.info("Decimals of %s is %d", token.symbol, token.decimals)
logger.info("Decimals of %s is %s", token.symbol, token.decimals)

tx_hash = guard.functions.whitelistToken(asset.address, f"Whitelisting {asset.symbol}").transact({"from": deployer.address})
assert_transaction_success_with_explanation(web3, tx_hash)
Expand Down

0 comments on commit f979377

Please sign in to comment.