From f97937708f20c92efe3f3c9b143bd4befebf5606 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Mon, 22 Jul 2024 17:32:11 +0900 Subject: [PATCH] Add token check step to whitelist for guard --- eth_defi/enzyme/generic_adapter_vault.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth_defi/enzyme/generic_adapter_vault.py b/eth_defi/enzyme/generic_adapter_vault.py index fb37a8f5..22143365 100644 --- a/eth_defi/enzyme/generic_adapter_vault.py +++ b/eth_defi/enzyme/generic_adapter_vault.py @@ -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)