You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a discrepancy with lamport balances in test code and noticed this may be due to JS floating point inaccuracies.
I believe this may have been fixed in the @solana/web3.js package, but since the latest is v1.98.0 and Anchor currently depends on ^1.68.0 it may not yet be on a version containing that update.
I'm having a discrepancy with lamport balances in test code and noticed this may be due to JS floating point inaccuracies.
I believe this may have been fixed in the
@solana/web3.js
package, but since the latest is v1.98.0 and Anchor currently depends on^1.68.0
it may not yet be on a version containing that update.Edit: actually there is a v2 it seems!
If I could be wrong here and there's something I could do to get a proper bigint or BN format when retrieving balance with:
I'd appreciate the feedback!
If not, some info on when this update would be available would be great.
Thanks!
The text was updated successfully, but these errors were encountered: