diff --git a/web/storagenode/src/app/components/WalletArea.vue b/web/storagenode/src/app/components/WalletArea.vue index ac6e89d69d12..dbc343824fe7 100644 --- a/web/storagenode/src/app/components/WalletArea.vue +++ b/web/storagenode/src/app/components/WalletArea.vue @@ -12,7 +12,7 @@

{{ walletAddress }}

View on Etherscan -
+
zkSync is opted-in

+
+ + View on ZkSync Era explorer + + + View on Etherscan + +
+ +

zkSync Era is opted-in

+
+
@@ -67,7 +89,11 @@ export default class WalletArea extends Vue { private readonly walletFeatures: string[]; public get isZkSyncEnabled(): boolean { - return this.walletFeatures.includes('zksync'); + return this.walletFeatures.includes('zksync') && !this.isZkSyncEraEnabled; + } + + public get isZkSyncEraEnabled(): boolean { + return this.walletFeatures.includes('zksync-era'); } } diff --git a/web/storagenode/src/storagenode/payouts/payouts.ts b/web/storagenode/src/storagenode/payouts/payouts.ts index c14820b5a724..5dc928aa3e85 100644 --- a/web/storagenode/src/storagenode/payouts/payouts.ts +++ b/web/storagenode/src/storagenode/payouts/payouts.ts @@ -307,10 +307,11 @@ export class SatellitePayoutForPeriod { { const zkScanUrl = 'https://zkscan.io/explorer/transactions'; - if (this.receipt.indexOf('zksync') !== -1) { + if (this.receipt.indexOf('zksync-era') !== -1) { + return `https://explorer.zksync.io/tx/${prefixed(this.receipt.slice(11))}`; + } else if (this.receipt.indexOf('zksync') !== -1) { return `${zkScanUrl}/${prefixed(this.receipt.slice(7))}`; - } - if (this.receipt.indexOf('zkwithdraw') !== -1) { + } else if (this.receipt.indexOf('zkwithdraw') !== -1) { return `${zkScanUrl}/${prefixed(this.receipt.slice(11))}`; } }