Skip to content

Commit

Permalink
cometbls - upgrade protos & use untrusted validator hash from the sig…
Browse files Browse the repository at this point in the history
…ned header (#781)

fixes #780
  • Loading branch information
hussein-aitlahcen authored Oct 9, 2023
2 parents 74f5281 + 1c1f117 commit ae305f2
Show file tree
Hide file tree
Showing 93 changed files with 21,779 additions and 13,229 deletions.
31 changes: 19 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion evm/contracts/Glue.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ contract Glue {
IbcCoreClientV1Height.Data memory,
OptimizedConsensusState memory,
ProcessedMoment memory,
TendermintTypesCanonicalVote.Data memory
TendermintTypesCanonicalVote.Data memory,
IbcLightclientsTendermintV1ClientState.Data memory,
IbcLightclientsTendermintV1ConsensusState.Data memory,
IbcLightclientsTendermintV1Header.Data memory
) public pure {}
}
4 changes: 3 additions & 1 deletion evm/contracts/clients/CometblsClient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ contract CometblsClient is ILightClient {
untrustedValidatorsHash = trustedValidatorsHash;
} else {
untrustedValidatorsHash = header
.untrusted_validator_set_root
.signed_header
.header
.validators_hash
.toBytes32(0);
}

Expand Down
133 changes: 9 additions & 124 deletions evm/contracts/proto/union/ibc/lightclients/cometbls/v1/cometbls.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ae305f2

Please sign in to comment.