Skip to content

Suggested time related params for Q1 2023 testnet

Shawn edited this page Jan 30, 2023 · 8 revisions

See params.md for general info on ICS params.

Test timeout scenarios

The testnet will validate the behavior of 3 timeout related scenarios:

  • Test the init_timeout_period
  • Test the vsc_timeout_period
  • Test the ccv_timeout_period

Note: Suggested params for validating scenarios like a "jailing attack" will be communicated elsewhere.

Suggested time based params for each scenario

Triggering InitTimeoutPeriod

  • ProviderUnbondingPeriod: 2 days
  • ConsumerUnbondingPeriod: 1 day
  • TrustingPeriodFraction: default
  • CCVTimeoutPeriod: 1 day
  • InitTimeoutPeriod: 1 hour, this timeout will trigger if channel initialization is not completed in 1 hour
  • VscTimeoutPeriod: 2 days
  • ... other params can be whatever

Triggering VscTimeoutPeriod

  • ProviderUnbondingPeriod: 2 days
  • ConsumerUnbondingPeriod: 1 day
  • TrustingPeriodFraction: default
  • CCVTimeoutPeriod: 1 day
  • InitTimeoutPeriod: 1 day
  • VscTimeoutPeriod: 1 hour, this timeout will trigger since value is less than ConsumerUnbondingPeriod. No need to stop relayers
  • ... other params can be whatever

Triggering CCVTimeoutPeriod

  • ProviderUnbondingPeriod: 2 days
  • ConsumerUnbondingPeriod: 1 day
  • TrustingPeriodFraction: default
  • CCVTimeoutPeriod: 1 hour, this timeout will trigger if relayers are stopped after channel initialization has completed
  • InitTimeoutPeriod: 1 day
  • VscTimeoutPeriod: 2 days
  • ... other params can be whatever