celo-org / optimism

Optimism is Ethereum, scaled.
https://optimism.io
MIT License
3 stars 2 forks source link

Have rsync run as part of pre-migration #171

Open alecps opened 2 weeks ago

alecps commented 2 weeks ago

The rsync command currently used in the celo-migrate script can be run as part of the pre-migration step, without applying any transformations or state changes on top of it. It seems the --update and --delete flags can be used to only rsync new data during the actual migration.

### Tasks
- [ ] Add pre-migrate sub-command
- [ ] Have rsync run as part of pre-migration with proper flags
- [ ] Consider adding back state-dry-run functionality
piersy commented 1 week ago

Hey @alecps what's the reason for running this separately in a pre-migrate step?