Skip to content

Commit 5ea1113

Browse files
hughymat-if
andauthored
updates ironfish to use latest ironfish-frost changes, etc. (#5369)
* wip * adds helper functions to deserialize round2 public packages deserialize_round2_combined_public_package takes a serialized 'CombinedPublicPackage' from dkg round2 and returns an object containing an array of round2 public packages with all fields available as strings * dirty upgrade to frost no-std * fixes errors and warnings from error formatting throws FrostLibErrors using new_with_source to give error messages updates decryption test for new decryption error message * uses decrypt_legacy to decrypt legacy account exports we've updated encryption/decryption in the ironfish-frost crate and changed the structure of encrypted data older account exports cannot be decrypted with the current 'decrypt' method and must use 'decrypt_legacy' instead defines 'decrypt_legacy_data' on ParticipantSecret and updates account decryption to try decrypting with that method if the first decryption attempt fails * updates ironfish-frost dependency to latest commit on main * fixes rust lint in multisig.rs, removes commented-out code * broadens cargo vet audit policy for reddsa * updates cargo vet with exemptions and audits for new dependencies * updates ironfish-frost in Cargo.lock for allocation fix * uses default features from ironfish-frost * bubbles up errors as napi errors in multisig.rs instead of unwrapping * refactors derive_account_keys to return a result * removes unwrap uses * avoids mapping FrostLibErrors unnecessarily --------- Co-authored-by: Mat <[email protected]>
1 parent d8cfd5b commit 5ea1113

File tree

18 files changed

+405
-242
lines changed

18 files changed

+405
-242
lines changed

Cargo.lock

Lines changed: 65 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ironfish-rust-nodejs/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ base64 = "0.13.0"
3131
fish_hash = "0.3.0"
3232
ironfish = { path = "../ironfish-rust" }
3333
ironfish-frost = { git = "https://github.com/iron-fish/ironfish-frost.git", branch = "main" }
34-
napi = { version = "2.13.2", features = ["napi6"] }
35-
napi-derive = "2.13.0"
34+
napi = { version = "2.14.4", features = ["napi6"] }
35+
napi-derive = "2.14.6"
3636
jubjub = { git = "https://github.com/iron-fish/jubjub.git", branch = "blstrs", features = ["multiply-many"] }
3737
rand = "0.8.5"
3838
num_cpus = "1.16.0"

0 commit comments

Comments
 (0)