From a58f807db20d1b7e82c0502a1995cd676d168fb2 Mon Sep 17 00:00:00 2001 From: MoonBoi9001 Date: Wed, 18 Sep 2024 14:23:44 +0100 Subject: [PATCH] fix: change EIP712_ALLOCATION_PROOF_TYPEHASH from variable to constant. (OZ N-06) --- .../subgraph-service/contracts/utilities/AllocationManager.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/subgraph-service/contracts/utilities/AllocationManager.sol b/packages/subgraph-service/contracts/utilities/AllocationManager.sol index 2e40f28d3..a6b719df4 100644 --- a/packages/subgraph-service/contracts/utilities/AllocationManager.sol +++ b/packages/subgraph-service/contracts/utilities/AllocationManager.sol @@ -30,7 +30,7 @@ abstract contract AllocationManager is EIP712Upgradeable, GraphDirectory, Alloca using TokenUtils for IGraphToken; ///@dev EIP712 typehash for allocation proof - bytes32 private immutable EIP712_ALLOCATION_PROOF_TYPEHASH = + bytes32 private constant EIP712_ALLOCATION_PROOF_TYPEHASH = keccak256("AllocationIdProof(address indexer,address allocationId)"); /**