Commit 69632d3e by Francisco Giordano

fix patch for ERC20Votes

parent 10207a55
...@@ -5,7 +5,7 @@ index a7a9af54..0b7f838d 100644 ...@@ -5,7 +5,7 @@ index a7a9af54..0b7f838d 100644
@@ -24,12 +24,6 @@ import "../../../proxy/utils/Initializable.sol"; @@ -24,12 +24,6 @@ import "../../../proxy/utils/Initializable.sol";
* _Available since v4.2._ * _Available since v4.2._
*/ */
abstract contract ERC20VotesUpgradeable is Initializable, IERC20VotesUpgradeable, ERC20PermitUpgradeable { abstract contract ERC20VotesUpgradeable is Initializable, ERC20PermitUpgradeable {
- function __ERC20Votes_init() internal initializer { - function __ERC20Votes_init() internal initializer {
- __Context_init_unchained(); - __Context_init_unchained();
- __EIP712_init_unchained(name, "1"); - __EIP712_init_unchained(name, "1");
...@@ -14,4 +14,4 @@ index a7a9af54..0b7f838d 100644 ...@@ -14,4 +14,4 @@ index a7a9af54..0b7f838d 100644
- -
function __ERC20Votes_init_unchained() internal initializer { function __ERC20Votes_init_unchained() internal initializer {
} }
bytes32 private constant _DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); struct Checkpoint {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment