Skip to content

bug: Claim.getAllocationInfo unit test failure #174

@Akira-Taniguchi

Description

@Akira-Taniguchi

Description

The Claim.getAllocationInfo test is failing with an assertion error.

1) Claim
     getAllocationInfo
       get allocation info:

    AssertionError: expected 11637369791666666666666 to equal 23274739583333333333333.
    + expected - actual

    -11637369791666666666666
    +23274739583333333333333

The actual value is exactly half of the expected value.

Location

  • test/claim/claim.test.ts:587

Steps to reproduce

npx hardhat test test/claim/claim.test.ts --grep "getAllocationInfo"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions