You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the network upgrade logic, there is a lot of duplication of code that potentially can be extracted to a function and called for all future upgrades. Some examples that Zen found during the code-review of the nv23 skeleton:
Background
In the network upgrade logic, there is a lot of duplication of code that potentially can be extracted to a function and called for all future upgrades. Some examples that Zen found during the code-review of the nv23 skeleton:
lotus/chain/consensus/filcns/upgrades.go
Lines 2173 to 2196 in d6d4fee
lotus/chain/consensus/filcns/upgrades.go
Lines 2526 to 2532 in 7f96be6
We should look into if we can refactor some of this to reduce code duplication, simplify future upgrades and enhance maintainability.
The text was updated successfully, but these errors were encountered: