Skip to content
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

fix: take the LeafIndex changes from mmr and use it #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robinbryce
Copy link
Contributor

AB#9551

unit test and demo output:

banks:go-datatrails-demos robin$ ta test:unit
{"type":"run_test","name":"TestMain"}
{"type":"end_test","name":"TestMain","result":"PASS"}
{"type":"status","result":"PASS"}
{"type":"output","data":"coverage: [no statements]"}
{"type":"summary","name":"github.com/datatrails/go-datatrails-demos/consistency","result":"ok","duration":1226000000}
{"type":"run_test","name":"TestCompletenessDemo"}
{"type":"end_test","name":"TestCompletenessDemo","result":"PASS","duration":500000000}
{"type":"status","result":"PASS"}
{"type":"coverage","coverage_percentage":30.8}
{"type":"summary","name":"github.com/datatrails/go-datatrails-demos/completeness","result":"ok","duration":1749000000,"coverage_percentage":30.8}
{"type":"run_test","name":"TestIntegrityDemo"}
{"type":"end_test","name":"TestIntegrityDemo","result":"PASS","duration":420000000}
{"type":"status","result":"PASS"}
{"type":"coverage","coverage_percentage":44.4}
{"type":"summary","name":"github.com/datatrails/go-datatrails-demos/integrity","result":"ok","duration":1670000000,"coverage_percentage":44.4}
{"type":"run_test","name":"TestLogVersion0Hash"}
{"type":"run_test","name":"TestLogVersion0Hash/positive_(kat)"}
{"type":"end_test","name":"TestLogVersion0Hash","result":"PASS"}
{"type":"end_test","name":"TestLogVersion0Hash/positive_(kat)","result":"PASS","indent":1}
{"type":"status","result":"PASS"}
{"type":"coverage","coverage_percentage":5.9}
{"type":"summary","name":"github.com/datatrails/go-datatrails-demos/logverification","result":"ok","duration":1238000000,"coverage_percentage":5.9}
banks:go-datatrails-demos robin$ ta demos:integrity

Event included on merkle log: true
banks:go-datatrails-demos robin$ ta demos:completeness
Complete List of events included on merkle log

@robinbryce robinbryce requested review from honourfish and henry739 June 5, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants