diff --git a/store/zksync/withdrawals.ts b/store/zksync/withdrawals.ts index 4f8f9638f..397aa923b 100644 --- a/store/zksync/withdrawals.ts +++ b/store/zksync/withdrawals.ts @@ -33,7 +33,7 @@ export const useZkSyncWithdrawalsStore = defineStore("zkSyncWithdrawals", () => providerStore.requestProvider().getTransactionDetails(withdrawal.transactionHash!) ); - const withdrawalFinalizationAvailable = transactionDetails.status === "verified"; + const withdrawalFinalizationAvailable = !!transactionDetails.ethExecuteTxHash; const isFinalized = withdrawalFinalizationAvailable ? await useZkSyncWalletStore() .getL1VoidSigner(true) diff --git a/views/transactions/WithdrawalSubmitted.vue b/views/transactions/WithdrawalSubmitted.vue index 1fafd9723..c3b0ccabe 100644 --- a/views/transactions/WithdrawalSubmitted.vue +++ b/views/transactions/WithdrawalSubmitted.vue @@ -29,6 +29,9 @@ >
You can claim your withdrawal now.
+This withdrawal was made through a third-party bridge. Please use that bridge to claim your withdrawal.
+You will have to claim your withdrawal once it's processed. Claiming will require paying the fee on the @@ -51,7 +54,7 @@ :failed="transaction.info.failed" :animation-state="withdrawalFinalizationAvailable ? 'stopped-in-the-end' : undefined" :expected-complete-timestamp=" - withdrawalFinalizationAvailable ? undefined : transaction.info.expectedCompleteTimestamp + withdrawalFinalizationAvailable || isCustomBridgeToken ? undefined : transaction.info.expectedCompleteTimestamp " > @@ -167,6 +170,7 @@ const { eraNetwork, blockExplorerUrl } = storeToRefs(useZkSyncProviderStore()); const { l1BlockExplorerUrl } = storeToRefs(useNetworkStore()); const { connectorName, isCorrectNetworkSet } = storeToRefs(onboardStore); +const isCustomBridgeToken = computed(() => !props.transaction.token.l1Address); const withdrawalManualFinalizationRequired = computed(() => { return ( !props.transaction.info.completed && @@ -175,7 +179,11 @@ const withdrawalManualFinalizationRequired = computed(() => { ); }); const withdrawalFinalizationAvailable = computed(() => { - return withdrawalManualFinalizationRequired.value && props.transaction.info.withdrawalFinalizationAvailable; + return ( + !isCustomBridgeToken.value && + withdrawalManualFinalizationRequired.value && + props.transaction.info.withdrawalFinalizationAvailable + ); }); const {