Skip to content

Commit

Permalink
improve: Remove unused gasMarkup parameter (#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai authored Dec 20, 2024
1 parent 2777841 commit e9ad355
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/clients/ProfitClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -670,8 +668,7 @@ export class ProfitClient {
undefined, // spokePoolAddress
undefined, // simulatedRelayerAddress
coingeckoProApiKey,
this.logger,
gasMarkup
this.logger
);
}
}

0 comments on commit e9ad355

Please sign in to comment.