-
Notifications
You must be signed in to change notification settings - Fork 47
Frrist/update lotusv1.18 #1080
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
Merged
Merged
Frrist/update lotusv1.18 #1080
Changes from 22 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
f64dfbc
deps: update to lotus v1.18
frrist 9c14f7a
schema: implement precommitinfov9 schema and extractor
frrist 9817596
schema: implement minerbeneficiary task and schema (#1081)
frrist 1e4d0a0
schema: implement datacap balance extractor and schema (#1082)
frrist eebcb2a
fix tests
frrist 2b00edb
pull in latest version of lotus
frrist b6a92f6
fix more tests
frrist c4390ab
and more tests
frrist c19a919
fix schema error
frrist f19e425
deps: update to lotus v1.18.0 release
frrist a1a945c
docker: update build image to 1.18.1
frrist 9fc6035
go mod tidy
frrist c4a0dab
replace deprecated libp2p deps
frrist ea2ba1b
fix: deal id field name
frrist 9655bba
fix: unsealed column name
frrist be6bca9
fix: beneficiary task
frrist a5c0448
update ffi deps
frrist 37bc9b4
more fix beneficiary
frrist 9d4bd81
fix panic in param parsing
frrist 31260cd
fix: datacap verifreg diff return err
frrist cd31965
fix sector events and datacap diffing
frrist bc746f9
fix parsed messages
frrist aae51b2
fix: special case UniversalReceiverHookMethodNum msg params
frrist 00b8880
fix: miner beneficiaries
frrist 6a0b768
update: GO_BUILD_IMAGE to match CI
frrist 107022d
fix: datacap inital state address
frrist a64fd18
deps: update ffi to match lotus v1.18.0
frrist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| package actors | ||
|
|
||
| import ( | ||
| actorstypes "github.com/filecoin-project/go-state-types/actors" | ||
| "github.com/filecoin-project/lotus/chain/actors" | ||
| builtin0 "github.com/filecoin-project/specs-actors/actors/builtin" | ||
| builtin2 "github.com/filecoin-project/specs-actors/v2/actors/builtin" | ||
|
|
@@ -27,6 +28,7 @@ const ( | |
| Version6 Version = 6 | ||
| Version7 Version = 7 | ||
| Version8 Version = 8 | ||
| Version9 Version = 9 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. support new actor version |
||
| ) | ||
| const ( | ||
| AccountKey = "account" | ||
|
|
@@ -40,12 +42,13 @@ const ( | |
| RewardKey = "reward" | ||
| SystemKey = "system" | ||
| VerifregKey = "verifiedregistry" | ||
| DatacapKey = "datacap" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. new datacap actor added in v9 |
||
| ) | ||
|
|
||
| // GetActorCodeID looks up a builtin actor's code CID by actor version and canonical actor name. | ||
| func GetActorCodeID(av Version, name string) (cid.Cid, bool) { | ||
| // Actors V8 and above | ||
| if c, ok := actors.GetActorCodeID(actors.Version(av), name); ok { | ||
| if c, ok := actors.GetActorCodeID(actorstypes.Version(av), name); ok { | ||
| return c, true | ||
| } | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
lotus and lily are now on go version 1.18, ci must match; mechanical change in this file.