forked from cosmos/ibc-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validation for ICS7 ClientState::new(). (cosmos#111)
* (cosmos#91) WIP: Added validation for ICS7 ClientState::new(). * Bit more progress on validation for ICS7 ClientState::new() * Initialization for dummy header done. Tests done. * Added the JSON representation of a dummy signed header.
- Loading branch information
Showing
8 changed files
with
244 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"commit": { | ||
"height": "9", | ||
"round": "0", | ||
"block_id": { | ||
"hash": "760E050B2404A4BC661635CA552FF45876BCD927C367ADF88961E389C01D32FF", | ||
"parts": { | ||
"total": "1", | ||
"hash": "485070D01F9543827B3F9BAF11BDCFFBFD2BDED0B63D7192FA55649B94A1D5DE" | ||
} | ||
}, | ||
"signatures": [ | ||
{ | ||
"block_id_flag": 2, | ||
"validator_address": "12CC3970B3AE9F19A4B1D98BE1799F2CB923E0A3", | ||
"timestamp": "2020-03-15T16:57:08.151Z", | ||
"signature": "GRBX/UNaf19vs5byJfAuXk2FQ05soOHmaMFCbrNBhHdNZtFKHp6J9eFwZrrG+YCxKMdqPn2tQWAes6X8kpd1DA==" | ||
} | ||
] | ||
}, | ||
"header": { | ||
"version": { | ||
"block": "10", | ||
"app": "0" | ||
}, | ||
"chain_id": "cosmoshub-1", | ||
"height": "15", | ||
"time": "2019-03-13T23:09:34.503701042Z", | ||
"num_txs": "2", | ||
"total_txs": "4", | ||
"last_block_id": { | ||
"hash": "42C70F10EF1835CED7248114514B4EF3D06F0D7FD24F6486E3315DEE310D305C", | ||
"parts": { | ||
"total": "1", | ||
"hash": "F51D1B8E6ED859CE23F6B0539E0101653ED4025B13DAA3E76FCC779D5FD96ABE" | ||
} | ||
}, | ||
"last_commit_hash": "C499C138BCABA4D40D68A1446F6E5DE1965E07DF17EEACE1A69C1C9B1B8AC5AB", | ||
"data_hash": "AC6A27A91A6EF9057D1A33F7944DD9EDD5FC1A3CA49E04EF0801A17FF01B4412", | ||
"validators_hash": "EB25B1ACF639219180EB77AFC67E75A51A7CA0D666123E514B6882EC38868652", | ||
"next_validators_hash": "EB25B1ACF639219180EB77AFC67E75A51A7CA0D666123E514B6882EC38868652", | ||
"consensus_hash": "29C5629148426FB74676BE07F40F2ED79674A67F5833E4C9CCBF759C9372E99C", | ||
"app_hash": "0A5826D21A3B0B341C843A0E4946AC787EC9B42A7DC1BEAA344C03C43943B179", | ||
"last_results_hash": "", | ||
"evidence_hash": "", | ||
"proposer_address": "CC05882978FC5FDD6A7721687E14C0299AE004B8" | ||
} | ||
} |