-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Network upgrade support #3781
Network upgrade support #3781
Commits on Sep 12, 2020
-
This patch starts adding support for network upgrades. * It adds an actors abstraction layer for loading abstract (cross-version) actors. * It starts switching over to a shared deadline type. * It adds an abstraction for ADTs (hamt/amt). * It removes the callback-based API in the StateManager (difficult to abstract across actor versions). * It _does not_ actually add support for actors v2. We can do that in a followup patch but that should be relatively easy. This patch is heavily WIP and does not compile. Feel free to push changes directly to this branch. Notes: * State tree access now needs a network version, because the HAMT type will change. * I haven't figured out a nice way to abstract over changes to the _message_ types. However, many of them will be type aliased to actors v0 in actors v2 so we can likely continue using the v0 versions (or use the v2 versions everywhere). I've been renaming imports to `v0*` to make it clear that we're importing types from a _specific_ actors version. TODO: * Consider merging incremental improvements? We'd have to get this compiling again first but we could merge in the new abstractions, and slowly switch over. * Finish migrating to the new abstractions. * Remove all actor state types from the public API. See `miner.State.Info()` for the planned approach here. * Fix the tests. This is likely going to be a massive pain.
Configuration menu - View commit details
-
Copy full SHA for d359483 - Browse repository at this point
Copy the full SHA d359483View commit details
Commits on Sep 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 38f8798 - Browse repository at this point
Copy the full SHA 38f8798View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6809713 - Browse repository at this point
Copy the full SHA 6809713View commit details -
Configuration menu - View commit details
-
Copy full SHA for 683a581 - Browse repository at this point
Copy the full SHA 683a581View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06ec571 - Browse repository at this point
Copy the full SHA 06ec571View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb3f710 - Browse repository at this point
Copy the full SHA fb3f710View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2088335 - Browse repository at this point
Copy the full SHA 2088335View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02dcb5e - Browse repository at this point
Copy the full SHA 02dcb5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc4d530 - Browse repository at this point
Copy the full SHA cc4d530View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fa6c1e - Browse repository at this point
Copy the full SHA 7fa6c1eView commit details
Commits on Sep 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 36f920b - Browse repository at this point
Copy the full SHA 36f920bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dabab5 - Browse repository at this point
Copy the full SHA 4dabab5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4419850 - Browse repository at this point
Copy the full SHA 4419850View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dad38c - Browse repository at this point
Copy the full SHA 9dad38cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00c6397 - Browse repository at this point
Copy the full SHA 00c6397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf7976 - Browse repository at this point
Copy the full SHA 6bf7976View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cd92d8 - Browse repository at this point
Copy the full SHA 4cd92d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53384e8 - Browse repository at this point
Copy the full SHA 53384e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c64f983 - Browse repository at this point
Copy the full SHA c64f983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e9573 - Browse repository at this point
Copy the full SHA 91e9573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e01fad - Browse repository at this point
Copy the full SHA 4e01fadView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1ba4eb - Browse repository at this point
Copy the full SHA e1ba4ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02bc5fa - Browse repository at this point
Copy the full SHA 02bc5faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92471d4 - Browse repository at this point
Copy the full SHA 92471d4View commit details
Commits on Sep 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 454c382 - Browse repository at this point
Copy the full SHA 454c382View commit details -
feat(paych): convert paych actor
build abstraction for paych actor and switch to using it in payment channel manager and state predicates
Configuration menu - View commit details
-
Copy full SHA for 05c1153 - Browse repository at this point
Copy the full SHA 05c1153View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4ee519 - Browse repository at this point
Copy the full SHA b4ee519View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90853e2 - Browse repository at this point
Copy the full SHA 90853e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d19f3 - Browse repository at this point
Copy the full SHA 72d19f3View commit details -
Merge pull request #3877 from filecoin-project/refactor/net-upgrade-p…
…aych Support Network Upgrades: Payment Channel
Configuration menu - View commit details
-
Copy full SHA for ccce1a9 - Browse repository at this point
Copy the full SHA ccce1a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b530f25 - Browse repository at this point
Copy the full SHA b530f25View commit details
Commits on Sep 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7115485 - Browse repository at this point
Copy the full SHA 7115485View commit details -
feat(market): update state diffing for market actor
Update to abstract actor for markets state diffing. Also move the diff adt functions inside the abstract actors
Configuration menu - View commit details
-
Copy full SHA for 80b6994 - Browse repository at this point
Copy the full SHA 80b6994View commit details -
Merge pull request #3889 from filecoin-project/refactor/net-upgrade-m…
…arkets-deal-states feat(market): update state diffing for market actor
Configuration menu - View commit details
-
Copy full SHA for 81004ea - Browse repository at this point
Copy the full SHA 81004eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5ba7a0 - Browse repository at this point
Copy the full SHA b5ba7a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e48dd2 - Browse repository at this point
Copy the full SHA 9e48dd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b606149 - Browse repository at this point
Copy the full SHA b606149View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2295c3 - Browse repository at this point
Copy the full SHA e2295c3View commit details -
feat(markets): complete markets conversion
complete markets conversion to using chain/actors types, also replacing DealProposal/DealState interfaces with structs
Configuration menu - View commit details
-
Copy full SHA for 691bd9f - Browse repository at this point
Copy the full SHA 691bd9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bf165c - Browse repository at this point
Copy the full SHA 7bf165cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 053cfc1 - Browse repository at this point
Copy the full SHA 053cfc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31ff523 - Browse repository at this point
Copy the full SHA 31ff523View commit details -
Configuration menu - View commit details
-
Copy full SHA for e632643 - Browse repository at this point
Copy the full SHA e632643View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eda535 - Browse repository at this point
Copy the full SHA 6eda535View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68e884e - Browse repository at this point
Copy the full SHA 68e884eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82b95e3 - Browse repository at this point
Copy the full SHA 82b95e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40c136 - Browse repository at this point
Copy the full SHA c40c136View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18bc59b - Browse repository at this point
Copy the full SHA 18bc59bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 708aa36 - Browse repository at this point
Copy the full SHA 708aa36View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae38970 - Browse repository at this point
Copy the full SHA ae38970View commit details -
Go does have some nice features, once in a while.
Configuration menu - View commit details
-
Copy full SHA for dc58f71 - Browse repository at this point
Copy the full SHA dc58f71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bcfee0 - Browse repository at this point
Copy the full SHA 5bcfee0View commit details
Commits on Sep 18, 2020
-
* Make diffing work across versions. * Start porting more chainwatch logic.
Configuration menu - View commit details
-
Copy full SHA for b2ee590 - Browse repository at this point
Copy the full SHA b2ee590View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a0779 - Browse repository at this point
Copy the full SHA f2a0779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bd6791 - Browse repository at this point
Copy the full SHA 8bd6791View commit details -
Configuration menu - View commit details
-
Copy full SHA for daa441b - Browse repository at this point
Copy the full SHA daa441bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37de154 - Browse repository at this point
Copy the full SHA 37de154View commit details -
Configuration menu - View commit details
-
Copy full SHA for fce423c - Browse repository at this point
Copy the full SHA fce423cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 694463f - Browse repository at this point
Copy the full SHA 694463fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70faa36 - Browse repository at this point
Copy the full SHA 70faa36View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccd0a67 - Browse repository at this point
Copy the full SHA ccd0a67View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3046f4 - Browse repository at this point
Copy the full SHA c3046f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb2b25c - Browse repository at this point
Copy the full SHA fb2b25cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 298efa2 - Browse repository at this point
Copy the full SHA 298efa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8747c60 - Browse repository at this point
Copy the full SHA 8747c60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24df873 - Browse repository at this point
Copy the full SHA 24df873View commit details -
Configuration menu - View commit details
-
Copy full SHA for e60027c - Browse repository at this point
Copy the full SHA e60027cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8285eda - Browse repository at this point
Copy the full SHA 8285edaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a7055c - Browse repository at this point
Copy the full SHA 4a7055cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f741ce6 - Browse repository at this point
Copy the full SHA f741ce6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c130806 - Browse repository at this point
Copy the full SHA c130806View commit details -
rename imports to match actors code
`sed -i 's/\bv0\(\w\)\(\w*\)/\L\1\E\20/g' **/*.go`
Configuration menu - View commit details
-
Copy full SHA for 1bf3b49 - Browse repository at this point
Copy the full SHA 1bf3b49View commit details -
1. Calling the specific partition/deadline APIs is faster. 2. It's _much_ easier to test this way.
Configuration menu - View commit details
-
Copy full SHA for 35bce5a - Browse repository at this point
Copy the full SHA 35bce5aView commit details
Commits on Sep 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7c3f638 - Browse repository at this point
Copy the full SHA 7c3f638View commit details
Commits on Sep 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b25dd2a - Browse repository at this point
Copy the full SHA b25dd2aView commit details
Commits on Sep 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ed285f1 - Browse repository at this point
Copy the full SHA ed285f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a95e34f - Browse repository at this point
Copy the full SHA a95e34fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b355eb7 - Browse repository at this point
Copy the full SHA b355eb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 286fe04 - Browse repository at this point
Copy the full SHA 286fe04View commit details -
Configuration menu - View commit details
-
Copy full SHA for a307e45 - Browse repository at this point
Copy the full SHA a307e45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b5e4a9 - Browse repository at this point
Copy the full SHA 0b5e4a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7934b0 - Browse repository at this point
Copy the full SHA f7934b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0256631 - Browse repository at this point
Copy the full SHA 0256631View commit details -
And avoid exposing "arrays" via the miner abstraction. We may change these structures later.
Configuration menu - View commit details
-
Copy full SHA for 4cf0c10 - Browse repository at this point
Copy the full SHA 4cf0c10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24ae920 - Browse repository at this point
Copy the full SHA 24ae920View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9a896f - Browse repository at this point
Copy the full SHA f9a896fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ab2459 - Browse repository at this point
Copy the full SHA 0ab2459View commit details -
Configuration menu - View commit details
-
Copy full SHA for a41bf74 - Browse repository at this point
Copy the full SHA a41bf74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 916421b - Browse repository at this point
Copy the full SHA 916421bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bab784 - Browse repository at this point
Copy the full SHA 4bab784View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f0106c - Browse repository at this point
Copy the full SHA 3f0106cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63f026f - Browse repository at this point
Copy the full SHA 63f026fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d33dd4f - Browse repository at this point
Copy the full SHA d33dd4fView commit details
Commits on Sep 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d56da1b - Browse repository at this point
Copy the full SHA d56da1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dc69e3 - Browse repository at this point
Copy the full SHA 1dc69e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc15888 - Browse repository at this point
Copy the full SHA fc15888View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5314ba8 - Browse repository at this point
Copy the full SHA 5314ba8View commit details -
copy actor object when iterating over actors
This is a pretty big footgun.
Configuration menu - View commit details
-
Copy full SHA for ab070f2 - Browse repository at this point
Copy the full SHA ab070f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc24fdb - Browse repository at this point
Copy the full SHA bc24fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 441d7ff - Browse repository at this point
Copy the full SHA 441d7ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for c91774b - Browse repository at this point
Copy the full SHA c91774bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2967c4e - Browse repository at this point
Copy the full SHA 2967c4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46fb0e7 - Browse repository at this point
Copy the full SHA 46fb0e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77f81fc - Browse repository at this point
Copy the full SHA 77f81fcView commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7737147 - Browse repository at this point
Copy the full SHA 7737147View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed4bf9b - Browse repository at this point
Copy the full SHA ed4bf9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e27fc03 - Browse repository at this point
Copy the full SHA e27fc03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 476e799 - Browse repository at this point
Copy the full SHA 476e799View commit details -
Configuration menu - View commit details
-
Copy full SHA for 819180f - Browse repository at this point
Copy the full SHA 819180fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a876a0b - Browse repository at this point
Copy the full SHA a876a0bView commit details