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

Revive javascript bindings and port python tests to javascript. #212

Merged
merged 10 commits into from
May 9, 2021

Conversation

prozacchiwawa
Copy link
Contributor

The javascript bindings that were previously in this code followed an API that appears to have been withdrawn in revision c6010c8, so this PR brings them into fairly close parity with the python bindings.
A few liberties were taken with naming and capitalization to follow javascript idia more closely, and the tests in test.py were ported.
CMake files have been modified to refer to relic in its new build location as cmake presents it and a build script emsdk_build.sh has been provided which uses emsdk to build the js library and bindings, saving some complexity.
A convenience script for running the javascript tests is provided.

Copy link
Member

@hoffmang9 hoffmang9 left a comment

Choose a reason for hiding this comment

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

Thank you!

@hoffmang9 hoffmang9 merged commit 362078b into Chia-Network:main May 9, 2021
UdjinM6 pushed a commit to UdjinM6/bls-signatures that referenced this pull request Dec 1, 2021
…-Network#212)

* Building, replicated deletions from c6010c8, need to sync API (if it'll work, reusing the python tests via brython would help keep things in sync in the future)

* General house cleaning and reorganization on js wrappers.  Now reflects the naming from python and is running some very lightly ported test code.

* test_schemes: All tests passed.

* More tests

* Feature parity with test.py

* Finish mostly parity with python API

* Some nicening

* Remove diagnostic

* Fix broken script

* The move constructor isn't strictly needed
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.

2 participants