Dataset has owner and worker key

Open
#316 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
solidity
Domain
blockchain

Research direction

Start by reading the current contract state layout and the contract upgrade path; the issue does not name files or tests. Check how datasets currently store and use the worker address, then identify how an owner key could be added at the end of the layout and how existing datasets would migrate. Done means the upgrade supports owner and worker keys, initializes existing owners from worker addresses, and lets dataset owners change to a cold key.

Written by the indexing model from the issue text.

Description

We should introduce the concept of a cold owner key and a hot worker key to facilitate dataset recovery across compromise events. This should be a simple change introducing the concept an owner key alongside existing worker key.

Datasets should be migrated to set new owner as worker address and then dataset owners can upgrade to a safer cold key.

We will need a contract upgrade and should confirm that we can add the necessary state at the bottom of the current contract state layout.

Dominant language
Solidity
Stars
20
Forks
19
Avg merge
20h 6m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FilOzone/pdp

All issues in FilOzone/pdp

Similar issues

More Blockchain issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.