Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hybrid delayPeriod #539

Closed
milosevic opened this issue Mar 18, 2021 · 0 comments · Fixed by #552
Closed

Hybrid delayPeriod #539

milosevic opened this issue Mar 18, 2021 · 0 comments · Fixed by #552

Comments

@milosevic
Copy link
Contributor

In the current specification (https://github.com/cosmos/ibc/tree/master/spec/core/ics-003-connection-semantics) delayPeriod parameter is time based, i.e., the protocol enforces that at minimum delayPeriod must pass between the point header (consensusState) is installed and the corresponding packet data is verified. This provides security window during which correct relayer can submit a proof of misbehaviour and freeze client in case consensusState is invalid.

However, if the destination chain (where invalid consensusState is installed) does not create blocks or is censoring misbehaviour processing during delayPeriod, then security protection is of no use. Potential solution that would increase security guarantees would be having hybrid delayPeriod where it is expressed both in terms of time and number of blocks. In this case verification would be possible only when both some time and number of blocks has passed.

Although it is very hard completely preventing censorship issue (with the existing system), this proposal should still increase security guarantees as it decreases a chance for censorship of misbehaviour by increasing packetDelay.

@cwgoes cwgoes transferred this issue from another repository Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

1 participant