issues
search
Zondax
/
ledger-stacks
Apache License 2.0
17
stars
7
forks
source link
Feat/structured msg
#139
Closed
neithanmo
closed
1 year ago
neithanmo
commented
1 year ago
This adds many changes:
Improve parsing of Value types fixing some bugs when parsing really complex and nested clarity values.
Add a const parameter to limit recursion either when parsing transactions(contract calls) or structured data.
Move some types from common to their own files, like principal and contract principals.
Add useful types to deal with clarity tuples, strings, and integers.
Enhance some return types to align with current practices using nom in other apps.
replace some
from_u8
methods by the rust built-in TryFrom trait.
Add a parser for structured_data and render it
Add a flow to sign structured data.
Add zemu tests to validate structured data parsing and signing.
Update zxlib.
Update snapshots
Update app version.
Other minor changes like Clippy and so.
closes #118
:link:
zboto Link
This adds many changes:
from_u8
methods by the rust built-in TryFrom trait.closes #118
:link: zboto Link