DemocracyEarth / vote

Smart contracts for vote token.
19 stars 5 forks source link

Token upgradability #8

Closed medied closed 6 years ago

medied commented 6 years ago

OpenZeppelin is working on upgradability (they really are: blog post, contracts in /labs repo, there's a #upgradeable-erc20 channel on their Slack too). Looks like it's still brewing at this very moment, will require some mental strength to tune myself into that conversation. Upgradability is important, seriously needed. With upgradeable smart contracts a whole lot of pressure comes off our shoulders as we could deploy a very basic V0 token and then know that we can upgrade it carefully as needed. After what I saw in #4 I think looking into this is the next logical step.

Will continue diving into this

medied commented 6 years ago

Key concepts:

medied commented 6 years ago

Zeppelin team is exploring different approaches to upgradeability in the lab, variations of the eternal storage approach with combinations of proxy lib patterns. Need to play with all of them to understand them and know how to proceed (note they do have tests in there). Broadly:

medied commented 6 years ago

It's still such a work in progress. Tried to run different tests in there and was unable (complaining about missing SafeMath.sol, something silly but still). Point is, it is still very messy and not really near done or usable. The milestone for the v0.1.0 Kernel MVP has a due date of July 1st, gives us an idea of the timeframes they are working on. I asked in the Slack channel to confirm, let's see what they respond.

medied commented 6 years ago

Note Zeppelin is also thinking how to onboard (would be) 'legacy tokens' here