Skip to content

Check small balance mismatch between contract log and response #23

@sept-en

Description

@sept-en

On some view call to get ft_balance_of() some account, I received the following response:

Log [develop.aurora]: Balance of NEAR [testlocal.testnet]: 29977777805780128
Account balance of testlocal.testnet: 29977777805780130 yoctoNEAR

The first line is the log from the contract, the second one is the response from the function itself that is being converted to ethers.BigNumber.

The glitch is quite small, though it makes sense to get the reason for that and solve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions