From 13a2daf2538270246f49d2a216b40758ada1d8a7 Mon Sep 17 00:00:00 2001 From: QuanPT <77958905+quanpt239@users.noreply.github.com> Date: Fri, 13 Dec 2024 16:45:29 +0700 Subject: [PATCH] fix: action migrate contract (#5) --- lib/components/TxDialog/wasm/MigrateContract.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/TxDialog/wasm/MigrateContract.vue b/lib/components/TxDialog/wasm/MigrateContract.vue index c9f975f..3a9dcaf 100644 --- a/lib/components/TxDialog/wasm/MigrateContract.vue +++ b/lib/components/TxDialog/wasm/MigrateContract.vue @@ -24,7 +24,7 @@ const msgs = computed(() => { /** CodeID is the reference to the stored WASM code */ codeId: codeId.value, /** Msg json encoded message to be passed to the contract on instantiation */ - msg: toBase64(new TextEncoder().encode(msg.value)), + msg: new TextEncoder().encode(msg.value), }, }] }) @@ -74,4 +74,4 @@ defineExpose({msgs, isValid, initial}) - \ No newline at end of file +