Add an example script on how to upgrade a contract implementation
This commit is contained in:
@@ -71,7 +71,7 @@ To run these scripts use `hardhat run`. For example: `hardhat run scripts/list-c
|
||||
|
||||
Some scripts are also defined as npm script, see package.json.
|
||||
|
||||
### repl.js
|
||||
### repl/console
|
||||
|
||||
Similar to cli.js but only provides a REPL with an initialized `kredits`
|
||||
instance.
|
||||
@@ -108,6 +108,9 @@ We use OpenZeppelin for an upgradeable contracts: [https://www.npmjs.com/package
|
||||
|
||||
Refer to the OpenZeppelin README and `scripts/create-proxy.js`
|
||||
|
||||
For an upgrade example checkout `scripts/upgrade-example.js`
|
||||
|
||||
|
||||
## Known Issues
|
||||
|
||||
When resetting ganache Metamask might have an invalid transaction nonce and
|
||||
|
||||
Reference in New Issue
Block a user