mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 07:41:08 +00:00
Update to latest Substrate and Polkadot (#348)
* Update to latest Substrate and Polkadot * log::debug! * Add log dependecies to runtime * Comma * Fix tests
This commit is contained in:
@@ -149,7 +149,7 @@ impl BlockAnnounceData {
|
||||
return Err(BlockAnnounceError(format!("{:?}", e)));
|
||||
}
|
||||
};
|
||||
let signer = match authorities.get(validator_index as usize) {
|
||||
let signer = match authorities.get(validator_index.0 as usize) {
|
||||
Some(r) => r,
|
||||
None => {
|
||||
tracing::debug!(
|
||||
|
||||
@@ -141,7 +141,7 @@ async fn make_gossip_message_and_header(
|
||||
&keystore,
|
||||
statement,
|
||||
&signing_context,
|
||||
validator_index,
|
||||
validator_index.into(),
|
||||
&alice_public.into(),
|
||||
)
|
||||
.await
|
||||
@@ -259,7 +259,7 @@ fn check_statement_seconded() {
|
||||
&keystore,
|
||||
statement,
|
||||
&signing_context,
|
||||
0,
|
||||
0.into(),
|
||||
&alice_public.into(),
|
||||
))
|
||||
.ok()
|
||||
|
||||
Reference in New Issue
Block a user