mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
Bump substrate & deps (#637)
This commit is contained in:
committed by
Bastian Köcher
parent
820407ee98
commit
58fbd8cb49
@@ -289,7 +289,7 @@ impl AuraHeader {
|
||||
}
|
||||
}
|
||||
|
||||
s.out()
|
||||
s.out().to_vec()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -320,7 +320,7 @@ impl UnsignedTransaction {
|
||||
pub fn rlp(&self, chain_id: Option<u64>) -> Bytes {
|
||||
let mut stream = RlpStream::new_list(if chain_id.is_some() { 9 } else { 6 });
|
||||
self.rlp_to(chain_id, &mut stream);
|
||||
stream.out()
|
||||
stream.out().to_vec()
|
||||
}
|
||||
|
||||
/// Encode to given rlp stream.
|
||||
@@ -392,7 +392,7 @@ impl Receipt {
|
||||
s.append(&log.data);
|
||||
}
|
||||
|
||||
s.out()
|
||||
s.out().to_vec()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -412,7 +412,7 @@ impl SealedEmptyStep {
|
||||
for empty_step in empty_steps {
|
||||
s.begin_list(2).append(&empty_step.signature).append(&empty_step.step);
|
||||
}
|
||||
s.out()
|
||||
s.out().to_vec()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ impl SignHeader for AuraHeader {
|
||||
|
||||
let message = self.seal_hash(false).unwrap();
|
||||
let signature = sign(author, message);
|
||||
self.seal[1] = rlp_encode(&signature);
|
||||
self.seal[1] = rlp_encode(&signature).to_vec();
|
||||
self
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ impl SignTransaction for UnsignedTransaction {
|
||||
stream.append(&signature_v);
|
||||
stream.append(&signature_r);
|
||||
stream.append(&signature_s);
|
||||
stream.out()
|
||||
stream.out().to_vec()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user