Skip to content

Commit

Permalink
Update smoldot to 0.12 (#1212)
Browse files Browse the repository at this point in the history
* Update lightclient

Signed-off-by: Alexandru Vasile <[email protected]>

* testing: Fix typo

Signed-off-by: Alexandru Vasile <[email protected]>

* testing: Update cargo.toml

Signed-off-by: Alexandru Vasile <[email protected]>

* lightclient: Add tracing logs to improve debugging

Signed-off-by: Alexandru Vasile <[email protected]>

* lightclient: Add socket buffers module for `PlatformRef`

Signed-off-by: Alexandru Vasile <[email protected]>

* lightclient: Update `SubxtPlatform`

Signed-off-by: Alexandru Vasile <[email protected]>

* cargo: Add lightclient dependencies

Signed-off-by: Alexandru Vasile <[email protected]>

* Update cargo.lock of wasm tests

Signed-off-by: Alexandru Vasile <[email protected]>

* lightclient: Add constant for with-buffer module

Signed-off-by: Alexandru Vasile <[email protected]>

* lightclient: Replace rand crate with getrandom

Signed-off-by: Alexandru Vasile <[email protected]>

* example: Update cargo lock file

Signed-off-by: Alexandru Vasile <[email protected]>

* examples: Update deps

Signed-off-by: Alexandru Vasile <[email protected]>

---------

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: Tadeo Hepperle <[email protected]>
  • Loading branch information
lexnv and tadeohepperle authored Nov 3, 2023
1 parent 40aca5b commit b472fe5
Show file tree
Hide file tree
Showing 9 changed files with 1,067 additions and 1,057 deletions.
266 changes: 117 additions & 149 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ wasm-bindgen-test = "0.3.24"
which = "4.4.2"

# Light client support:
smoldot = { version = "0.8.0", default-features = false }
smoldot-light = { version = "0.6.0", default-features = false }
smoldot = { version = "0.12.0", default-features = false }
smoldot-light = { version = "0.10.0", default-features = false }
tokio-stream = "0.1.14"
futures-util = "0.3.28"
rand = "0.8.5"
pin-project = "1.1.3"

# Light client wasm:
web-sys = { version = "0.3.61", features = ["BinaryType", "CloseEvent", "MessageEvent", "WebSocket"] }
Expand Down
Loading

0 comments on commit b472fe5

Please sign in to comment.