From 39e18612df76980d32b7d7f67d3fe6c275400b7e Mon Sep 17 00:00:00 2001 From: nicholaspai Date: Thu, 19 Dec 2024 10:49:20 -0500 Subject: [PATCH] improve: Remove unused gasMarkup parameter Based on SDK changes in https://github.com/across-protocol/sdk/pull/801 --- src/clients/ProfitClient.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/clients/ProfitClient.ts b/src/clients/ProfitClient.ts index af085aad9..c3377acd4 100644 --- a/src/clients/ProfitClient.ts +++ b/src/clients/ProfitClient.ts @@ -660,8 +660,6 @@ export class ProfitClient { // Fallback to Coingecko's free API for now. // TODO: Add support for Coingecko Pro. const coingeckoProApiKey = undefined; - // TODO: Set this once we figure out gas markup on the API side. - const gasMarkup = 0; // Call the factory to create a new QueryBase instance. return relayFeeCalculator.QueryBase__factory.create( chainId, @@ -670,8 +668,7 @@ export class ProfitClient { undefined, // spokePoolAddress undefined, // simulatedRelayerAddress coingeckoProApiKey, - this.logger, - gasMarkup + this.logger ); } }