remove console logs

This commit is contained in:
derpy-duck 2023-06-09 21:46:06 +00:00
parent e5b5fbfc71
commit 07558de31c
2 changed files with 0 additions and 5 deletions

View File

@ -8,7 +8,6 @@ import "../../interfaces/relayer/IDeliveryProviderTyped.sol";
import "../../interfaces/relayer/TypedUnits.sol";
import "../../libraries/relayer/ExecutionParameters.sol";
import {IWormhole} from "../../interfaces/IWormhole.sol";
import "forge-std/console.sol";
contract DeliveryProvider is DeliveryProviderGovernance, IDeliveryProvider {
using WeiLib for Wei;
@ -38,8 +37,6 @@ contract DeliveryProvider is DeliveryProviderGovernance, IDeliveryProvider {
LocalNative costIfFullGasLimitUsed = quoteGasCost(targetChain, gasLimit);
LocalNative receiverValueCost = quoteAssetCost(targetChain, receiverValue);
nativePriceQuote = quoteDeliveryOverhead(targetChain) + costIfFullGasLimitUsed + receiverValueCost;
console.log(costIfNoGasLimitUsed.unwrap());
console.log(costIfFullGasLimitUsed.unwrap());
require(costIfNoGasLimitUsed.unwrap() <= costIfFullGasLimitUsed.unwrap(), "target chain refund per gas unused is too high");
require(targetCostIfNoGasLimitUsed.unwrap() <= targetCostIfFullGasLimitUsed.unwrap(), "target chain refund per gas unused is too high");
require(

View File

@ -308,8 +308,6 @@ contract TestDeliveryProvider is Test {
uint256(dstNativeCurrencyPrice) * (uint256(dstGasPrice) * gasOverhead) + (srcNativeCurrencyPrice - 1)
) / srcNativeCurrencyPrice;
console.log(expectedOverhead);
LocalNative deliveryOverhead = deliveryProvider.quoteDeliveryOverhead(dstChainId);
require(expectedOverhead == LocalNative.unwrap(deliveryOverhead), "deliveryProvider overhead quote is not what is expected");