Skip to content

Commit

Permalink
Script to verify upgrade did not corrupt old contract state (#465)
Browse files Browse the repository at this point in the history
* deploy old, upgrade to new contracts

* create sellers, DRs and agents

* compare state before and after the upgrade

* create and verify offers

* create various exchanges + verify exchanges

* clean up

* all getters

* metaTx private data

* review fixes

* protocolStatus private data

* private protocol lookups - offer related

* private protocol lookups - account related

* private protocol lookups - group related

* private protocol lookups - twins related

* protocol lookpus private data - done

* increase mocha timeout

* tidy

* review changes

* tidy

* Fix typos

* move getMappinStoragePosition to utils

* fix typo

* Verify succesful upgrade - new actions after upgrade (#468)

* populate after upgrade, verify state

* add some bundles

* enable both test + tidy

* commit to old offer

* redeem/revoke/cancel voucher

* update old entities

* second context done

* tidy

* breaking changes

* new methods

* review fixes

Co-authored-by: Cliff Hall <[email protected]>
  • Loading branch information
zajck and cliffhall authored Nov 22, 2022
1 parent e169157 commit d7d82cb
Show file tree
Hide file tree
Showing 5 changed files with 2,601 additions and 154 deletions.
3 changes: 3 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,7 @@ module.exports = {
cache: "./cache",
artifacts: "./artifacts",
},
mocha: {
timeout: 100000,
},
};
Loading

0 comments on commit d7d82cb

Please sign in to comment.