Skip to content

Commit

Permalink
Fix inconsistent gate ordering
Browse files Browse the repository at this point in the history
Resolves #797
  • Loading branch information
moCello committed Dec 14, 2023
1 parent 16145dc commit 1766644
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fix inconsistency in gate ordering of arithmetic verifier key [#797]

## [0.18.0] - 2023-12-13

### Changed
Expand Down Expand Up @@ -532,6 +536,7 @@ is necessary since `rkyv/validation` was required as a bound.
- Proof system module.

<!-- ISSUES -->
[#797]: https://github.com/dusk-network/plonk/issues/797
[#784]: https://github.com/dusk-network/plonk/issues/784
[#773]: https://github.com/dusk-network/plonk/issues/773
[#774]: https://github.com/dusk-network/plonk/issues/774
Expand Down
6 changes: 3 additions & 3 deletions src/proof_system/widget/arithmetic/verifierkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ pub(crate) struct VerifierKey {
#[cfg_attr(feature = "rkyv-impl", omit_bounds)]
pub q_o: Commitment,
#[cfg_attr(feature = "rkyv-impl", omit_bounds)]
pub q_4: Commitment,
#[cfg_attr(feature = "rkyv-impl", omit_bounds)]
pub q_c: Commitment,
#[cfg_attr(feature = "rkyv-impl", omit_bounds)]
pub q_4: Commitment,
#[cfg_attr(feature = "rkyv-impl", omit_bounds)]
pub q_arith: Commitment,
}

Expand Down Expand Up @@ -73,8 +73,8 @@ impl Serializable<{ 7 * Commitment::SIZE }> for VerifierKey {
q_l,
q_r,
q_o,
q_4,
q_c,
q_4,
q_arith,
})
}
Expand Down

0 comments on commit 1766644

Please sign in to comment.