EPF Week 6 Development Updates ## TL;DR Dive into the P2P module which involved with the network sync API. ## Weekly EPF Activity - Cross compile the grandine on arm64 Mac. - Dive into the P2P module - Understanding the module dependencies among modules ### Generating module dependencies of modules Use `cargo-modules` [1] to generate graphic dependencies among modules: ``` cargo modules dependencies --no-externs --no-fns --no-sysroot --no-traits --no-types --no-uses --package p2p > mods.dot ``` For p2p module, we have the following dep: ![p2p-module](https://hackmd.io/_uploads/SkjbtV7YA.png) For validator module, we have the following dep: ![validator-module](https://hackmd.io/_uploads/r1XDKVmK0.png) For grandine outline: ![grandine-module](https://hackmd.io/_uploads/Hyp6YN7YR.png) ## Next Steps Consider understanding and adapting consensus-spec-tests/slashing-protection-interchange-tests properties. ## References - [1] [Cargo-modules](https://crates.io/crates/cargo-modules)