Commit Graph

7 Commits

Author SHA1 Message Date
Alexandru Vasile e754e2d562 working: Reintroduce Platform impl + instant crash fix
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
2023-06-06 22:27:54 +03:00
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 b9f5419095 Introduce Metadata type (#974)
* WIP new Metadata type

* Finish basic Metadata impl inc hashing and validation

* remove caching from metadata; can add that higher up

* remove caches

* update retain to use Metadata

* clippy fixes

* update codegen to use Metadata

* clippy

* WIP fixing subxt lib

* WIP fixing tests, rebuild artifacts, fix OrderedMap::retain

* get --all-targets compiling

* move DispatchError type lookup back to being optional

* cargo clippy

* fix docs

* re-use VariantIndex to get variants

* add docs and enforce docs on metadata crate

* fix docs

* add test and fix docs

* cargo fmt

* address review comments

* update lockfiles

* ExactSizeIter so we can ask for len() of things (and hopefully soon is_empty()
2023-05-25 10:35:21 +01: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