add ethcore-light cov target
This commit is contained in:
parent
9a4dfbd211
commit
415fccfffb
@ -64,6 +64,10 @@ impl IoContext for Expect {
|
|||||||
fn disable_peer(&self, peer: PeerId) {
|
fn disable_peer(&self, peer: PeerId) {
|
||||||
assert_eq!(self, &Expect::Punish(peer));
|
assert_eq!(self, &Expect::Punish(peer));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn protocol_version(&self, _peer: PeerId) -> Option<u8> {
|
||||||
|
Some(super::MAX_PROTOCOL_VERSION)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// can't implement directly for Arc due to cross-crate orphan rules.
|
// can't implement directly for Arc due to cross-crate orphan rules.
|
||||||
|
@ -17,4 +17,5 @@ export TARGETS="
|
|||||||
-p ethcore-ipc \
|
-p ethcore-ipc \
|
||||||
-p ethcore-ipc-tests \
|
-p ethcore-ipc-tests \
|
||||||
-p ethcore-ipc-nano \
|
-p ethcore-ipc-nano \
|
||||||
|
-p ethcore-light \
|
||||||
-p parity"
|
-p parity"
|
||||||
|
Loading…
Reference in New Issue
Block a user