diff --git a/packages/app/src/components/FeeData.vue b/packages/app/src/components/FeeData.vue index 93c2879d80..037eda82a6 100644 --- a/packages/app/src/components/FeeData.vue +++ b/packages/app/src/components/FeeData.vue @@ -40,7 +40,7 @@ {{ t("transactions.table.feeDetails.whatIsPaymaster") }} diff --git a/packages/app/src/views/ContractVerificationView.vue b/packages/app/src/views/ContractVerificationView.vue index f6581a0b5a..0e7e8bd339 100644 --- a/packages/app/src/views/ContractVerificationView.vue +++ b/packages/app/src/views/ContractVerificationView.vue @@ -16,7 +16,7 @@ @@ -84,7 +84,7 @@ class="label-inline-block" > {{ t(`contractVerification.form.${selectedZkCompiler.name}Version.details`) }} { await fireEvent.click(container.querySelector(".toggle-button")!); const link = container.querySelector(".refunded-link"); expect(link?.getAttribute("href")).toBe( - "https://era.zksync.io/docs/dev/developer-guides/transactions/fee-model.html#refunds" + "https://docs.zksync.io/build/developer-reference/fee-model.html#refunds" ); expect(link?.getAttribute("target")).toBe("_blank"); expect(link?.textContent).toBe("Why am I being refunded?"); @@ -240,14 +240,14 @@ describe("FeeToken", () => { const refundedLink = container.querySelector(".refunded-link"); expect(refundedLink?.getAttribute("href")).toBe( - "https://era.zksync.io/docs/dev/developer-guides/transactions/fee-model.html#refunds" + "https://docs.zksync.io/build/developer-reference/fee-model.html#refunds" ); expect(refundedLink?.getAttribute("target")).toBe("_blank"); expect(refundedLink?.textContent).toBe("Why is Paymaster being refunded?"); const paymasterLink = container.querySelector(".paymaster-link"); expect(paymasterLink?.getAttribute("href")).toBe( - "https://era.zksync.io/docs/reference/concepts/account-abstraction.html#paymasters" + "https://docs.zksync.io/build/developer-reference/account-abstraction.html#paymasters" ); expect(paymasterLink?.getAttribute("target")).toBe("_blank"); expect(paymasterLink?.textContent).toBe("What is Paymaster?"); diff --git a/packages/app/tests/components/TheFooter.spec.ts b/packages/app/tests/components/TheFooter.spec.ts index b799dc76a7..8ecf1a640d 100644 --- a/packages/app/tests/components/TheFooter.spec.ts +++ b/packages/app/tests/components/TheFooter.spec.ts @@ -24,7 +24,9 @@ describe("TheFooter:", () => { }, }); const links = wrapper.findAll("a"); - expect(links[0].attributes("href")).toBe("https://era.zksync.io/docs/dev/"); + expect(links[0].attributes("href")).toBe( + "https://docs.zksync.io/build/tooling/block-explorer/getting-started.html" + ); expect(links[1].attributes("href")).toBe("https://zksync.io/terms"); expect(links[2].attributes("href")).toBe("https://zksync.io/contact"); }); diff --git a/packages/app/tests/components/TheHeader.spec.ts b/packages/app/tests/components/TheHeader.spec.ts index 693806228c..c409a6cfd1 100644 --- a/packages/app/tests/components/TheHeader.spec.ts +++ b/packages/app/tests/components/TheHeader.spec.ts @@ -63,7 +63,7 @@ describe("TheHeader:", () => { expect(toolsLinks[2].attributes("href")).toBe("https://portal.zksync.io/"); expect(wrapper.findAll(".navigation-container > .navigation-link")[0].attributes("href")).toBe( - "https://era.zksync.io/docs/dev/" + "https://docs.zksync.io/build/tooling/block-explorer/getting-started.html" ); }); it("renders social links", () => { diff --git a/packages/app/tests/views/ContractVerificationView.spec.ts b/packages/app/tests/views/ContractVerificationView.spec.ts index 8f96244a2b..160d4e5117 100644 --- a/packages/app/tests/views/ContractVerificationView.spec.ts +++ b/packages/app/tests/views/ContractVerificationView.spec.ts @@ -309,7 +309,7 @@ describe("ContractVerificationView:", () => { expect(wrapper.find(".docs-link").text()).toEqual("Details"); expect(wrapper.find(".docs-link").attributes("href")).toEqual( - "https://era.zksync.io/docs/tools/block-explorer/contract-verification.html#enter-contract-details" + "https://docs.zksync.io/build/tooling/block-explorer/contract-verification.html#user-interface" ); }); it("resets uploaded files block when clicking on clear button", async () => {