Bump structopt from 0.3.23 to 0.3.25 (#10253)

* Bump structopt from 0.3.23 to 0.3.25

Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.23...v0.3.25)

---
updated-dependencies:
- dependency-name: structopt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* cargo fmt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
dependabot[bot]
2021-11-13 02:35:07 +00:00
committed by GitHub
parent 423cde8ad0
commit bae12f41b8
20 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ sc-service = { version = "0.10.0-dev", default-features = false, path = "../serv
sc-telemetry = { version = "4.0.0-dev", path = "../telemetry" }
sp-keyring = { version = "4.0.0-dev", path = "../../primitives/keyring" }
names = { version = "0.12.0", default-features = false }
structopt = "0.3.8"
structopt = "0.3.25"
sc-tracing = { version = "4.0.0-dev", path = "../tracing" }
chrono = "0.4.10"
serde = "1.0.126"
@@ -111,7 +111,7 @@ pub(super) fn check_header<B: BlockT + Sized>(
);
check_secondary_plain_header::<B>(pre_hash, secondary, sig, &epoch)?;
}
},
PreDigest::SecondaryVRF(secondary)
if epoch.config.allowed_slots.is_secondary_vrf_slots_allowed() =>
{
@@ -122,7 +122,7 @@ pub(super) fn check_header<B: BlockT + Sized>(
);
check_secondary_vrf_header::<B>(pre_hash, secondary, sig, &epoch)?;
}
},
_ => return Err(babe_err(Error::SecondarySlotAssignmentsDisabled)),
}
@@ -712,7 +712,7 @@ impl Notifications {
timer: delay_id,
timer_deadline: *backoff,
};
}
},
// Disabled => Enabled
PeerState::Disabled { mut connections, backoff_until } => {
@@ -2085,7 +2085,7 @@ impl NetworkBehaviour for Notifications {
.boxed(),
);
}
}
},
// We intentionally never remove elements from `delays`, and it may
// thus contain obsolete entries. This is a normal situation.
@@ -203,7 +203,7 @@ impl<B: BlockT> BlockCollection<B> {
{
*downloading -= 1;
false
}
},
Some(&mut BlockRangeState::Downloading { .. }) => true,
_ => false,
};
@@ -529,7 +529,7 @@ fn fallback_name_working() {
{
assert_eq!(negotiated_fallback, Some(PROTOCOL_NAME));
break
}
},
_ => {},
};
}
+2 -2
View File
@@ -336,13 +336,13 @@ impl<B: BlockT + 'static, H: ExHashT> TransactionsHandler<B, H> {
},
);
debug_assert!(_was_in.is_none());
}
},
Event::NotificationStreamClosed { remote, protocol }
if protocol == self.protocol_name =>
{
let _peer = self.peers.remove(&remote);
debug_assert!(_peer.is_some());
}
},
Event::NotificationsReceived { remote, messages } => {
for (protocol, message) in messages {