-
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
cleanup: Lotus client: remove markets and deal-making from Lotus Client #11999
Conversation
I guess we've been warning about this for a while, I only noticed this today on some CI output:
|
https://github.com/filecoin-project/lotus/blob/master/node/config/def.go needs adjustments i think |
Aside from #11999 (comment) superficially this looks 👌 Flagging to @rjan90 @jennijuju @magik6k @LexLuthr and others that this set of tests is now gone. If things like I do not have the context to evaluate what is and isn't valuable here, just making sure someone who has the context will ✅ this. cc @smagdali as potentially impacting |
From Boost point of view this looks Good. Boost switched to it's own client a while ago for testing. We do have a full suite of deal tests there. Lotus client has been unsupported by Boost for a while. |
@aarshkshah1992 I'll have to look at this tomorrow, but further to @ribasushi's point - would you be able to make a basic (rough) inventory of which parts of builtin actors behaviours/methods we may be leaving with less coverage here in the Lotus repo. While it's good to know that Boost and Curio will have coverage, it's important that we also maintain enough coverage so we have confidence to iterate on actors while knowing they're going to be exercised properly. We don't necessarily have to keep tests around, but it might give us a good idea of what we need to focus on build separate to the deal flow (i.e. more manually than these tests do). |
Will make the adjustments to https://github.com/filecoin-project/lotus/blob/master/node/config/def.go in a subsequent PR that I am raising for the provider side of things as it is a bit tightly coupled. |
Follow-up PR to remove Markets from Lotus Miner and Full Node is at #12005. |
@rvagg @ribasushi Yes will do a write-up on what test coverage we're lacking now. |
@rvagg I went through the itests we have deleted and it dosen't look like we're losing any meaningful Actors coverage:
That Market Actor I think all we need is a test for upgrading a CC sector with real data. |
All checks have passed |
Related Issues
Closes #12002
Proposed Changes
The use of legacy markets through Lotus was deprecated a long time ago. This PR completely remove the legacy markets code from the Lotus Client CLI & API. Users can continue using Boost for deal making/as a deal making client.
Specifically, this PR removes the following APIs from the Lotus Full Node:
In addition to the above, the
lotus client
CLI family of commands has also been completely removed.And also removed the following CLI commands from Lotus:
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps