Closed
Description
opened on Sep 20, 2019
Connection handshaking requires to check the existence of a header of the verifying chain on the verified chain. Opening handshake
under ICS03
function connOpenTry(
desiredIdentifier: Identifier,
counterpartyConnectionIdentifier: Identifier,
counterpartyPrefix: CommitmentPrefix,
counterpartyClientIdentifier: Identifier,
clientIdentifier: Identifier,
counterpartyVersions: string[],
proofInit: CommitmentProof,
proofHeight: uint64,
consensusHeight: uint64) {
...
expectedConsensusState = getConsensusState(consensusHeight)
...
abortTransactionUnless(
connection.verifyMembership(proofHeight, proofInit,
consensusStatePath(counterpartyClientIdentifier),
expectedConsensusState))
...
}
This requires the verifying chain able to introspect its own headers. ICS02
module needs to hold the reference to the historical header module and retrieve headers from recent n
heights.
Metadata
Assignees
Labels
No labels
Activity