Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support interactive UI in the simulator #2387

Open
FrederikBolding opened this issue May 3, 2024 · 2 comments
Open

Support interactive UI in the simulator #2387

FrederikBolding opened this issue May 3, 2024 · 2 comments
Assignees

Comments

@FrederikBolding
Copy link
Member

The simulator still crashes when you try to use interactive UI in a handler:

        "stack": "TypeError: i is not a function\n    at https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:421917\n    at https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:420311\n    at Object.next (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:420416)\n    at u8 (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:418769)\n    at a (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:422204)\n    at https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:422265\n    at new Promise (<anonymous>)\n    at n (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:422145)\n    at methodImplementation (https://metamask.github.io/snaps/snaps-simulator/staging/main.js:182:422299)\n    at ei._executeRestrictedMethod (https://metamask.github.io/snaps/snaps-simulator/staging/vendor/vendor.js:304:100862)",
        "message": "i is not a function"
@huweihong
Copy link

I also meet this issue.

@Ebrahim1997r
Copy link

nice

@GuillaumeRx GuillaumeRx self-assigned this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants