Commit Graph

7 Commits

Author SHA1 Message Date
Alexandru Vasile 9be09e8daa Export light-client functionality for WASM
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
2023-06-06 21:08:05 +03:00
Alexandru Vasile 600a5cd14c Update platform code to use smoldot-wasm for testing
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
2023-06-05 19:03:31 +03:00
Alexandru Vasile 853a71ec24 Compile Platform impl
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
2023-06-05 15:52:28 +03:00
Alexandru Vasile b70beaf7a4 Backup platform impl
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
2023-06-02 19:16:52 +03:00
James Wilson 464b4432cf Move all deps to workspace toml (#932)
* Move all deps to workspace toml

* cargo fmt and codec 3.4, removing now unneeded 'full' feature

* add wasm-tests to workspace and fix subxt inheritng

* cargo fmt

* wasm-test thing can't be in workspace so revert that

* remove unwanted target dir from wasm-tests
2023-04-26 10:31:59 +01:00
Niklas Adolfsson 15ffbb6c4b fix(ci): wasm tests with cache + disable logging (#722)
* fix(ci): wasm tests with cache

* disable logging in wasm tests
2022-11-21 18:05:42 +01:00
Niklas Adolfsson 14e8e6f6b6 add wasm support (#700)
* get started

* make it work again

* make it compile again

* Use async-wasm-feature of jsonrpsee from the master branch

* Ensure we enable JS feature of getrandom for the wasm target

* Update subxt/src/lib.rs

* update jsonrpsee

* fix CI

* cargo fmt

* fix wasm test

* fix grumbles

* exclude wasm-tests from workspace

To avoid leaking `jsonrpsee-web` feature into the workspace

Co-authored-by: Igor Matuszewski <xanewok@gmail.com>
2022-11-14 11:45:21 +00:00