mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 03:31:03 +00:00
Move client only primitives to another dir (#9220)
* Move alloc primitive (not used in /pallets) * Move to alternative location as not shared * moved crates to different dir * ren sp_chain_spec to sc_chain_spec_primatives * merged sc-chain-spec and moved allocation up one. * no no_std * nudge * Bump CI
This commit is contained in:
@@ -141,7 +141,7 @@ impl Encode for Data {
|
||||
Data::Raw(ref x) => {
|
||||
let l = x.len().min(32);
|
||||
let mut r = vec![l as u8 + 1; l + 1];
|
||||
&mut r[1..].copy_from_slice(&x[..l as usize]);
|
||||
r[1..].copy_from_slice(&x[..l as usize]);
|
||||
r
|
||||
}
|
||||
Data::BlakeTwo256(ref h) => once(34u8).chain(h.iter().cloned()).collect(),
|
||||
@@ -1161,4 +1161,3 @@ impl<T: Config> Pallet<T> {
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user