Niklas Adolfsson
175f604ea7
chore(deps): tokio ^1.44.2 ( #1989 )
2025-04-08 12:03:54 +01:00
James Wilson
c96387c47d
Prep to release 0.39.0 ( #1918 )
...
* Pre pto release 0.39.0
* Actually save updates in Cargo.toml
* Tweak changelog text
2025-02-05 11:00:09 +00:00
paritytech-subxt-pr-maker[bot]
cb9571d7a6
Update Artifacts (auto-generated) ( #1860 )
...
* Update Artifacts (auto-generated)
* fix assethub example
* update Cargo.lock for wasm tests
* cargo fmt
* fix subxt cli tests
* disable failing wasm tests
* add issue link for disabled test
---------
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-11-11 18:34:02 +01:00
James Wilson
9640ecc751
Prep to release v0.38.0 ( #1841 )
...
* Prep to release v0.38.0
* Remove entry from changelog
2024-10-24 15:45:02 +01:00
dependabot[bot]
02ab50eee8
build(deps): bump wasm-bindgen from 0.2.92 to 0.2.93 ( #1713 )
...
* build(deps): bump wasm-bindgen from 0.2.92 to 0.2.93
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.92 to 0.2.93.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.92...0.2.93 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* cargo update -p wasm-bindgen
* update Cargo.lock
---------
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-08-20 11:23:54 +02:00
James Wilson
9810406db2
Prep to release 0.35 ( #1489 )
...
* Prep to release 0.35
* Remove newline
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
* Fix a couple of small nits
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-03-21 16:37:12 +00:00
James Wilson
98c4c0135b
chore: rename sp-core-hashing to sp-crypto-hashing ( #1490 )
...
* rename sp-core-hashing to sp-crypto-hashing
* fmt
2024-03-21 16:18:00 +01:00
James Wilson
b069c4425a
Rework light client ( #1475 )
...
* WIP second pass over light client code for simpler API
* First pass new light client
* pub(crate) LightClientRpc::new_raw(), and fmt
* Update examples and add back a way to configure boot nodes and fetch chainspec from a URL
* Fix light client examples
* remove unused deps and tidy lightclient feature flags
* fix wasm error
* LightClientRpc can be cloned
* update light client tests
* Other small fixes
* exclude mod unless jsonrpsee
* Fix wasm-lightclient-tests
* add back docsrs bit and web+native feature flag compile error
* update book and light client example names
* fix docs
2024-03-15 15:21:06 +00:00
dependabot[bot]
509b418703
build(deps): bump web-sys from 0.3.66 to 0.3.67 ( #1386 )
...
* build(deps): bump web-sys from 0.3.66 to 0.3.67
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.66 to 0.3.67.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: web-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* testing: Update wasm Cargo.locks
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-01-22 13:34:55 +01:00
James Wilson
fa2a75a3a9
Try a few RPC nodes in case one of them is not working
2024-01-18 12:02:27 +00:00
Niklas Adolfsson
ee95026186
chore(deps): bump jsonrpsee v0.20 to v0.21 ( #1347 )
...
* chore(deps): bump jsonrpsee v0.20 to v0.21
* fix build
* update Cargo.lock in wasm-tests
2024-01-12 10:48:44 +01: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
James Wilson
df06cf9afb
Prep for v0.33.0 release ( #1311 )
...
* Prep for v0.33.0 release
* only ignore failing test on unstable-backend-client
* Fix typos and wee grammar things
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: Tadeo Hepperle <62739623+tadeohepperle@users.noreply.github.com >
* omit uninteresting PRs and issue link for ignored test
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: Tadeo Hepperle <62739623+tadeohepperle@users.noreply.github.com >
2023-12-07 11:00:22 +00:00
Alexandru Vasile
372c36c2b9
lightclient: Fix wasm socket closure called after being dropped ( #1289 )
...
* lightclient: Close wasm socket while dropping from connecting state
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Construct one time only closures
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* testing: Enable console logs for lightclient WASM testing
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Separate wakes and check connectivity on poll_read
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Close the socket depending on internal state
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Revert "lightclient: Separate wakes and check connectivity on poll_read"
This reverts commit 866094001d4c0b119a80ed681a74b323f74eae1b.
* lightclient: Return pending if socket is opening from poll_read
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Close the socket on `poll_close`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Reset closures on Drop to avoid recursive invokation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Close the socket if not already closing
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2023-11-29 13:16:49 +02:00
James Wilson
2fe7b5c14c
Fix lightclient WASM tests ( #1287 )
...
* Remove 1 explicit bootnode; I think it stopped working so our tests did too
* Remove comment
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2023-11-23 16:58:03 +00:00
Alexandru Vasile
b472fe5223
Update smoldot to 0.12 ( #1212 )
...
* Update lightclient
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* testing: Fix typo
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* testing: Update cargo.toml
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Add tracing logs to improve debugging
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Add socket buffers module for `PlatformRef`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Update `SubxtPlatform`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Add lightclient dependencies
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update cargo.lock of wasm tests
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Add constant for with-buffer module
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Replace rand crate with getrandom
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* example: Update cargo lock file
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* examples: Update deps
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: Tadeo Hepperle <62739623+tadeohepperle@users.noreply.github.com >
2023-11-03 15:14:54 +02:00
James Wilson
71fbfebf5a
Clone + Debug on Payloads/Addresses, and compare child storage results ( #1203 )
...
* Clone + Debug on Payloads/Addresses, and compare child storage results
* , to .
* clippy and fixes
* fix
* use derivative instead to remove boilerplate impls
* add missing import
* tidy up and extend wasm test timeout
* try 5 mins instead of 2
2023-10-18 22:05:38 +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