Skip to content

Commit

Permalink
fix(e2e): hardcoded L2 minimumCurationDeposit
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarranzav committed Nov 2, 2023
1 parent fa0dd99 commit 0c4f850
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e/deployment/config/l2/l2Curation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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)
})
})

0 comments on commit 0c4f850

Please sign in to comment.