diff --git a/CHANGELOG.md b/CHANGELOG.md index c3d68f9..1f35809 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.10.0] - 2021-04-06 + +### Changed + +- Update dusk-poseidon to `v0.20` [#67](https://github.com/dusk-network/phoenix-core/issues/67) + ## [0.9.1] - 2021-02-11 ### Changed diff --git a/Cargo.toml b/Cargo.toml index 4de5cc1..ef23339 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "phoenix-core" -version = "0.9.1" +version = "0.10.0" authors = ["zer0 ", "Victor Lopez Result<(), Error> { let wrong_note: Note = (wrong_fee, crossover).into(); assert_ne!(note, wrong_note); - assert_matches!( - wrong_note.value(Some(&vk)), - Err(Error::InvalidCipher), + assert!( + matches!(wrong_note.value(Some(&vk)), Err(Error::InvalidCipher),), "Expected to fail the decryption of the cipher" ); @@ -192,9 +190,8 @@ fn fail_fee_and_crossover_from_transparent() { let note = Note::transparent(rng, &psk, value); let result: Result<(Fee, Crossover), Error> = note.try_into(); - assert_matches!( - result, - Err(Error::InvalidNoteConversion), + assert!( + matches!(result, Err(Error::InvalidNoteConversion),), "Expected to fail the Note Conversion" ); }