Skip to content

Commit

Permalink
fix: replace lifuel protocol with gasZip (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
melianessa authored Feb 4, 2025
1 parent e7ba61a commit 8b4bdf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/widget/src/components/StepActions/StepActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export const ProtocolStepDetailsLabel: React.FC<
? feeConfig?.name
? t('main.fees.integrator', { tool: feeConfig.name })
: t('main.fees.defaultIntegrator')
: step.toolDetails.key === 'lifuelProtocol'
: step.toolDetails.key === 'gasZip'
? t('main.refuelStepDetails', {
tool: step.toolDetails.name,
})
Expand Down
2 changes: 1 addition & 1 deletion packages/widget/src/hooks/useGasSufficiency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const useGasSufficiency = (route?: RouteExtended) => {
// We assume that LI.Fuel protocol always refuels the destination chain
const hasRefuelStep = route.steps
.flatMap((step) => step.includedSteps)
.some((includedStep) => includedStep.tool === 'lifuelProtocol')
.some((includedStep) => includedStep.tool === 'gasZip')

const gasCosts = route.steps
.filter((step) => !step.execution || step.execution.status !== 'DONE')
Expand Down

0 comments on commit 8b4bdf2

Please sign in to comment.