From 7eafa560a5fe83959ca2649b6c9dc164c32a3ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Migone?= Date: Wed, 30 Nov 2022 13:52:52 -0300 Subject: [PATCH] Update issuance rate on config files (#754) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update issuanceRate on config files to match actual values Signed-off-by: Tomás Migone --- config/graph.goerli.yml | 2 +- config/graph.localhost.yml | 2 +- config/graph.mainnet.yml | 2 +- e2e/deployment/config/l1/rewardsManager.test.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/graph.goerli.yml b/config/graph.goerli.yml index b4b735b4e..af19d28ed 100644 --- a/config/graph.goerli.yml +++ b/config/graph.goerli.yml @@ -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" diff --git a/config/graph.localhost.yml b/config/graph.localhost.yml index 4a90dfd20..b93f88dad 100644 --- a/config/graph.localhost.yml +++ b/config/graph.localhost.yml @@ -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" diff --git a/config/graph.mainnet.yml b/config/graph.mainnet.yml index 6eb08b233..a1aaebbbb 100644 --- a/config/graph.mainnet.yml +++ b/config/graph.mainnet.yml @@ -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" diff --git a/e2e/deployment/config/l1/rewardsManager.test.ts b/e2e/deployment/config/l1/rewardsManager.test.ts index cf7cbb09c..b3ee0ffd7 100644 --- a/e2e/deployment/config/l1/rewardsManager.test.ts +++ b/e2e/deployment/config/l1/rewardsManager.test.ts @@ -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 }) })