From 10bb27ae7605aa78766e96c656e6a533722380be Mon Sep 17 00:00:00 2001 From: Benjamin Bollen Date: Tue, 1 Oct 2024 21:43:10 +0100 Subject: [PATCH] (InflationaryOperator): initialise inflationDayZero from Hub --- src/circles/InflationaryOperator.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/circles/InflationaryOperator.sol b/src/circles/InflationaryOperator.sol index 1105940..20f542b 100644 --- a/src/circles/InflationaryOperator.sol +++ b/src/circles/InflationaryOperator.sol @@ -27,6 +27,8 @@ contract InflationaryCirclesOperator is BatchedDemurrage { constructor(IHubV2 _hub) { hub = _hub; + // read inflation day zero from hub + inflationDayZero = hub.inflationDayZero(); } // Public functions