OpenZeppelin / openzeppelin-contracts

OpenZeppelin Contracts is a library for secure smart contract development.
https://openzeppelin.com/contracts
MIT License
24.8k stars 11.77k forks source link

Avoid storing hashing function pointers in storage make MerkleTree structure upgrade-safe #5080

Closed Amxx closed 3 months ago

Amxx commented 3 months ago

Fixes #5079

This is change to an unreleased feature, no need for a changeset entry.

PR Checklist

changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: 7d19d75656158d4c7fb26272f46b29f28935c5be

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR