-
Notifications
You must be signed in to change notification settings - Fork 15
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
Jm/ext ts host #117
Merged
Merged
Jm/ext ts host #117
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jimmyaxod
force-pushed
the
jm/ext-ts-host
branch
from
November 27, 2023 15:31
5eeafca
to
6c8b535
Compare
jimmyaxod
force-pushed
the
jm/ext-ts-host
branch
from
November 28, 2023 15:05
2463a08
to
0a32dfa
Compare
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
…on-interfaces Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Shivansh Vij <[email protected]> Signed-off-by: Jimmy Moore <[email protected]>
…g on scale-cli Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
…extension-interfaces import. Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
jimmyaxod
force-pushed
the
jm/ext-ts-host
branch
from
November 30, 2023 12:11
57d0259
to
08136c5
Compare
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
Signed-off-by: Jimmy Moore <[email protected]>
jimmyaxod
added a commit
that referenced
this pull request
Dec 8, 2023
This adds typescript host support for extensions. Scale-65 --------- Signed-off-by: Jimmy Moore <[email protected]> Signed-off-by: Shivansh Vij <[email protected]> Co-authored-by: Shivansh Vij <[email protected]> Signed-off-by: Jimmy Moore <[email protected]>
dphilla
added a commit
that referenced
this pull request
Mar 8, 2024
* Jm/ext ts host (#117) Scale-65 This adds typescript host support for extensions. Scale-65 --------- Signed-off-by: Jimmy Moore <[email protected]> Signed-off-by: Shivansh Vij <[email protected]> Co-authored-by: Shivansh Vij <[email protected]> Signed-off-by: Jimmy Moore <[email protected]> * Initial extension generator code Signed-off-by: Jimmy Moore <[email protected]> First version with guest/host generated in cli working Signed-off-by: Jimmy Moore <[email protected]> Couple changes Signed-off-by: Jimmy Moore <[email protected]> First ver compile golang guest Signed-off-by: Jimmy Moore <[email protected]> Updated to first version working guest+host in go Signed-off-by: Jimmy Moore <[email protected]> Extensions now get reset at start of a run Signed-off-by: Jimmy Moore <[email protected]> Updated to use scale-extension-interfaces Signed-off-by: Jimmy Moore <[email protected]> Updated extension host go.mod to include correct ver of scale-extension-interfaces Signed-off-by: Jimmy Moore <[email protected]> Started on rust extension impl Signed-off-by: Jimmy Moore <[email protected]> Fixup for golang extension Signed-off-by: Jimmy Moore <[email protected]> Initial rust generator for types from signature to extension Signed-off-by: Jimmy Moore <[email protected]> Updated ext generator for rust Signed-off-by: Jimmy Moore <[email protected]> Updated for rust compile Signed-off-by: Jimmy Moore <[email protected]> Latest updates Signed-off-by: Jimmy Moore <[email protected]> Latest rust guest ext working Signed-off-by: Jimmy Moore <[email protected]> Updated to use extension hash rather than name in wasm fns Signed-off-by: Jimmy Moore <[email protected]> Fixing for tests Signed-off-by: Shivansh Vij <[email protected]> Signed-off-by: Jimmy Moore <[email protected]> Pulled in changes from staging, and fixed things up. e2e tests working on scale-cli Signed-off-by: Jimmy Moore <[email protected]> Removed unnecessary templates etc Signed-off-by: Jimmy Moore <[email protected]> Initial extension generator code Signed-off-by: Jimmy Moore <[email protected]> First ver compile golang guest Signed-off-by: Jimmy Moore <[email protected]> Extensions now get reset at start of a run Signed-off-by: Jimmy Moore <[email protected]> Updated to use scale-extension-interfaces Signed-off-by: Jimmy Moore <[email protected]> * Start on typescript generator Signed-off-by: Jimmy Moore <[email protected]> * First parts of ts ext templating Signed-off-by: Jimmy Moore <[email protected]> * Updated config.ts and module.ts to deal with extensions. Added scale-extension-interfaces import. Signed-off-by: Jimmy Moore <[email protected]> Updated ext generator Signed-off-by: Jimmy Moore <[email protected]> First ver of typescript extension generating host types etc Signed-off-by: Jimmy Moore <[email protected]> Module now correctly returns BigInt on ext function Signed-off-by: Jimmy Moore <[email protected]> Added extension impl interface typescript Signed-off-by: Jimmy Moore <[email protected]> Updated ts host templates. Just need function bodies now Signed-off-by: Jimmy Moore <[email protected]> First version of typescript host working e2e Signed-off-by: Jimmy Moore <[email protected]> Rebased to jm/ext and started tidying up Signed-off-by: Jimmy Moore <[email protected]> Reverted scalefile change, removed unused templates Signed-off-by: Jimmy Moore <[email protected]> Fixed up typescript type generation in extension Signed-off-by: Jimmy Moore <[email protected]> Removed dupe type templates in typescript extensions Signed-off-by: Jimmy Moore <[email protected]> Added generator for typescript extension host integration test Signed-off-by: Jimmy Moore <[email protected]> Added ts host generator, and start of extension test typescript Signed-off-by: Jimmy Moore <[email protected]> ts host ext tests passing Signed-off-by: Jimmy Moore <[email protected]> Lint golang fix Signed-off-by: Jimmy Moore <[email protected]> Fixed ts lint any issue Signed-off-by: Jimmy Moore <[email protected]> Fixed rust templ Signed-off-by: Jimmy Moore <[email protected]> Clean up pr Signed-off-by: Jimmy Moore <[email protected]> * Changes to typescript builder for mux passthrough Signed-off-by: Jimmy Moore <[email protected]> * Added ts guest template, generator. Adjusted build to call out to wasm-toolkit to do mux replaces Signed-off-by: Jimmy Moore <[email protected]> ts ext test compiling. Just need to have it call extension Signed-off-by: Jimmy Moore <[email protected]> Typescript guest extension passing integration tests Signed-off-by: Jimmy Moore <[email protected]> Test fix Signed-off-by: Jimmy Moore <[email protected]> Lint fixes Signed-off-by: Jimmy Moore <[email protected]> Lint fix Signed-off-by: Jimmy Moore <[email protected]> Add: js_builder-x86_64-unknown-linux-gnu Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Add: js_builder-aarch64-unknown-linux-gnu Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> More lint Signed-off-by: Jimmy Moore <[email protected]> Add: js_builder-aarch64-apple-darwin Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Add: js_builder-x86_64-apple-darwin Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Added missing index.ts for ts ext test Signed-off-by: Jimmy Moore <[email protected]> Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Jimmy Moore <[email protected]> * interfaces removed Signed-off-by: Jimmy Moore <[email protected]> * Add: js_builder-x86_64-unknown-linux-gnu Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-aarch64-unknown-linux-gnu Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-x86_64-apple-darwin Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-aarch64-apple-darwin Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * chgs to default packaged js builds * update signature lockfile * Updated js_builder with rustv1.74.1. Updated workflows pinned to v1.74.1 for now * Add: js_builder-x86_64-unknown-linux-gnu Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-aarch64-unknown-linux-gnu Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-x86_64-apple-darwin Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-aarch64-apple-darwin Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Lint go fix * Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-x86_64-unknown-linux-gnu Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-aarch64-apple-darwin Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * linter ci throwing non-specifics * CI linter update * Add: js_builder-aarch64-unknown-linux-gnu Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-x86_64-apple-darwin Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add initial ext docs Signed-off-by: Daniel Phillips <[email protected]> * Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * More extension docs Signed-off-by: Daniel Phillips <[email protected]> * Add: js_builder-x86_64-pc-windows-msvc Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: Jimmy Moore <[email protected]> Signed-off-by: Shivansh Vij <[email protected]> Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Daniel Phillips <[email protected]> Co-authored-by: Shivansh Vij <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Phillips <[email protected]> Co-authored-by: Daniel Phillips <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds typescript host extension support.
Integration tests are included.