From 9fd0263ef2382f2dba93ddcaf696f388b79b3b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Migone?= Date: Fri, 25 Nov 2022 15:57:03 -0300 Subject: [PATCH 1/3] chore: update issuanceRate on config files to match actual values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Migone --- config/graph.goerli.yml | 2 +- config/graph.mainnet.yml | 2 +- 2 files changed, 2 insertions(+), 2 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.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" From 4eec9ec2bdf28e549beaac7ac554a2b5e5ad3293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Migone?= Date: Fri, 25 Nov 2022 15:57:49 -0300 Subject: [PATCH 2/3] chore: update issuanceRate on localhost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Migone --- config/graph.localhost.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From c62d20946307a5eeeb54b3cdfd05044d381f73ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Migone?= Date: Mon, 28 Nov 2022 15:01:32 -0300 Subject: [PATCH 3/3] chore: update issuance rate on e2e test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Migone --- e2e/deployment/config/l1/rewardsManager.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) })