Slash upon Tendermint evidence

Decoding slash evidence requires specifying the instantiated generic
`TendermintNetwork`. While irrelevant, that generic includes a type satisfying
`tributary::P2p`. It was only possible to route now that we've redone the P2P
API.
This commit is contained in:
Luke Parker
2025-01-09 06:58:00 -05:00
parent 9b0b5fd1e2
commit 47eb793ce9
2 changed files with 32 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
mod tributary;
mod p2p {
use serai_coordinator_p2p::*;
pub use serai_coordinator_p2p::*;
pub use serai_coordinator_libp2p_p2p::Libp2p;
}