starknet-foundry icon indicating copy to clipboard operation
starknet-foundry copied to clipboard

Add --replay flag to scripts idempotency feature

Open THenry14 opened this issue 10 months ago • 0 comments

Which component is your feature related to?

Cast

Feature Request

We should add a new flag to script run interface - --replay - that will be exclusive to --no-state-file, and will allow to read state from the file but also re-execute some functions and write them to script. to be determined what would make sense to be allowed to re-execute (invoke?) and wheter already existing txs should be overwriten/removed from the state file.

THenry14 avatar Apr 02 '24 10:04 THenry14