diff --git a/CHANGELOG.md b/CHANGELOG.md index 3045e1c8e..247a027c9 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 +- [#690](https://github.com/alleslabs/celatone-frontend/pull/690) Fix query msg regex for Sylvia contract - [#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 diff --git a/src/lib/hooks/useQueryCmds.ts b/src/lib/hooks/useQueryCmds.ts index 4e7425b8c..e625fa528 100644 --- a/src/lib/hooks/useQueryCmds.ts +++ b/src/lib/hooks/useQueryCmds.ts @@ -36,7 +36,7 @@ export const useQueryCmds = (contractAddress: ContractAddr) => { // Check if Sylvia framework const sylviaRegex = - /Messages supported by this contract: (.*?): query wasm contract failed: invalid request/; + /Messages supported by this contract: (.*?)(: query wasm contract failed: invalid request)?$/; const contentMatch = resMsg?.match(sylviaRegex); if (contentMatch && contentMatch[1]) {