Skip to content

Commit

Permalink
chore: add comment on setIssuancePerBlock to remind of L1 allowance c…
Browse files Browse the repository at this point in the history
…hange
  • Loading branch information
pcarranzav committed Sep 7, 2022
1 parent 852b753 commit 08617fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/rewards/RewardsManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ contract RewardsManager is RewardsManagerV4Storage, GraphUpgradeable, IRewardsMa
/**
* @dev Sets the GRT issuance per block.
* The issuance is defined as a fixed amount of rewards per block in GRT.
* Whenever this function is called in layer 2, the updateL2MintAllowance function
* _must_ be called on the L1GraphTokenGateway in L1, to ensure the bridge can mint the
* right amount of tokens.
* @param _issuancePerBlock Issuance expressed in GRT per block (scaled by 1e18)
*/
function setIssuancePerBlock(uint256 _issuancePerBlock) external override onlyGovernor {
Expand Down

0 comments on commit 08617fa

Please sign in to comment.