Skip to content

Commit

Permalink
Update parser for new bls data (#253)
Browse files Browse the repository at this point in the history
* Update parser for cbor and candid

Add helper types for candid

Add new parsing trait

New constants

Fix consent message parsing

Update constant

Factor out one parser for consent_request and call_request, as internals are the same and update test and ffi interface

Unify metadata parser as type is equivalent and improve cnadid parser in icrc21 types update tests

Improve the UI engine to handle longer messages than screen witdh

General improvements and testing data

Add insta testing

Some enhancements

Reduce stack usage and some cleanups

Update zemu tests

Disable for now bls tests until formatting is fixed

* bump app version and update snapshots

* Update deps and snapshots
  • Loading branch information
neithanmo authored Nov 26, 2024
1 parent 23a4a9a commit 6ff61fe
Show file tree
Hide file tree
Showing 128 changed files with 1,912 additions and 941 deletions.
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ APPVERSION_M=3
# This is the minor version of this release
APPVERSION_N=2
# This is the patch version of this release
APPVERSION_P=0
APPVERSION_P=1
152 changes: 137 additions & 15 deletions app/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions app/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ hex = { version = "0.4" }
minicbor = { version = "0.24.2", features = ["std"] }
ic-certification = { version = "2.5.0", features = ["serde"] }
serde_cbor = "0.11.2"
serde_json = "1.0.85"
zuit = { path = "../../deps/ledger-rust/zuit" }
insta = { version = "1", features = ["glob"] }
serde = { version = "1.0.215", features = ["derive"] }


[target.'cfg(fuzzing)'.dependencies]
Expand All @@ -43,3 +46,4 @@ panic = "abort"

[features]
clippy = []
derive-debug = []
Loading

0 comments on commit 6ff61fe

Please sign in to comment.