Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information