Skip to content

Commit

Permalink
Update core/lib/multivm/src/tracers/validator/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Vlad Bochok <[email protected]>
  • Loading branch information
ly0va and vladbochok authored Oct 24, 2024
1 parent 7ed9349 commit c70b3e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/lib/multivm/src/tracers/validator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ impl<H> ValidationTracer<H> {
let to = u256_to_h256(key);
let valid_users_slot = address == self.user_address
// we don't allow dirty bytes in front of the address
|| key < U256::from(2).pow(160.into())
&& u256_to_account_address(&key) == self.user_address
|| key == address_to_u256(self.user_address)
|| self
.auxilary_allowed_slots
.range(from..=to)
Expand Down

0 comments on commit c70b3e1

Please sign in to comment.