mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 06:47:57 +00:00
Fix call enum's metadata regression (#3513)
This fixes an issue introduced in https://github.com/paritytech/substrate/pull/14101, in which I removed the `Call` enum's documentation and replaced it with a link to the `Pallet` struct, but this also removed any docs related to call from the metadata. I tried to add a regression test for this, but it seems to me that this is not possible, given that using `type-info` we only assert in type-ids for `Call`, `Event` and `Error`. I removed some doc comments from a test setup in `frame-support-test` to demonstrate the issue there. @jsdw do you have any comments on this? I also fixed a small issue in the custom html/css of `polkadot-sdk-doc` crate, making sure it does not affect the rust-doc page of all other crates. - [x] Investigate a regression test - [x] prdoc
This commit is contained in:
@@ -18,13 +18,24 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
array-bytes = { version = "6.1", default-features = false }
|
||||
serde = { features = ["alloc", "derive"], workspace = true }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
|
||||
sp-api = { path = "../../primitives/api", default-features = false, features = ["frame-metadata"] }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
|
||||
"derive",
|
||||
"max-encoded-len",
|
||||
] }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = [
|
||||
"derive",
|
||||
] }
|
||||
frame-metadata = { version = "16.0.0", default-features = false, features = [
|
||||
"current",
|
||||
] }
|
||||
sp-api = { path = "../../primitives/api", default-features = false, features = [
|
||||
"frame-metadata",
|
||||
] }
|
||||
sp-std = { path = "../../primitives/std", default-features = false }
|
||||
sp-io = { path = "../../primitives/io", default-features = false }
|
||||
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
|
||||
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = [
|
||||
"serde",
|
||||
] }
|
||||
sp-tracing = { path = "../../primitives/tracing", default-features = false }
|
||||
sp-core = { path = "../../primitives/core", default-features = false }
|
||||
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
|
||||
|
||||
Reference in New Issue
Block a user