Skip to content

Commit

Permalink
fix: action migrate contract (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
quanpt239 authored Dec 13, 2024
1 parent 00d8683 commit 13a2daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/TxDialog/wasm/MigrateContract.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
}]
})
Expand Down Expand Up @@ -74,4 +74,4 @@ defineExpose({msgs, isValid, initial})
<textarea v-model="msg" placeholder="{config: {}}" class="text-gray-600 dark:text-white textarea border !border-gray-300 dark:!border-gray-600"></textarea>
</div>
</div>
</template>
</template>

0 comments on commit 13a2daf

Please sign in to comment.