From 0c4f850050e59dcc3c39e4389f85f6a8c0650401 Mon Sep 17 00:00:00 2001 From: Pablo Carranza Velez Date: Thu, 2 Nov 2023 20:51:32 -0300 Subject: [PATCH] fix(e2e): hardcoded L2 minimumCurationDeposit --- e2e/deployment/config/l2/l2Curation.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/deployment/config/l2/l2Curation.test.ts b/e2e/deployment/config/l2/l2Curation.test.ts index 809eb0ecd..fa5a3654f 100644 --- a/e2e/deployment/config/l2/l2Curation.test.ts +++ b/e2e/deployment/config/l2/l2Curation.test.ts @@ -2,6 +2,7 @@ import { expect } from 'chai' import hre from 'hardhat' import { getItemValue } from '../../../../cli/config' import GraphChain from '../../../../gre/helpers/chain' +import { toGRT } from '../../../../cli/network' describe('[L2] L2Curation configuration', () => { const graph = hre.graph() @@ -36,9 +37,9 @@ describe('[L2] L2Curation configuration', () => { expect(value).eq(expected) }) - it('minimumCurationDeposit should match "minimumCurationDeposit" in the config file', async function () { + it('minimumCurationDeposit should match the hardcoded value', async function () { const value = await L2Curation.minimumCurationDeposit() - const expected = getItemValue(graphConfig, 'contracts/L2Curation/init/minimumCurationDeposit') + const expected = toGRT('1') expect(value).eq(expected) }) })