-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odd {x, y, z} >= {z} failure in AmountMath.isGTE with AssetKind.SET #10292
Comments
The original failure was observed in a
We can see that the amount withdrawn is derived from the balance by filtering: agoric-sdk/packages/smart-wallet/src/invitations.js Lines 112 to 140 in 94aaebc
interleaving is theoretically possible, but that would have shown in logs, and it doesn't. |
dckc
changed the title
odd {x, y, z} >= {y} failure in AmountMath.isGTE with AssetKind.SET
odd {x, y, z} >= {z} failure in AmountMath.isGTE with AssetKind.SET
Oct 22, 2024
mergify bot
added a commit
that referenced
this issue
Oct 25, 2024
closes: #9370 ## Description The priceFeed proposal has been tested as an independent coreEval, but the current plan calls for it to be included in Upgrade 18. This adds it to `upgrade.go` and moves the tests to `n:upgrade-next`. ### Security Considerations No additional security implications. ### Scaling Considerations Addresses pre-existing scaling concerns (see #8400), and adds no new scaling issues. ### Documentation Considerations None ### Testing Considerations An existing test is moved to a new location. The current version seems to tickle #10292, so tests may not pass at this point. ### Upgrade Considerations Targeted for upgrade 18.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
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:
The text was updated successfully, but these errors were encountered: