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 test-net will validate the behavior of 3 timeout related scenarios:

  • Test the init_timeout_period (the consumer-addition proposal passes, but no validators ever start the chain)
  • Test the vsc_timeout_period (the relayer stops after a few VSCPackets are relayed)
  • Test the ccv_timeout_period (the relayer stops but is started again before hitting the vsc_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 or default
  • ConsumerUnbondingPeriod: 1 day or default
  • TrustingPeriodFraction: default
  • CCVTimeoutPeriod: 1 day or default
  • InitTimeoutPeriod: 1 hour, this timeout will trigger if relayers are stopped during CCV channel initialization
  • VscTimeoutPeriod: 1 day or default
  • ... other params can be default

Triggering VscTimeoutPeriod

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

Triggering CCVTimeoutPeriod

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