From 3fc6694e4814501f106ff6a4a2528533cba0a2b3 Mon Sep 17 00:00:00 2001 From: Junion Date: Thu, 20 Jun 2024 13:14:01 -0400 Subject: [PATCH] make deployTimestamp immutable --- contracts/hooks/examples/VolatilityOracle.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/hooks/examples/VolatilityOracle.sol b/contracts/hooks/examples/VolatilityOracle.sol index 1a42e1212..2900632f5 100644 --- a/contracts/hooks/examples/VolatilityOracle.sol +++ b/contracts/hooks/examples/VolatilityOracle.sol @@ -12,7 +12,7 @@ contract VolatilityOracle is BaseHook { error MustUseDynamicFee(); - uint32 deployTimestamp; + uint32 immutable deployTimestamp; /// @dev For mocking function _blockTimestamp() internal view virtual returns (uint32) {