Skip to content

Commit

Permalink
emit event for price update so bee node catches price on new contract…
Browse files Browse the repository at this point in the history
… deployment
  • Loading branch information
0xCardinalError committed Sep 3, 2024
1 parent e70c3cd commit c5b600d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PriceOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ contract PriceOracle is AccessControl {
postageStamp = IPostageStamp(_postageStamp);
lastAdjustedRound = currentRound();
PRICE_UPDATER_ROLE = keccak256("PRICE_UPDATER_ROLE");
emit PriceUpdate(currentPrice());
}

////////////////////////////////////////
Expand Down

0 comments on commit c5b600d

Please sign in to comment.