Skip to content

Commit

Permalink
Update issuance rate on config files (#754)
Browse files Browse the repository at this point in the history
* chore: update issuanceRate on config files to match actual values

Signed-off-by: Tomás Migone <[email protected]>
  • Loading branch information
tmigone authored Nov 30, 2022
1 parent 0084af5 commit 7eafa56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/graph.goerli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ contracts:
controller: "${{Controller.address}}"
calls:
- fn: "setIssuanceRate"
issuanceRate: "1000000012184945188" # per block increase of total supply, blocks in a year = 365*60*60*24/13
issuanceRate: "1000000011247641700" # per block increase of total supply, blocks in a year = 365*60*60*24/13
- fn: "setSubgraphAvailabilityOracle"
subgraphAvailabilityOracle: *availabilityOracle
- fn: "syncAllContracts"
Expand Down
2 changes: 1 addition & 1 deletion config/graph.localhost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ contracts:
controller: "${{Controller.address}}"
calls:
- fn: "setIssuanceRate"
issuanceRate: "1000000012184945188" # per block increase of total supply, blocks in a year = 365*60*60*24/13
issuanceRate: "1000000011247641700" # per block increase of total supply, blocks in a year = 365*60*60*24/13
- fn: "setSubgraphAvailabilityOracle"
subgraphAvailabilityOracle: *availabilityOracle
- fn: "syncAllContracts"
Expand Down
2 changes: 1 addition & 1 deletion config/graph.mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ contracts:
controller: "${{Controller.address}}"
calls:
- fn: "setIssuanceRate"
issuanceRate: "1000000012184945188" # per block increase of total supply, blocks in a year = 365*60*60*24/13
issuanceRate: "1000000011247641700" # per block increase of total supply, blocks in a year = 365*60*60*24/13
- fn: "setSubgraphAvailabilityOracle"
subgraphAvailabilityOracle: *availabilityOracle
- fn: "syncAllContracts"
Expand Down
2 changes: 1 addition & 1 deletion e2e/deployment/config/l1/rewardsManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ describe('[L1] RewardsManager configuration', () => {

it('issuanceRate should match "issuanceRate" in the config file', async function () {
const value = await RewardsManager.issuanceRate()
expect(value).eq('1000000012184945188') // hardcoded as it's set with a function call rather than init parameter
expect(value).eq('1000000011247641700') // hardcoded as it's set with a function call rather than init parameter
})
})

0 comments on commit 7eafa56

Please sign in to comment.