-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Storage provider design and documentation #56
feat: Storage provider design and documentation #56
Conversation
Set up scaffolding for the storage provider for miner indexing. This includes function definitions and events emitted.
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.
I'm a little bit confused (from the high-level), probably because I lack knowledge - how those worker/owner things are supposed to work and do we even need them now.
057f38e
to
6ca40cf
Compare
Since the storage providers will handle their own worker addresses it is not needed to include the worker addresses in the pallet implementation.
In the Storage Provider pallet implement the logic needed to for the `change_peer_id` function.
In the Storage Provider pallet implement the logic needed to for the `change_owner_address` function.
…ovider-pallet-implementation
…ovider-pallet-implementation
Implement `create_storage_provider`, `change_peer_id` and `change_owner_address` functions in the Storage Provider pallet.
2260627
…ovider-pallet-implementation
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.
Nitpicks and a question. Overall I think we can move this forward and change if/when necessary.
Co-authored-by: José Duarte <[email protected]>
…ovider-pallet-implementation
Description
Add the Storage Provider pallet and implement its Config trait on substrate Runtime. Despite its name, it does not handle any storage operations, this pallet is the interface for storage providers (the binary handling storage operations).
Important points for reviewers
This pallet is based on the
Storage Miner Actor
from Filecoin. Documentation for this actor can be found here and the Filecoin implementation of this actor can be found hereChecklist