From 900ed7db1e5ed7f9fe701558cd1b06613cfc6ee4 Mon Sep 17 00:00:00 2001 From: evilpeach Date: Thu, 21 Dec 2023 11:43:49 +0700 Subject: [PATCH] fix: exeucte msg regex for sylvia contract --- CHANGELOG.md | 1 + src/lib/hooks/useExecuteCmds.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba98952a3..3045e1c8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Bug fixes +- [#689](https://github.com/alleslabs/celatone-frontend/pull/689) Fix execute msg regex for Sylvia contract - [#685](https://github.com/alleslabs/celatone-frontend/pull/685) Disable save account in mobile - [#683](https://github.com/alleslabs/celatone-frontend/pull/683) Fix save account hex duplicate and search with hex - [#673](https://github.com/alleslabs/celatone-frontend/pull/673) Fix total share is zero diff --git a/src/lib/hooks/useExecuteCmds.ts b/src/lib/hooks/useExecuteCmds.ts index 2ce3ed65a..9bb7df296 100644 --- a/src/lib/hooks/useExecuteCmds.ts +++ b/src/lib/hooks/useExecuteCmds.ts @@ -30,7 +30,7 @@ export const useExecuteCmds = (contractAddress: ContractAddr) => { // Check if Sylvia framework const sylviaRegex = - /Messages supported by this contract: (.*?): execute wasm contract failed: invalid request/; + /Messages supported by this contract: (.*?): execute wasm contract failed/; const contentMatch = e.message?.match(sylviaRegex); if (contentMatch && contentMatch[1]) {