-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Running forge test
on v4.0.11
I get the following error
Ran 26 test suites in 282.46ms (300.22ms CPU time): 118 tests passed, 1 failed, 16 skipped (135 total tests)
Failing tests:
Encountered 1 failing test in test/Fork/Dispatcher.deploy.t.sol:DispatcherDeployTest
[FAIL: setup failed: vm.envAddress: environment variable "DispatcherProxy" not found] setUp() (gas: 0)
Looks like the DispatcherDeployTest
test needs a set of env variables to work. Even when those are set, the test reverts
export OwnerAddress=0x4dF6EB2EC570B58cC64f540247A8AdFA11F1Cf63
export OptimisticLightClient=0x4dF6EB2EC570B58cC64f540247A8AdFA11F1Cf63
export UCProxy=0x4dF6EB2EC570B58cC64f540247A8AdFA11F1Cf63
export DispatcherProxy=0x4dF6EB2EC570B58cC64f540247A8AdFA11F1Cf63
...
Ran 26 test suites in 285.93ms (300.10ms CPU time): 118 tests passed, 1 failed, 16 skipped (135 total tests)
Failing tests:
Encountered 1 failing test in test/Fork/Dispatcher.deploy.t.sol:DispatcherDeployTest
[FAIL: setup failed: EvmError: Revert] setUp() (gas: 0)
Looks like this test is not meant to be run this way? or maybe it needs a different set up? In any case, let's fix it so we get a clean test execution
Metadata
Metadata
Assignees
Labels
No labels