feat(cheatcodes
): add --fork-retry
+ --fork-retry-backoff
equivalent to vm.create*Fork
#9162
Labels
cheatcodes
): add --fork-retry
+ --fork-retry-backoff
equivalent to vm.create*Fork
#9162
Component
Forge
Describe the feature you would like
Most of our integration tests are multichain, meaning we use
vm.createFork
to set up the forks. We can't use the--fork-url
option because we want to ensure that the fork IDs have the same order, regardless of which chain the tests belong to.For example, we always instantiate the forks in the following order:
When running a
Base
integration test, thesetUp
function first fetches the Moonbeam governor and executes any live proposals (that can be cross-chain).This is why we cannot use
--fork-url
withforge test
.Please allow the
--fork-retry
and--fork-retry-backoff
flags to be used without requiring the--fork-url
.Additional context
No response
The text was updated successfully, but these errors were encountered: