Skip to content

Commit

Permalink
Merge pull request #689 from alleslabs/fix/contract-sylvia-execute-msg
Browse files Browse the repository at this point in the history
fix: exeucte msg regex for sylvia contract
  • Loading branch information
evilpeach committed Dec 21, 2023
2 parents b669eed + 900ed7d commit 96543e8
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

2 comments on commit 96543e8

@vercel
Copy link

@vercel vercel bot commented on 96543e8 Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 96543e8 Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.