oceanprotocol-archive / dev-ocean

🕶 Ocean Engineering Pages with documentation about Development, Application Lifecycle, DevOps
3 stars 2 forks source link

Definition of Solidity practice to allow easy contract upgrades #25

Closed aaitor closed 6 years ago

aaitor commented 6 years ago

Related with: https://github.com/oceanprotocol/research/issues/13

It would be necessary to document the standard approach for creating Smart Contracts, allowing to make those easily upgradable.

List of relevant links:

H34D commented 6 years ago

Like written above separating smart contract logic and data is a good practice. There is one concept of eternal storage that is pretty interesting in this case:

https://github.com/ethereum/EIPs/issues/930

H34D commented 6 years ago

Also usefull:

aaitor commented 6 years ago

additional reading: https://blog.indorse.io/ethereum-upgradeable-smart-contract-strategies-456350d0557c

aaitor commented 6 years ago

@H34D , Is this in "Reviewing" state? Is there any PR associated?

H34D commented 6 years ago

its closed with this PR: https://github.com/oceanprotocol/dev-ocean/pull/27

aaitor commented 6 years ago

okay, I added some reviewers to the PR to move forward