-
Notifications
You must be signed in to change notification settings - Fork 15
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
Problem on verifying code produced by QD #158
Comments
Thanks for your question! In fact, QuackyDucky is meant to be used with We are currently trying to alleviate such constraints by porting LowParse combinators to Pulse (cf. #155 ), where indexing is done on Hope it helps! |
Concretely, the construct that you used for the |
Thank you for your help! |
Thank you for your help! |
I tried to produce parsers and serializers for NDN TLV coding scheme, the bitcoin_varint is very similar to the variable length number used in NDN TLV, so I wrote a rfc file as follows:
An error occured while verifying Interest.fst
The code where error appeared is as follows:
I read about the code of
serialize32_nondep_then
, it requires the two serializers in its params should satisfyserialize32_kind_precond
So I investigated the parser_kind of
serialize32_bcvli
andinterest_iv_serializer32
, as follows:I think that's where the problem is: the two parser_kind_high above is 5 and 4294967300, 5+4294967300 exceeds 4294967296.
Any suggestions on how I should fix my rfc file or change something in LowParse code to make it right? Thanks a lot for helping! The QD log is attached below:
The text was updated successfully, but these errors were encountered: