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
Stride has 4 main ICA channels (delegation, redemption, withdrawal, fee). However, the packets along those channels have short timeouts often go unrelayed causing channel closures. Each time a channel is closed, we need to open a new one. As a result, it's tough to keep track of this canonical channel. An easy solution is to store the channel ID on the host zone struct which would allow us to easily query it from the rest endpoint.
Suggested Design
Add the following attributes to the host zone struct
delegation_channel_id
withdrawal_channel_id
redemption_channel_id
fee_channel_id
In stakeibc OnChanOpenAck, set the channel ID as a new ICA channel is created
Add upgrade handler to set each channel ID on existing host zones by looking up in the channel and ICA stores
The text was updated successfully, but these errors were encountered:
Background
Stride has 4 main ICA channels (delegation, redemption, withdrawal, fee). However, the packets along those channels have short timeouts often go unrelayed causing channel closures. Each time a channel is closed, we need to open a new one. As a result, it's tough to keep track of this canonical channel. An easy solution is to store the channel ID on the host zone struct which would allow us to easily query it from the rest endpoint.
Suggested Design
OnChanOpenAck
, set the channel ID as a new ICA channel is createdThe text was updated successfully, but these errors were encountered: