4 Commits

Author SHA1 Message Date
55eab8a397 feat: add Network Version 27 skeleton (#13125)
* feat: network version 27 skeleton

* fix(nv27): skip TockFix actors version sanity check

As per comment inline, this is getting in the way of landing a skeleton
for nv27 with an identical actors bundle so version resolution for v16 CIDs
was showing 17.

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
2025-06-26 08:52:48 +02:00
632e20a626 feat!: fip-0100 dev builds of builtin-actors & go-state-types
Changes some APIs exposed in the miner actor wrapper.
2025-03-19 13:43:52 +11:00
06bec3a72f feat(miner): add DDO-friendly StateMinerInitialPledgeForSector (#12384)
* feat(miner): add DDO-friendly StateMinerInitialPledgeForSector

Fixes: https://github.com/filecoin-project/lotus/issues/12369

deprecate StateMinerInitialPledgeCollateral since it only accounts for deals
in PCI, which aren't present in a DDO world

* feat: simplify StateMinerInitialPledgeForSector arguments

* feat(miner): use StateMinerInitialPledgeForSector for collateral calcs

* docs: add StateMinerInitialPledgeForSector to CHANGELOG

* fix: undo unnecessary docsgen changes

* chore(state): use types.EmptyInt as err return instead of big.Zero()

* chore(miner): add tests for pledge calculations

* doc(miner): more docs about pledge calculation delta

* chore(miner): tweaks to pledge api from feedback
2024-09-25 16:51:55 +10:00
312fa3a5cc Simplify code generation logic for a faster and better UX (#12493)
The changes here simplify the string of targets executed as part of
`make gen`. The simplifications include:
* parallelised code generation whenever possible
* re-implementation of documentation generation for a significant
  simplification and improved readability.
* unified mocks generation to avoid multiple slow calls to `go run` per
  package.

Note, the changes introduced here are purely mechanical and do not alter
the Lotus node functionality.

Fixes #8392
2024-09-20 16:32:54 +00:00