Closed code423n4 closed 2 years ago
pauliax
Assigned operations to constant variables are re-evaluated every time.
bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
See https://github.com/ethereum/solidity/issues/9232
Change from 'constant' to 'immutable'.
dupe of #231
Handle
pauliax
Vulnerability details
Impact
Assigned operations to constant variables are re-evaluated every time.
See https://github.com/ethereum/solidity/issues/9232
Change from 'constant' to 'immutable'.