mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
Fix docs urls (#11966)
* Fix docs urls * Update bin/node-template/README.md * Update frame/aura/src/lib.rs * Run cargo +nightly fmt Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -847,7 +847,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://docs.substrate.io/v3/advanced/scale-codec
|
||||
// See: https://docs.substrate.io/reference/scale-codec/
|
||||
codec::Compact(S::get())
|
||||
.encoded_size()
|
||||
.saturating_add(Self::bound().saturating_mul(T::max_encoded_len()))
|
||||
|
||||
@@ -443,7 +443,7 @@ where
|
||||
fn max_encoded_len() -> usize {
|
||||
// WeakBoundedVec<T, S> encodes like Vec<T> which encodes like [T], which is a compact u32
|
||||
// plus each item in the slice:
|
||||
// https://docs.substrate.io/v3/advanced/scale-codec
|
||||
// See: https://docs.substrate.io/reference/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