We can add tests for the upgrade process from V1 -> Streamflow. One way to do this is to use the ABI and bytecode of deployed contracts on mainnet and add a custom Truffle external compilation script that uses the ABI and bytecode to deploy those contracts in a test environment. Then, tests could update the state of the old set of contracts, upgrade some contracts and then check that the upgrade worked properly and that there is no unexpected behavior in the interactions between new and old contracts.
We can add tests for the upgrade process from V1 -> Streamflow. One way to do this is to use the ABI and bytecode of deployed contracts on mainnet and add a custom Truffle external compilation script that uses the ABI and bytecode to deploy those contracts in a test environment. Then, tests could update the state of the old set of contracts, upgrade some contracts and then check that the upgrade worked properly and that there is no unexpected behavior in the interactions between new and old contracts.