Open dckc opened 2 days ago
The original failure was observed in a withdraw
:
We can see that the amount withdrawn is derived from the balance by filtering:
interleaving is theoretically possible, but that would have shown in logs, and it doesn't.
Describe the bug
AmountMath.isGTE with AssetKind.SET fails in a case involving invitations with common descriptions but distinct instance handles.
To Reproduce
Add this to
packages/ERTP/test/unitTests/mathHelpers/copySetMathHelpers.test.js
and run it:Expected behavior
test above passes
Platform Environment
375dc25
Additional context
@frazarshad discovered this while working on
10241
He made a test PR, #10281
a ci log of that a3p test shows the original context where the problem was found
more diagnosis an an endo issue to follow
Screenshots / Logs
since ci logs expire: