Skip to content

Commit

Permalink
fix mpt circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Sep 13, 2023
1 parent c257a93 commit 0bae9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gadgets/mpt_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ impl<F: FieldExt> MptUpdateLookup<F> for MptUpdateConfig {
let old_value = self.old_value.current() * is_start();
let new_value = self.new_value.current() * is_start();
let [address_high, address_low, ..] = self.intermediate_values;
let address = (address_high.current()
+ address_low.current() * Query::Constant(F::from_u128(1 << 96)))
let address = (address_high.current() * Query::Constant(F::from_u128(1 << 32))
+ address_low.current())
* is_start();
let storage_key_rlc = self.storage_key_rlc.current() * is_start();
[
Expand Down

0 comments on commit 0bae9ee

Please sign in to comment.