github filecoin-project/lotus v1.12.0

latest releases: v1.26.3, v1.26.2, v1.26.1...
2 years ago

This is a mandatory release of Lotus that introduces Filecoin Network v14, codenamed the Chocolate upgrade. The Filecoin mainnet will upgrade at epoch 1231620, on 2021-10-26T13:30:00Z.

The Chocolate upgrade introduces the following FIPs, delivered in v6 actors

  • FIP-0020: Add return value to WithdrawBalance
  • FIP-0021: Correct quality calculation on expiration
  • FIP-0022: Bad deals don't fail PublishStorageDeals
  • FIP-0023: Break ties between tipsets of equal weight
  • FIP-0024: BatchBalancer & BatchDiscount Post-HyperDrive Adjustment
  • FIP-0026: Extend sector faulty period from 2 weeks to 6 weeks

Note that this release is built on top of lotus v1.11.3. Enterprising users like storage providers, data brokers and others are recommended to use lotus v1.13.0 for latest new features, improvements and bug fixes. Check here for more details.

If you have any questions or concerns on the upgrade or the release, please leave a comment in this discussion.

New Features and Changes

  • Implement and support FIP-0024 BatchBalancer & BatchDiscount Post-HyperDrive Adjustment:
    • Precommit batch balancer support/config (filecoin-project/lotus#7410)
      • Set BatchPreCommitAboveBaseFee to decide whether sending out a PreCommits in individual messages or in a batch.
      • The default value of BatchPreCommitAboveBaseFee and AggregateAboveBaseFee are now updated to 0.32nanoFIL.
  • The amount of FIL withdrawn from WithdrawBalance from miner or market via lotus CLI is now printed out upon message landing on the chain.

Improvements

Bug Fixes

Dependency Updates

  • Add v6 actors
    • Protocol changes
      • Multisig Approve only hashes when hash in params
      • FIP 0020 WithdrawBalance methods return withdrawn value
      • FIP 0021 Fix bug in power calculation when extending verified deals sectors
      • FIP 0022 PublishStorageDeals drops errors in batch
      • FIP 0024 BatchBalancer update and burn added to PreCommitBatch
      • FIP 0026 Add FaultMaxAge extension
      • Reduce calls to power and reward actors by passing values from power cron
      • Defensive programming hardening power cron against programmer error
    • Implementation changes
      • Move to xerrors
      • Improved logging: burn events are not logged with reasons and burned value.
  • github.com/filecoin-project/go-state-types (v0.1.1-0.20210810190654-139e0e79e69e -> v0.1.1-0.20210915140513-d354ccf10379):

Others

Contributors

Contributor Commits Lines ± Files Changed
@ZenGround0 12 +4202/-2752 187
@arajasek 25 +4567/-854 190
@laudiacay 4 +1276/-435 37
@laudiacay 12 +1350/-209 43
@magik6k 1 +171/-13 8
@Stebalien 2 +115/-12 6
@jennijuju 7 +73/-34 26
@travisperson 2 +19/-19 7
@coryschwartz 1 +16/-2 2
@Kubuxu 5 +5/-5 5
@ribasushi 1 +5/-3 1

Don't miss a new lotus release

NewReleases is sending notifications on new releases.