-
Notifications
You must be signed in to change notification settings - Fork 46
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
Support network version 16 #988
Conversation
frrist
commented
Jun 15, 2022
•
edited
Loading
edited
- upgrades to lotus v1.16.0 release candidate with support for network version 16
- closes Actor version 8 DealProposal type change #987
- closes Upgrade to lotus v1.16.0-rc* #986
- closes Allow lily to work with v8 actor codes #1004
- contains fix: many incorrect pointer equality comparisons #1018 which fixed many incorrect pointer comparison bugs
Codecov Report
@@ Coverage Diff @@
## master #988 +/- ##
========================================
+ Coverage 34.6% 35.5% +0.8%
========================================
Files 45 44 -1
Lines 3043 2884 -159
========================================
- Hits 1055 1025 -30
+ Misses 1884 1755 -129
Partials 104 104 |
5cb9647
to
ffa76d5
Compare
acaf7e4
to
a3df9e7
Compare
41f384a
to
d5162b5
Compare
6d8db02
to
1da0a11
Compare
@@ -0,0 +1,332 @@ | |||
package actors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file will need to exist until a lotus release containing filecoin-project/lotus#8941 is cut. It ensures the correct actor CID's are returned for actors v8 since their CID's will differ depending on the network: mainnet, calibnet, buttnet, etc. Actors v7-0 remain unchanged ofcourse
@@ -57,77 +47,3 @@ func (m *MapOpts) Equal(o *MapOpts) bool { | |||
|
|||
return true | |||
} | |||
|
|||
func MapOptsForActorCode(c cid.Cid) (*MapOpts, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixed in favor of methods on the generated actor accessors that return the correct values for BitWidth and HashFunction
1a37fbd
to
4103871
Compare
I've confirmed on calibration that the migration works with the below query: select *, convert_from(decode(label, 'BASE64'), 'UTF-8') as label_decoded
from market_deal_proposals
where market_deal_proposals.is_string is not null;
|
I've confirmed this branch is capable of processing the entire calibration chain with zero errors |
Confirmed that the migration works against both a populated and empty database |
- required due to changes in miner actor gen accessors
- required for market actor gen accessors
- actor accessors now return map opt values
- use v8 actor structs
- replace with filecoin-project/lotus#8941 when lotus v1.17.0 is cut
- required due to lotus update v1.16.0
- ensures we can process message on FVM upgrade boundary
* chore: add is_string column to market_deal_proposal model
4103871
to
b01176d
Compare
* fix: many incorrect pointer equality comparisons
* docs: write v0.11.0 changelog * docs: mention PRs that landed as a part of #988 * docs: update w/ migration note Co-authored-by: Mike Greenberg <[email protected]>