ChainSafe / forest

🌲 Rust Filecoin Node Implementation
https://forest.chainsafe.io
Apache License 2.0
623 stars 149 forks source link

F3 Rust implementation tracking issue #4552

Open ruseinov opened 1 month ago

ruseinov commented 1 month ago

Issue summary

This tracks our current progress on f3 integration.

Considerations for wrapping/re-write

Potential complications

Call Go code from Rust

Re-write

Roadmap

To minimize the timeline risk, we've decided to

go-f3 integration with sidecar/FFI approach: #4644

rust-f3 implementation work items

Fine-grained to-do for rust-f3

Other information and links

LesnyRumcajs commented 1 month ago

@hanabi1224 @ruseinov Could you please update the issue to reflect the current plan?

ansermino commented 4 weeks ago

@hanabi1224 Thanks a bunch for updating this! Please can you breakout the go-f3 and the rust-f3 into their own issues/epics 🙏

Am I correct in understanding that integrating the sidecar is blocked until we get more info from the go-f3 team?

ruseinov commented 4 weeks ago

@hanabi1224 Thanks a bunch for updating this! Please can you breakout the go-f3 and the rust-f3 into their own issues/epics 🙏

Am I correct in understanding that integrating the sidecar is blocked until we get more info from the go-f3 team?

We have some new info in that regard. It seems like there's not going to be much action in terms of participation, because that depends on mining capabilities. Those in our case depend on Curio. So we're starting with following (getting all the certs and verifying them). What this means for Forest is:

  1. Fast finality
  2. F3 snapshot data, which basically is the whole cert sequence, which according to Kuba are lightweight.

It turns out that in order to follow we don't actually need much, just the cert exchange, which is pretty self-contained. So we'll be focusing on that and the sidecar in parallel. To be continued.

hanabi1224 commented 4 weeks ago

@hanabi1224 Thanks a bunch for updating this! Please can you breakout the go-f3 and the rust-f3 into their own issues/epics 🙏

Am I correct in understanding that integrating the sidecar is blocked until we get more info from the go-f3 team?

@ansermino Done. #4644

As @ruseinov mentioned, we're now clear about what are missing in the current go-f3 sidecar and I will look into closing the gap in a quick and dirty way to get a working sidecar demo