ChainSafe / forest

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

validate network definitions with `upgrades.json` #4941

Open LesnyRumcajs opened 3 weeks ago

LesnyRumcajs commented 3 weeks ago

Summary

There's a shared source of truth we could use in Forest to assert the correctness of its network definitions. See the JSON at https://github.com/filecoin-project/core-devs/pull/184

While having it as part of our build seems too much (especially since only a subset of the network is present), we can certainly include some validations in tests, i.e., check that the epochs are correct in the CI.

Completion Criteria

Additional Links & Resources