-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imp(ics23): fallible conversion for
ProofSpec
, LeafOp
, InnerSpec
(
#1160) * feat(ics23): add conversion checks * fix compiler error * comment out depth range tests * Update ibc-core/ics23-commitment/types/src/specs.rs Co-authored-by: Rano | Ranadeep <ranadip.bswas@gmail.com> Signed-off-by: Tuan Tran <tuantran@notional.ventures> * Update ibc-core/ics23-commitment/types/src/specs.rs fix for consistency Co-authored-by: Rano | Ranadeep <ranadip.bswas@gmail.com> Signed-off-by: Tuan Tran <tuantran@notional.ventures> * add tests and linting * refactor loop * Update ibc-core/ics23-commitment/types/src/specs.rs Co-authored-by: Rano | Ranadeep <ranadip.bswas@gmail.com> Signed-off-by: Tuan Tran <tuantran@notional.ventures> * Update ibc-core/ics23-commitment/types/src/specs.rs Co-authored-by: Rano | Ranadeep <ranadip.bswas@gmail.com> Signed-off-by: Tuan Tran <tuantran@notional.ventures> * add parameterized test * Update ibc-core/ics23-commitment/types/src/specs.rs Co-authored-by: Rano | Ranadeep <ranadip.bswas@gmail.com> Signed-off-by: Tuan Tran <tuantran@notional.ventures> * update err comment * update tests * add rstest in dev-deps * code opt * add HashOp and LengthOp validations * code opt * update the range validation predicates and comments * empty proof specs are disallowed * rename test fn * update test cases --------- Signed-off-by: Tuan Tran <tuantran@notional.ventures> Co-authored-by: Rano | Ranadeep <ranadip.bswas@gmail.com> Co-authored-by: Ranadeep Biswas <mail@rnbguy.at>
- Loading branch information
1 parent
68513d8
commit 45d3250
Showing
4 changed files
with
199 additions
and
75 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