Skip to content

Test gauge type weight#393

Draft
jubeira wants to merge 1 commit intomasterfrom
gauge-type-weight-test
Draft

Test gauge type weight#393
jubeira wants to merge 1 commit intomasterfrom
gauge-type-weight-test

Conversation

@jubeira
Copy link
Copy Markdown
Contributor

@jubeira jubeira commented Mar 30, 2026

Test zeroing out gauge type weight:

  • earned BAL can be claimed after setting weight to 0
  • no more emissions afterwards

To double check,

  • comment it block setting weight to 0
  • comment extra weight check:
    const gaugeWeightAfter = await gauge.getCappedRelativeWeight(await currentTimestamp());
    expect(gaugeWeightAfter).to.be.eq(0);
  • last test mint tokens (3 - no emissions) should fail (tokens would have been minted if weight was not 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant