Some tests perform validation based on Evmd’s Genesis State.
For example, in tests/integration/x/vm/test_iterate_contracts.go:L70, the test assumes that five preinstalled contracts are already deployed in the genesis state.
As a result, if a different app is injected and the test is executed, it will fail.
To inject external apps to cosmos/evm integration test, We should enhance description or modify test cases
- Clearly document the app requirements and assumptions needed for the test in comments.
- Modify the test setup so that the genesis state configured in evmd/app.go is explicitly initialized during the setup phase.