livepeer / livepeer/protocol

Storage compatibility analysis tool

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

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
155
Forks
50
PR merge metrics
No merged PRs in 30d

Description

The current delegate proxy upgrade pattern we use for some of our contracts requires that any new implementation logic contracts must have a storage layout that is compatible with the storage layout of the proxy contract. At the moment, this check is done manually by the developer. In order to develop stronger confidence in the safety of an upgrade, this check should instead be done automatically by an analysis tool.

The ZeppelinOS team is working on a solution for this. See: https://github.com/zeppelinos/zos/issues/37

We should track progress on the solution and incorporate it into this repo once it is ready for use.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reviewing the repository's delegate proxy upgrade pattern and the linked ZeppelinOS issue 37, which tracks the proposed storage compatibility analysis tool. Confirm whether that solution is ready for use and identify the repository entry points it would need to integrate with. Done means the compatibility check is incorporated and replaces the current manual process.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.