Skip to content

Commit

Permalink
fix: exeucte msg regex for sylvia contract
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpeach committed Dec 21, 2023
1 parent b669eed commit 900ed7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib/hooks/useExecuteCmds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit 900ed7d

Please sign in to comment.