22013 Commits

Author SHA1 Message Date
Phi
d849eb6b27 chore: update changelog
chore: update changelog
2025-03-20 08:40:00 +01:00
Phi
d2be3a8254 feat: improve lotus-gateway build for network selection
feat: improve lotus-gateway build for network selection
2025-03-20 08:21:35 +01:00
3d0018c2f0 chore: update butterfly network assets (#12966)
* chore: reset butterflynetwork

Set the Teep upgrade height to occur 1.5 days after the network reset, and the Tock upgrade height to occur 2 days after the Teep upgrade.

* chore: update genesis butterflynet

chore: update genesis butterflynet
2025-03-19 11:11:59 +00:00
e2367310ad chore: update Calibration Teep height (#12964)
chore: update Calibration Teep height
2025-03-19 07:37:22 +01:00
945451c528 feat(miner): remove batch balancer-related functionality (#12919)
Closes: https://github.com/filecoin-project/lotus/issues/12902
2025-03-19 16:07:32 +11:00
17067d655d fix: reduce amount of buildconstant hacking in itests 2025-03-19 13:43:52 +11:00
606e51ae81 chore: update actors bundle to v16.0.0-rc3 2025-03-19 13:43:52 +11:00
10125e44a5 fix(calibnet): Tock upgrade 7 days after Teep 2025-03-19 13:43:52 +11:00
82b0a0615b chore: update go-state-types to remove DeprecatedDealIds from JSON 2025-03-19 13:43:52 +11:00
597a17768a chore(fip0100): harden and clean-up daily fee itest 2025-03-19 13:43:52 +11:00
4893eecb54 chore: upgrade go-state-types to v0.16.0-rc6 2025-03-19 13:43:52 +11:00
36b2478fdb feat(fip0100): updates to FIP including Teep->Tock 2025-03-19 13:43:52 +11:00
2d4da76fea feat(miner): adjust SectorOnChainInfo for FIP-0098 (new nullables) 2025-03-19 13:43:52 +11:00
637e21519d chore(fees): add initial fees & migration testing (FIP-0100) (#12942) 2025-03-19 13:43:52 +11:00
6f3a194c75 fix(build)!: adjust FilReserved for FIP-0100 for non-mainnet 2025-03-19 13:43:52 +11: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
Phi
0e86fc545d chore: update actors bundle to v16.0.0-rc2
chore: update actors bundle to v16.0.0-rc2
2025-03-19 13:43:52 +11:00
Phi
515b33d62d chore: bump ffi to v1.32.0-rc2
chore: bump ffi to v1.32.0-rc2
2025-03-19 13:43:52 +11:00
4c58c0e50f chore(deps): upgrade golang.org/x packages and go-pubsub to latest versions (#12962) 2025-03-19 10:24:12 +11:00
79206a00eb chore: upgrade to go-f3 v0.8.3 (#12941)
Upgrade to go-f3 `v0.8.3`

Upgrade to the latest go-f3, to bubble up:
* various bug fixes
* extended manifest parameters for better control in passive testing

Note that the return type from F3GetProgress API has changed to now
include the input chain to an instance.

Update CLI templates to print the additional fields.
2025-03-17 17:34:33 +00:00
096641772f chore: set nv25 calibnet upgrade epoch (#12951)
chore: set nv25 calibnet upgrade epoch
2025-03-17 10:48:22 +01:00
34061ef387 chore(docs): minor godoc fixes in tests (#12956)
Signed-off-by: growfrow <growfrow@outlook.com>
2025-03-17 12:08:20 +11:00
926d924d3e feat: add Agent to Filecoin.Version ! (#12953)
feat: add Agent to `Filecoin.Version`
2025-03-14 13:09:04 +00:00
c1e5f5ddf6 fix(index): avoid deadlock on close (#12950)
We can't hold the write lock while waiting on close because isClosed was
taking the read lock (and called while closing).

Instead, I just got rid of the locks entirely. Now, we just check the
context. Really, I'm not sure why we even have such an "is closed"
check. I _think_ what we actually want is to lock to prevent closing
until we've finished all atomic operations, but that's a larger change
and I don't have enough understanding of this code to easily make that
change.
2025-03-14 00:46:49 +00:00
b8718a8b00 fix: prevent panic in FullNodeProxy with empty node list (#12948)
fix: prevent panic in FullNodeProxy with empty node list

fix: prevent panic in FullNodeProxy with empty node list
2025-03-13 14:38:05 +01:00
f257a9c8af Merge pull request #12949 from filecoin-project/f3/fix-initital-cid
fix: f3: use F3InitialPowerTableCID in contract provided manifests
2025-03-13 14:09:03 +01:00
569402fa1e fix: f3: use F3InitialPowerTableCID in contract provided manifests
Signed-off-by: Jakub Sztandera <oss@kubuxu.com>
2025-03-12 15:56:52 +01:00
a474d459b2 feat: add ChainGetMessagesInTipset to Lotus Gateway (#12947)
* feat: add `ChainGetMessagesInTipset` to Lotus Gateway

feat: add `ChainGetMessagesInTipset` to Lotus Gateway

* chore: update changelog

chore: update changelog
2025-03-11 15:28:25 +01:00
ec8ee4039e chore(build): update filecoin-ffi to a released version (#12944)
That way we can pull releases from GitHub instead of building every
time. This updates the FFI to v1.32.0-rc2.
2025-03-11 00:10:37 +00:00
5307183f45 chore: update go-state-types with empty big.Int{} handling (#12936) 2025-03-10 20:49:41 +00:00
241ce6da70 Merge pull request #12943 from filecoin-project/f3/fix-pubsub-topic-no-static
fix: f3: topic filter with no static manifest
2025-03-10 16:54:56 +01:00
5273b3050e fix: f3: topic filter with no static manifest
Signed-off-by: Jakub Sztandera <oss@kubuxu.com>
2025-03-10 15:44:48 +01:00
f8bce1189c chore(deps): update filecoin-ffi (#12940)
Switch from type aliases to newtypes when we define methods on C types
as go 1.24 removed support for defining new functions directly on C types.
2025-03-07 16:59:19 +00:00
b0474491d0 fix: delegate integer operations to go-state-types (#12935)
This delegates most calls to go-state-types and treats "nil" as
"zero" (we encode nil as zero, so we might as well treat it as such when
doing math).
2025-03-07 03:35:37 +00:00
7b16d37ca3 chore: reduce participation log verbosity when F3 isn't ready (#12937)
Reduce participation log verbosity when F3 isn't ready

Move log level in case of error to `DEBUG` entirely. The chances are
when there's an issue with F3 participation `DEBUG` level logging is
needed to understand why anyway.
2025-03-06 08:23:29 +00:00
48cd35195a fix: allow users to optionally configure node startup even if index reconciliation fails (#12930)
* optional index start on reconciliation failure

* warning

* fix ChangeLog

* fix make gen

* fix compilation
2025-03-06 11:43:38 +04:00
157cad6524 fix(drand): add null HistoricalBeaconClient for old beacons (#12830)
* fix(drand): add null HistoricalBeaconClient for old beacons
* chore(drand): upgrade drand to drand/v2 and drand/go-clients
* chore(deps): upgrade urfave/cli

Fixes: https://github.com/filecoin-project/lotus/issues/11802
Ref: https://github.com/filecoin-project/lotus/issues/11802#issuecomment-2601854846
2025-03-05 10:59:08 +11:00
05318a5dea feat: add env-var to disable F3 activation (#12920) 2025-03-03 18:47:00 +01:00
00c1c596b5 Merge pull request #12929 from filecoin-project/deploy/butterfly
feat(f3): add F3ParamsAddress to buildconstants, wire it in, specify Butterfly
2025-03-03 17:28:16 +01:00
a101f030b0 Add F3ParamsAddress to buildconstants, wire it in, specify Butterfly
Signed-off-by: Jakub Sztandera <oss@kubuxu.com>
2025-03-03 16:32:20 +01:00
e894b7f52d feat: add GenesisTimestamp to NetworkParams (#12925) 2025-02-28 12:45:43 +01:00
e2a790ef3a chore: update butterfly genesis (#12924) 2025-02-27 15:01:44 +01:00
5f5533388a feat: allow genesis timestamp to be specified in lotus-seed genesis new (#12923)
Allow genesis timestamp to be specified in `lotus-seed genesis new`

Add the ability to specify the genesis timestamp in
`lotus-seed genesis new` command in RFC-3339 format.
2025-02-27 10:10:18 +00:00
57d6769aae docs(api): document 10% overestimation in collateral/pledge APIs (#12922)
docs(api): document 10% overestimation in collateral/pledge APIs
2025-02-26 15:27:13 +01:00
746995ea88 fix: fix broken InsecurePoStValidation build constant (#12918)
Fix broken `InsecurePoStValidation` build constant

Prior to changes here, `InsecurePoStValidation` in `debug` was a noop.
2025-02-24 18:13:24 +00:00
686ab2d562 chore: upgrade to go-f3 v0.8.2 (#12917)
Upgrade to the latest `go-f3` to pull in the bug fixes and GPBFT topic
name change.
2025-02-24 18:47:38 +01:00
590391fa1b chore: parameterise balance in lotus-seed genesis add-miner (#12915)
Parameterise balance in `lotus-shed add-miner`

Allow the balance to be specified in `lotus-seed genesis add-miner` via
`--balance` flag.
2025-02-24 13:58:13 +01:00
46cf79fe84 chore: skip bootstrap address override if LOTUS_P2P_BOOTSTRAPPERS is empty (#12914)
Skip bootstrap address override if `LOTUS_P2P_BOOTSTRAPPERS` is empty

Do not parse bootstrapper addresses if it's overridden via
`LOTUS_P2P_BOOTSTRAPPERS` with empty value.
2025-02-24 10:49:15 +01:00
ea29eed4d1 feat(ci): run unit test jobs on arm64 machines additionally (#12864)
* chore: move test metadata retrieval to a new Go CLI tool

* ci: install go before retrieving test group metadata

* ci: run unit tests on arm64 machines

* ci: fix the packages metadata

* ci: cache deps per runner os and arch

* chore: rename name to testGroupName where applicable

* chore: add createPackagePath helper

* chore: turn runners into an enumerated type

* chore: sort testGroupNamesToRunners

* chore: rename find/getIntegrationTestGroups

* chore: use for-loop to get unit and other test groups

* chore: reorganize the ci cli

* chore: rename list test groups

* chore: restore the runner selection

* chore: resolve pull request review comments
2025-02-23 18:34:47 +01:00
2cb2608967 docs(mpool): fix typos in documentation (#12905)
Update mpool.md

fix typos
2025-02-22 11:25:37 +01:00