Merge branch 'release-v4.9' into master (#4373)

This commit is contained in:
Francisco
2023-06-20 13:06:56 -03:00
committed by GitHub
parent 9fa550c62f
commit b66c77a1fc
6 changed files with 9 additions and 10 deletions

View File

@ -1,5 +0,0 @@
---
'openzeppelin-solidity': patch
---
`MerkleProof`: Fix a bug in `processMultiProof` and `processMultiProofCalldata` that allows proving arbitrary leaves if the tree contains a node with value 0 at depth 1.

View File

@ -59,6 +59,10 @@ function supportsInterface(bytes4 interfaceId) public view virtual override retu
}
```
## 4.9.2 (2023-06-16)
- `MerkleProof`: Fix a bug in `processMultiProof` and `processMultiProofCalldata` that allows proving arbitrary leaves if the tree contains a node with value 0 at depth 1.
## 4.9.1 (2023-06-07)
- `Governor`: Add a mechanism to restrict the address of the proposer using a suffix in the description.

View File

@ -1,7 +1,7 @@
{
"name": "@openzeppelin/contracts",
"description": "Secure Smart Contract library for Solidity",
"version": "4.9.1",
"version": "4.9.2",
"files": [
"**/*.sol",
"/build/contracts/*.json",

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/MerkleProof.sol)
// OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.19;

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "openzeppelin-solidity",
"version": "4.9.0",
"version": "4.9.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "openzeppelin-solidity",
"version": "4.9.0",
"version": "4.9.2",
"license": "MIT",
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",

View File

@ -1,7 +1,7 @@
{
"name": "openzeppelin-solidity",
"description": "Secure Smart Contract library for Solidity",
"version": "4.9.1",
"version": "4.9.2",
"files": [
"/contracts/**/*.sol",
"/build/contracts/*.json",