From bb87d71ad6a2eebbebdfe4908774189c98a18500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Drwi=C4=99ga?= Date: Thu, 19 Dec 2024 11:03:45 +0100 Subject: [PATCH] 64-bit migration prep: load 32-bit version of ananas (#258) * Load 32bit version. * Add link to beta. --- src/components/Header/index.tsx | 3 +++ src/components/PvmSelect/index.tsx | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 2a5a1af8..f8a1915a 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -8,6 +8,9 @@ export const Header = () => {
FluffyLabs logo
PVM debugger
+
+          64-bit beta
+        
diff --git a/src/components/PvmSelect/index.tsx b/src/components/PvmSelect/index.tsx index 14ebd543..06425102 100644 --- a/src/components/PvmSelect/index.tsx +++ b/src/components/PvmSelect/index.tsx @@ -35,6 +35,7 @@ interface WasmMetadata { resetPolkaVM: boolean; }; wasmBlobUrl: string; + wasmBlobUrl32?: string; } export interface SelectedPvmWithPayload { @@ -170,7 +171,7 @@ export const PvmSelect = () => { id: value, type: PvmTypes.WASM_URL, params: { - url: path.join(url, "../", metadata.wasmBlobUrl), + url: path.join(url, "../", metadata.wasmBlobUrl32 || metadata.wasmBlobUrl), lang, }, },