Add an example script on how to upgrade a contract implementation

This commit is contained in:
2022-07-04 20:00:53 +02:00
parent fa4583158f
commit e21fb40661
2 changed files with 20 additions and 1 deletions

View File

@@ -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