mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
Migrate to docs.substrate.io throughout (#10007)
* all reverences of substrate.dev replaced with *correct* docs.substrate.io links * fix links in non-cargo files, errors in replace * homepage https://substrate.io * cargo +nightly fmt * FMT Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -337,7 +337,7 @@ where
|
||||
fn max_encoded_len() -> usize {
|
||||
// BoundedVec<T, S> encodes like Vec<T> which encodes like [T], which is a compact u32
|
||||
// plus each item in the slice:
|
||||
// https://substrate.dev/rustdocs/v3.0.0/src/parity_scale_codec/codec.rs.html#798-808
|
||||
// https://docs.substrate.io/v3/advanced/scale-codec
|
||||
codec::Compact(S::get())
|
||||
.encoded_size()
|
||||
.saturating_add(Self::bound().saturating_mul(T::max_encoded_len()))
|
||||
|
||||
Reference in New Issue
Block a user