Skip to content

Commit 7b9766d

Browse files
authored
Merge pull request #931 from fabian416/zero-curation-tax-test
test: add _curationTaxPercentage 0 case
2 parents 5271693 + f71110d commit 7b9766d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/contracts/test/unit/gns.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,11 @@ describe('L1GNS', () => {
420420
await publishNewVersion(me, subgraph.id, newSubgraph1, gns, curation)
421421
})
422422

423+
it('should publish a new version on an existing subgraph when curation tax percentage is zero', async function () {
424+
await curation.connect(governor).setCurationTaxPercentage(0)
425+
await publishNewVersion(me, subgraph.id, newSubgraph1, gns, curation)
426+
})
427+
423428
it('should publish a new version on an existing subgraph with no current signal', async function () {
424429
const emptySignalSubgraph = await publishNewSubgraph(
425430
me,

0 commit comments

Comments
 (0)