You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the initH mapping (i.e., it stores for every consumer chain the height when the first VSC was provided to that consumer chain) is set in the EndBlock after checking whether it was previously set. Since this is inefficient (i.e., lots of lookups), it is better to set it in onChanOpenConfirm once the CCV channel is established. Note that even if initH would contain a height h1 preceding the height h2 when the first VSC was provided, the validator set and the delegations between h1 and h2 will remain unchanged; otherwise, a VSC would have been provided.
The text was updated successfully, but these errors were encountered:
Currently, the
initH
mapping (i.e., it stores for every consumer chain the height when the first VSC was provided to that consumer chain) is set in theEndBlock
after checking whether it was previously set. Since this is inefficient (i.e., lots of lookups), it is better to set it inonChanOpenConfirm
once the CCV channel is established. Note that even ifinitH
would contain a heighth1
preceding the heighth2
when the first VSC was provided, the validator set and the delegations betweenh1
andh2
will remain unchanged; otherwise, a VSC would have been provided.The text was updated successfully, but these errors were encountered: