Remove logging

This commit is contained in:
Karl Kempe 2022-01-28 17:43:04 +00:00
parent 59c3a8965c
commit f9870b03de
1 changed files with 1 additions and 17 deletions

View File

@ -29,21 +29,11 @@ export async function getEvmGasParametersForContract(
contract: ethers.Contract
): Promise<any> {
const chainId = await getChainIdFromContract(contract);
console.info(`getEvmGasParametersForContract... chainId: ${chainId}`);
if (EVM_EIP1559_CHAIN_IDS.indexOf(chainId) >= 0) {
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;
}
@ -64,12 +54,6 @@ export async function evmSwapExactInFromVaaNative(
swapContractWithSigner
);
console.info(
`evmSwapExactInFromVaaNative... contract: ${
swapContractWithSigner.address
}, gasParams: ${JSON.stringify(gasParams)}`
);
const tx = await swapContractWithSigner.recvAndSwapExactNativeIn(
signedVaa,
gasParams