Fix and test sr25519 signing in nostd (#1872)

* Fix and test sr25519 signing in nostd

* Remove sr25519 signing test on nostd for thumbabi target

* Don't use sr25519 feature in nostd tests

* Fix nits, remove WASM deps from nostd test, improve comments

* Change copypasted comment

* fmt

* Update CI to account for signer tests
This commit is contained in:
James Wilson
2025-01-30 17:13:58 +00:00
committed by GitHub
parent 94f4e7f39b
commit 29bf00e209
12 changed files with 273 additions and 130 deletions
+26
View File
@@ -0,0 +1,26 @@
[package]
name = "wasm-tests"
version = "0.1.0"
edition = "2021"
publish = false
[dev-dependencies]
wasm-bindgen-test = "0.3.24"
tracing-wasm = "0.2.1"
console_error_panic_hook = "0.1.7"
# This crate is not a part of the workspace, because we want to
# enable the "web" feature here but don't want it enabled as part
# of workspace builds. Also disable the "subxt" feature here because
# we want to ensure it works in isolation of that.
subxt-signer = { path = "../../", default-features = false, features = [
"web",
"sr25519",
"ecdsa",
"unstable-eth",
"std",
] }
# this shouldn't be needed, it's in workspace.exclude, but still
# I get the complaint unless I add it...
[workspace]