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

Await for WASM initialization #1227

Closed
arboleya opened this issue Aug 31, 2023 · 2 comments · Fixed by #1240
Closed

Await for WASM initialization #1227

arboleya opened this issue Aug 31, 2023 · 2 comments · Fixed by #1240
Assignees
Labels

Comments

@arboleya
Copy link
Member

We have this problem reported here.

Screenshot

error

The solution is to wait for the WASM full initialization, like mentioned in the docs:

import * as fuel_asm from '@fuels/vm-asm'

(async function() {
  await fuel_asm.initWasm();

  // fuel_asm.<?>();
  // ...
})();
@arboleya arboleya added the bug label Aug 31, 2023
@lzhabo
Copy link

lzhabo commented Sep 4, 2023

Hi! Is there any estimation of when it should be fixed?

@camsjams
Copy link
Contributor

camsjams commented Sep 6, 2023

This will be fixed once this PR merges: #1240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants