-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
What problem does your feature solve?
When you use a snapshot for testing, you sometimes have to consider another contract or address. When that happens, you need to recreate a snapshot and make sure to consider all the addresses you need.
One issue is that if you manually edited the snapshot for some reason (e.g. adjusting an address or some balances), then you need to remember to do that again.
What would you like to see?
I would like to be able to load multiple snapshots in the env. It could be at once when calling Env::from_ledger_snapshot_file or we could have an append function or else.
What alternatives are there?
Regenerate a file every time and make sure you don't forget manual adjustments if any.