From c5b600de71505158a790a9c275077ea1f4874579 Mon Sep 17 00:00:00 2001 From: "Mark.B" Date: Tue, 3 Sep 2024 17:52:28 +0200 Subject: [PATCH] emit event for price update so bee node catches price on new contract deployment --- src/PriceOracle.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PriceOracle.sol b/src/PriceOracle.sol index 5f670f46..d052ecf9 100644 --- a/src/PriceOracle.sol +++ b/src/PriceOracle.sol @@ -61,6 +61,7 @@ contract PriceOracle is AccessControl { postageStamp = IPostageStamp(_postageStamp); lastAdjustedRound = currentRound(); PRICE_UPDATER_ROLE = keccak256("PRICE_UPDATER_ROLE"); + emit PriceUpdate(currentPrice()); } ////////////////////////////////////////