Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Merge releases into master #8156

Merged
merged 41 commits into from
Feb 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
73208b8
update the proofs in test plans`
jennijuju Feb 8, 2022
3b5f367
Merge pull request #8042 from filecoin-project/jen/testplanproof
jennijuju Feb 9, 2022
212f5dd
wip FinalizeReplicaUpdate
magik6k Feb 2, 2022
9a117fa
try ClearCache for update cache
magik6k Feb 3, 2022
f2a6c94
mod tidy
magik6k Feb 3, 2022
9a01964
itests: Print API info env vars in ThroughRPC tests
magik6k Feb 8, 2022
53e1f75
Add FinalizeReplicaUpdate into some more places
magik6k Feb 8, 2022
229cfaf
make gen
magik6k Feb 8, 2022
ea32b41
Fix missing FinalizeReplicaUpdate in tests
magik6k Feb 8, 2022
ecc1f4b
Make FinalizeReplicaUpdate actually do cleanup
magik6k Feb 8, 2022
263de5b
Use tagged specs-storage
magik6k Feb 9, 2022
4289ce1
fsm: Call ReleaseSectorKey after WinningPoSt lookback period
magik6k Feb 9, 2022
9f54c4d
Fix CheckProvable with updated sectors
magik6k Feb 9, 2022
a5bddbc
proofs master
magik6k Feb 9, 2022
02c0fb7
ffiwrapper: Use ClearCache for update cache cleanup
magik6k Feb 9, 2022
9e76a78
sealing: Use ChainAt in handleUpdateActivating
magik6k Feb 9, 2022
407c6cf
Stop recovery attempts after fault
ZenGround0 Feb 1, 2022
a1098f6
Cleanup go.mod
magik6k Jan 18, 2022
cb25187
v1.14.0-rc7
jennijuju Feb 10, 2022
ad0f44f
Merge pull request #8070 from filecoin-project/jen/rc7
jennijuju Feb 11, 2022
7fd4c96
typo in change log
jennijuju Feb 11, 2022
56df886
fix: sealer: allow enable/disabling ReplicaUpdate tasks
arajasek Feb 14, 2022
c217ccf
Merge pull request #8092 from filecoin-project/asr/enabler14
arajasek Feb 15, 2022
3b3b072
feat: tweak v15 migration params
arajasek Feb 16, 2022
7a0f88c
Merge pull request #8115 from filecoin-project/asr/migration-tweak
arajasek Feb 16, 2022
43c0344
typo in variable name
jennijuju Feb 17, 2022
33134e6
Merge pull request #8123 from filecoin-project/jen/fixcli
arajasek Feb 17, 2022
b708fbc
sealer: fix error message
arajasek Feb 17, 2022
ab2cea6
Merge pull request #8137 from filecoin-project/asr/backport
arajasek Feb 17, 2022
0521d79
tidy go.sum
arajasek Feb 18, 2022
b311c26
Lotus version 1.14.0: set OhSnap upgrade epoch
arajasek Feb 18, 2022
94e3088
Merge pull request #8143 from filecoin-project/asr/release
arajasek Feb 18, 2022
e05b9ce
CHANGELOG: add a note about premigrations
arajasek Feb 18, 2022
3bb6efe
Merge pull request #8144 from filecoin-project/asr/release
arajasek Feb 18, 2022
c8edd5b
CHANGELOG: add a note about premigrations
arajasek Feb 18, 2022
c5bd019
Fix mainnet upgrade date, epoch is correct
jennijuju Feb 18, 2022
94bfd5c
version v1.14.1
jennijuju Feb 18, 2022
f3db3da
Merge pull request #8153 from filecoin-project/jen/rv141prep
arajasek Feb 18, 2022
0ce666a
Merge branch 'releases' into release/v1.14.1
jennijuju Feb 18, 2022
d2dca7b
Merge pull request #8154 from filecoin-project/release/v1.14.1
arajasek Feb 18, 2022
d352164
Merge branch 'releases' into asr/releases-master
arajasek Feb 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
# Lotus changelog

# 1.14.1 / 2022-02-18

This is an **optional** release of lotus, that fixes the incorrect *comment* of network v15 OhSnap upgrade **date**. Note the actual upgrade epoch in [v1.14.0](https://github.com/filecoin-project/lotus/releases/tag/v1.14.0) was correct.

# 1.14.0 / 2022-02-17

This is a MANDATORY release of Lotus that introduces [Filecoin network v15,
codenamed the OhSnap upgrade](https://github.com/filecoin-project/community/discussions/74?sort=new#discussioncomment-1922550).

The network is scheduled to upgrade to v15 on March 1st at 2022-03-01T15:00:00Z. All node operators, including storage providers, must upgrade to this release (or a later release) before that time. Storage providers must update their daemons, miners, and worker(s).

The OhSnap upgrade introduces the following FIPs, delivered in [actors v7](https://github.com/filecoin-project/specs-actors/releases/tag/v7.0.0):
- [FIP-0019 Snap Deals](https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0019.md)
- [FIP-0028 Remove Datacap from Verified clients](https://github.com/filecoin-project/FIPs/pull/226)

It is recommended that storage providers download the new params before updating their node, miner, and workers. To do so:

- Download Lotus v1.14.0 or later
- run `make lotus-shed`
- run `./lotus-shed fetch-params` with the appropriate `proving-params` flag
- Upgrade the Lotus daemon and miner **when the previous step is complete**

All node operators, including storage providers, should be aware that a pre-migration will begin at 2022-03-01T13:30:00Z (150 minutes before the real upgrade). The pre-migration will take between 20 and 50 minutes, depending on hardware specs. During this time, expect slower block validation times, increased CPU and memory usage, and longer delays for API queries.

## New Features and Changes
- Integrate actor v7-rc1:
- Integrate v7 actors ([#7617](https://github.com/filecoin-project/lotus/pull/7617))
- feat: state: Fast migration for v15 ([#7933](https://github.com/filecoin-project/lotus/pull/7933))
- fix: blockstore: Add missing locks to autobatch::Get() [#7939](https://github.com/filecoin-project/lotus/pull/7939))
- correctness fixes for the autobatch blockstore ([#7940](https://github.com/filecoin-project/lotus/pull/7940))
- Implement and support [FIP-0019 Snap Deals](https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0019.md)
- chore: deps: Integrate proof v11.0.0 ([#7923](https://github.com/filecoin-project/lotus/pull/7923))
- Snap Deals Lotus Integration: FSM Posting and integration test ([#7810](https://github.com/filecoin-project/lotus/pull/7810))
- Feat/sector storage unseal ([#7730](https://github.com/filecoin-project/lotus/pull/7730))
- Feat/snap deals storage ([#7615](https://github.com/filecoin-project/lotus/pull/7615))
- fix: sealing: Add more deal expiration checks during PRU pipeline ([#7871](https://github.com/filecoin-project/lotus/pull/7871))
- chore: deps: Update go-paramfetch ([#7917](https://github.com/filecoin-project/lotus/pull/7917))
- feat: #7880 gas: add gas charge for VerifyReplicaUpdate ([#7897](https://github.com/filecoin-project/lotus/pull/7897))
- enhancement: sectors: disable existing cc upgrade path 2 days before the upgrade epoch ([#7900](https://github.com/filecoin-project/lotus/pull/7900))

## Improvements
- updating to new datastore/blockstore code with contexts ([#7646](https://github.com/filecoin-project/lotus/pull/7646))
- reorder transfer checks so as to ensure sending 2B FIL to yourself fails if you don't have that amount ([#7637](https://github.com/filecoin-project/lotus/pull/7637))
- VM: Circ supply should be constant per epoch ([#7811](https://github.com/filecoin-project/lotus/pull/7811))

## Bug Fixes
- Fix: state: circsuypply calc around null blocks ([#7890](https://github.com/filecoin-project/lotus/pull/7890))
- Mempool msg selection should respect block message limits ([#7321](https://github.com/filecoin-project/lotus/pull/7321))
SplitStore: supress compaction near upgrades ([#7734](https://github.com/filecoin-project/lotus/pull/7734))

## Others
- chore: create pull_request_template.md ([#7726](https://github.com/filecoin-project/lotus/pull/7726))

## Contributors

| Contributor | Commits | Lines ± | Files Changed |
|-------------|---------|---------|---------------|
| Aayush Rajasekaran | 41 | +5538/-1205 | 189 |
| zenground0 | 11 | +3316/-524 | 124 |
| Jennifer Wang | 29 | +714/-599 | 68 |
| ZenGround0 | 3 | +263/-25 | 11 |
| c r | 2 | +198/-30 | 6 |
| vyzo | 4 | +189/-7 | 7 |
| Aayush | 11 | +146/-48 | 49 |
| web3-bot | 10 | +99/-17 | 10 |
| Steven Allen | 1 | +55/-37 | 1 |
| Jiaying Wang | 5 | +30/-8 | 5 |
| Jakub Sztandera | 2 | +8/-3 | 3 |
| Łukasz Magiera | 1 | +3/-3 | 2 |
| Travis Person | 1 | +2/-2 | 2 |
| Rod Vagg | 1 | +2/-2 | 2 |

# v1.13.2 / 2022-01-09

Lotus v1.13.2 is a *highly recommended* feature release with remarkable retrieval improvements, new features like
Expand Down
3 changes: 2 additions & 1 deletion build/params_mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ const UpgradeHyperdriveHeight = 892800
// 2021-10-26T13:30:00Z
const UpgradeChocolateHeight = 1231620

var UpgradeOhSnapHeight = abi.ChainEpoch(999999999999)
// 2022-03-01T15:00:00Z
var UpgradeOhSnapHeight = abi.ChainEpoch(1594680)

func init() {
if os.Getenv("LOTUS_USE_TEST_ADDRESSES") != "1" {
Expand Down
3 changes: 2 additions & 1 deletion extern/storage-sealing/upgrade_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ func sectorActive(ctx context.Context, api SealingAPI, maddr address.Address, to
if err != nil {
return false, xerrors.Errorf("failed to check active sectors: %w", err)
}
// Check if sector is among active sectors

// Ensure the upgraded sector is active
var found bool
for _, si := range active {
if si.SectorNumber == sector {
Expand Down
4 changes: 2 additions & 2 deletions testplans/lotus-soup/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ github.com/filecoin-project/specs-actors/v7 v7.0.0-20211117170924-fd07a4c7dff9/g
github.com/filecoin-project/specs-actors/v7 v7.0.0-20211222192039-c83bea50c402/go.mod h1:p6LIOFezA1rgRLMewbvdi3Pp6SAu+q9FtJ9CAleSjrE=
github.com/filecoin-project/specs-actors/v7 v7.0.0-rc1 h1:FuDaXIbcw2hRsFI8SDTmsGGCE+NumpF6aiBoU/2X5W4=
github.com/filecoin-project/specs-actors/v7 v7.0.0-rc1/go.mod h1:TA5FwCna+Yi36POaT7SLKXsgEDvJwc0V/L6ZsO19B9M=
github.com/filecoin-project/specs-storage v0.1.1-0.20211228030229-6d460d25a0c9 h1:oUYOvF7EvdXS0Zmk9mNkaB6Bu0l+WXBYPzVodKMiLug=
github.com/filecoin-project/specs-storage v0.1.1-0.20211228030229-6d460d25a0c9/go.mod h1:Tb88Zq+IBJbvAn3mS89GYj3jdRThBTE/771HCVZdRJU=
github.com/filecoin-project/specs-storage v0.2.0 h1:Y4UDv0apRQ3zI2GiPPubi8JblpUZZphEdaJUxCutfyg=
github.com/filecoin-project/specs-storage v0.2.0/go.mod h1:Tb88Zq+IBJbvAn3mS89GYj3jdRThBTE/771HCVZdRJU=
github.com/filecoin-project/test-vectors/schema v0.0.5/go.mod h1:iQ9QXLpYWL3m7warwvK1JC/pTri8mnfEmKygNDqqY6E=
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
github.com/flynn/noise v1.0.0 h1:DlTHqmzmvcEiKj+4RYo/imoswx/4r6iBlCMfVtrMXpQ=
Expand Down