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

Remove top level await #11

Closed
wants to merge 8 commits into from
Closed

Remove top level await #11

wants to merge 8 commits into from

Conversation

acolytec3
Copy link
Collaborator

This fixes #10 and replaces the current setup with an async function that initializes the WASM and returns the three EC functions as properties of an object.

@acolytec3
Copy link
Collaborator Author

@roninjin10 Does this address your concerns from #10? I've re-written the exports along the lines of what we did for kzg-wasm.

@roninjin10
Copy link
Contributor

This is perfect! Thanks for this.

Seeing the related ethereumjs pr and the breaking change here doesn't look too bad

holgerd77
holgerd77 previously approved these changes Mar 7, 2024
Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

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

Cool, great work! 🤩

Will merge and prepare a release!

@holgerd77
Copy link
Member

grafik

Hmm, something strange going on here when I try to merge. 🤔

Also, advice from https://stackoverflow.com/questions/53712930/how-to-fix-this-in-git-this-branch-is-out-of-date-with-the-base-branch is not working.

Will eventually try to re-submit the PR.

@holgerd77
Copy link
Member

Replaced by #12

@holgerd77 holgerd77 closed this Mar 7, 2024
@holgerd77 holgerd77 deleted the remove-top-level-await branch March 7, 2024 10:43
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

Successfully merging this pull request may close these issues.

Top level await is problematic
3 participants