Add logging

This commit is contained in:
Karl Kempe 2022-01-28 17:31:15 +00:00
parent c7a4e87b03
commit 416a5ac951
1 changed files with 10 additions and 0 deletions

View File

@ -32,8 +32,18 @@ export async function getEvmGasParametersForContract(
console.info(`getEvmGasParametersForContract... chainId: ${chainId}`);
if (EVM_EIP1559_CHAIN_IDS.indexOf(chainId)) {
console.info(
`eip1559? chainId: ${chainId}, eip1559 chains... ${JSON.stringify(
EVM_EIP1559_CHAIN_IDS
)}`
);
return CROSSCHAINSWAP_GAS_PARAMETERS_EIP1559;
}
console.info(
`not eip1559 chainId: ${chainId}, eip1559 chains... ${JSON.stringify(
EVM_EIP1559_CHAIN_IDS
)}`
);
return CROSSCHAINSWAP_GAS_PARAMETERS_EVM;
}