-
Notifications
You must be signed in to change notification settings - Fork 29
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
Clarify the Height and ChainId types (ref: "epochs") #14
Comments
It'd make things a lot easier just to name this Right now (from what I've managed to find so far) it's referred to as:
depending on where it's being referenced. |
I think using "epoch" as a field name in the I'm not convinced using I think this issue refers to the problem that we use the notion of |
Crate
ibc
Summary
The
Height
type and theChainId
types are closely related: theversion_number
field in a height of a chain denotes the revision of that chain. The revision used to be called "epoch," then renamed to "version", but it seems that the name of this field will stabilize to "revision".There's two things to improve/clarify on our side:
ChainId
implementation is a bit messy and uses both the names of "version" and "epoch".https://github.com/informalsystems/ibc-rs/blob/45ae7b86844c906570f7b16792ef4806ed45ab54/modules/src/ics24_host/identifier.rs#L17-L25
Height
might soon evolve so we probably need to renameversion_number
intorevision_number
.https://github.com/informalsystems/ibc-rs/blob/b641f794cff8e5f21c308bd419fe4c29f028fda6/modules/src/ics02_client/height.rs#L9-L12
Dependencies:
Problem Definition
Proposal
For Admin Use
The text was updated successfully, but these errors were encountered: