Niklas Adolfsson
|
8f3c0b44fb
|
stabilize reconnecting-rpc-client (#1803)
* stabilize reconnecting-rpc-client
* fix build
* remove missed unstable stuff
|
2024-10-03 20:03:16 +02:00 |
|
Niklas Adolfsson
|
3807b29f36
|
rpc: stabilize chainhead backend (#1802)
* rpc: stabilize ChainHeadBackend
* remove noise from example
* add missing features
* make tests compile
* make tests compile v2
* revert stop event
* feature-gate runtime
* Update subxt/Cargo.toml
* add docsrs feature stuff
* Update subxt/src/backend/chain_head/mod.rs
* Update subxt/src/backend/chain_head/mod.rs
* Update subxt/src/backend/chain_head/mod.rs
|
2024-10-03 18:14:38 +02:00 |
|
Niklas Adolfsson
|
4bc27d4977
|
refactor: replace reconnecting-jsonrpsee-ws-client with subxt-reconnecting-rpc-client (#1705)
* feat: add native subxt rpc reconn client
* add jsonrpsee dep to reconnecting-client
* Update subxt/src/backend/rpc/reconnecting_rpc_client/tests.rs
* fix grumbles
* add simple wasm test for reconnecting client
* fix test build
* cargo fmt
* remove reconnect apis
* Update testing/wasm-rpc-tests/tests/wasm.rs
* Update subxt/src/backend/rpc/reconnecting_rpc_client/tests.rs
* Update subxt/src/backend/rpc/reconnecting_rpc_client/tests.rs
|
2024-08-27 15:18:06 +02:00 |
|
dependabot[bot]
|
089022d77b
|
Bump futures-util from 0.3.29 to 0.3.30 (#1328)
* Bump futures-util from 0.3.29 to 0.3.30
Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.29 to 0.3.30.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30)
---
updated-dependencies:
- dependency-name: futures-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* bump futures to v0.3.30 as well
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
|
2024-01-04 11:15:03 +01:00 |
|
Alexandru Vasile
|
4bda673847
|
Add light client platform WASM compatible (#1026)
* Cargo update in prep for wasm build
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Add light client test
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Implement low level socket
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Add native platform primitives
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Add wasm platform primitives
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Implement smoldot platform
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Adjust code to use custom platform
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Adjust feature flags
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* tests: Adjust wasm endpoint to accept ws for p2p
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Adjust wasm socket
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Book mention of wasm
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* ci: Propagate env variable properly
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* subxt: Revert to native feature flags
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* cli: Use tokio rt-multi-thread feature
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* subxt: Add tokio feature flags for native platform
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* wasm: Use polkadot live for wasm testing
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* wasm: Add support for DNS p2p addresses
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* wasm: Disable logs
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* wasm: Run wasm test for firefox driver
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* wasm: Reenable chrome driver
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Move lightclient RPC to dedicated crate for better feature flags and modularity
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Use subxt-lightclient low level RPC crate
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Apply cargo fmt
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Enable default:native feature for cargo check
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* ci: Extra step for subxt-lightclient similar to signer crate
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Remove native platform code and use smoldot instead
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* codegen: Enable tokio/multi-threads
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* lightclient: Refactor modules
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Adjust testing crates
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* ci: Run light-client WASM tests
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* wasm-rpc: Remove light-client imports
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* testing: Update wasm cargo.lock files
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* ci: Spawn substrate node with deterministic p2p address for WASM tests
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* wasm_socket: Use rc and refcell
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* wasm_socket: Switch back to Arc<Mutex<>>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
* Add comments
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
|
2023-07-18 14:27:16 +03:00 |
|