interchain-security icon indicating copy to clipboard operation
interchain-security copied to clipboard

e2e tests: support version specific actions for compatbility tests

Open bermuell opened this issue 1 year ago • 0 comments

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 SpawnTime in all actions to more appropriate e.g. TimeUntilSpawn as 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 ChainID are 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.

bermuell avatar Sep 02 '24 15:09 bermuell