-
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
chore: ffi: copy verifier iface, mock & ffi out of storage #11581
Conversation
cdb93cd
to
6a48939
Compare
Deleted a couple of comments in this thread as I was trying to figure out why some itests weren't passing - it ended up being a misunderstanding of how we use fx to do interface matching so I wasn't getting the mock verifier in place for those test. Resolved now and all passing. |
Renamed the package to |
2e13513
to
56762ef
Compare
56762ef
to
ba0c691
Compare
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.
@rvagg this entire thing is quite useful, especially now that the repo is a lot lighter. Please simplify further and make it go in 🚀 :ribaapproves:
8a2b5a6
to
4cc7061
Compare
4cc7061
to
f3019f3
Compare
one step toward a cleaner separation of miner & chain
f3019f3
to
b56788f
Compare
…project#11581) * chore: copy verifier iface, mock & ffi out of storage one step toward a cleaner separation of miner & chain * ffi: s/verifier/proofs, incorporate GenerateUnsealedCID * fix: ffi: use non-ffi version of GenerateUnsealedCID * doc: proofs: document GenerateUnsealedCID use
* chore: copy verifier iface, mock & ffi out of storage one step toward a cleaner separation of miner & chain * ffi: s/verifier/proofs, incorporate GenerateUnsealedCID * fix: ffi: use non-ffi version of GenerateUnsealedCID * doc: proofs: document GenerateUnsealedCID use
…project#11581) * chore: copy verifier iface, mock & ffi out of storage one step toward a cleaner separation of miner & chain * ffi: s/verifier/proofs, incorporate GenerateUnsealedCID * fix: ffi: use non-ffi version of GenerateUnsealedCID * doc: proofs: document GenerateUnsealedCID use
…project#11581) * chore: copy verifier iface, mock & ffi out of storage one step toward a cleaner separation of miner & chain * ffi: s/verifier/proofs, incorporate GenerateUnsealedCID * fix: ffi: use non-ffi version of GenerateUnsealedCID * doc: proofs: document GenerateUnsealedCID use
Looking for some feedback on this as a step in further separating miner and chain code. Aside from itests (where everything is very entangled), the verifier is the second most entangled component since it sits within the storage/ffiwrapper package. Just by pulling it out of there it significantly reduces the amount of non-miner code that reaches into storage/ for anything; the only things left are minor and mostly single-use.
This change is mainly duplication, but very targeted, only the verifier comes out of storage/ffiwrapper.