Add Bytes32x2Set (#5442)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
Hadrien Croubois
2025-02-04 20:30:53 +01:00
committed by GitHub
parent 2141d3faf5
commit 441dc141ac
7 changed files with 261 additions and 12 deletions

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---
`EnumerableSet`: Add `Bytes32x2Set` that handles (ordered) pairs of bytes32.

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---
`Hashes`: Expose `efficientKeccak256` for hashing non-commutative pairs of bytes32 without allocating extra memory.