Skip to content

Commit

Permalink
OZ upgrade to 5.1 (#51)
Browse files Browse the repository at this point in the history
* forge install: openzeppelin-contracts-upgradeable

v5.1.0

* Updated extensions to match OZ 5.1
  • Loading branch information
jferas authored Nov 1, 2024
1 parent 0d92e8e commit f66ca1d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
url = https://github.com/foundry-rs/forge-std
[submodule "lib/openzeppelin-contracts-upgradeable"]
path = lib/openzeppelin-contracts-upgradeable
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable
url = https://github.com/openzeppelin/openzeppelin-contracts-upgradeable
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// Sourced from contract below, with import path changes for local GovernorUpgradeable.sol.
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorCountingFractional.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorCountingFractional.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/extensions/GovernorCountingSimpleUpgradeable.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// Sourced from contract below, with import path changes for local GovernorUpgradeable.sol.
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorCountingSimple.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorCountingSimple.sol)

pragma solidity ^0.8.20;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// Sourced from contract below, with import path changes for local GovernorUpgradeable.sol.
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorTimelockCompound.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorTimelockCompound.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/extensions/GovernorUpgradeable.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// Sourced from contract below, with change to hashProposal (removed pure) for sequential proposal ID suppert.
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorUpgradeable.sol)
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorUpgradeable.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts-upgradeable

0 comments on commit f66ca1d

Please sign in to comment.