interchain-security
interchain-security copied to clipboard
e2e tests: support version specific actions for compatbility tests
e2e tests need to support version specific actions
Actions on how to perfrom specific test steps change over ICS versions, especially with Permissionless ICS. E2E framework needs to be adapted to support compatibility testing when test actions changed accross versions.
Bonus:
- introduce a waitForTx() util function for e2e test which waits until a given transaction is seen
- change
SpawnTimein all actions to more appropriate e.g.TimeUntilSpawnas it is used as a duration and not a specific point in time - ChainIDs are used to map configs to chain identifiers. With permissionless ICS, chains with same
ChainIDare supported which leads to the situation that the ChainID id will be different than the one in in the configuration related configuration. To be easier to differentiate the two ChainIDs (config, key), the map used for the chain configs should be adapted to use a different type for the key.