In order to keep our existing districts on blockchain, we'll need truffle migration for partial redeployment, after the Snapshot Integration merge.
Truffle migration file should:
- deploy District.sol
- deploy DistrictFactory.sol
- call
setFactory method on existing :district-registry-fwd contract address with the newly deployed DistrictFactory address
Additionally we should create another truffle migration file, which calls setFactory with the old DistrictFactory.sol address (address can be hardcoded), setting it to false. So old factory contract will be disabled once we test our new deployment in production.
In order to keep our existing districts on blockchain, we'll need truffle migration for partial redeployment, after the Snapshot Integration merge.
Truffle migration file should:
setFactorymethod on existing:district-registry-fwdcontract address with the newly deployed DistrictFactory addressAdditionally we should create another truffle migration file, which calls
setFactorywith the old DistrictFactory.sol address (address can be hardcoded), setting it to false. So old factory contract will be disabled once we test our new deployment in production.