Remove logging
This commit is contained in:
parent
59c3a8965c
commit
f9870b03de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue