Open ernestognw opened 1 year ago
There is a point about shadowing, which IMO is not concerning, and a point about redundancy. A similar thing comes up in ERC20 with ERC20Permit, since it needs a name for EIP712 and ERC20 already has one.
There is a point about shadowing, which IMO is not concerning, and a point about redundancy. A similar thing comes up in ERC20 with ERC20Permit, since it needs a name for EIP712 and ERC20 already has one.
Talking about redundancy can't we just remove _name from Governor contract?
@frangio @Amxx Any updates on this?
Is the governor's name suposed to be able to be overriden by other contracts? Because if not I suggest to just expose the _EIP712Name in the name function
📝 Details
Governor initializes with the following constructor:
However,
_name
is also the name of the variable in EIP712:Apparently, there's no point in having the storage variable in the Governor when the name in EIP712 can be used.