Adding#2
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on February 18
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| 'RewardsClaimed': () => 5, | ||
| 'RewardsClaimedMany': (e) => 5 * e.pass_count, | ||
| 'SaleListingCreated': () => 10, | ||
| 'SaleListingPurchased': (e) => Math.floor(e.price / 1_000_000_000) * 0.01, |
There was a problem hiding this comment.
Marketplace points always zero for purchases under 100 SUI
Medium Severity
The marketplace points calculation produces fractional values that get floored to zero for normal purchase amounts. Line 2435 calculates Math.floor(price_in_sui) * 0.01 which yields 0.1 points for a 10 SUI purchase. Line 2449 then applies Math.floor(basePoints * multiplier), flooring 0.1 to 0. Any marketplace purchase under 100 SUI would award zero points despite the spec stating "1% of sale price" as the reward. This effectively disables marketplace points for typical transactions.
Note
Major documentation enhancements for deployment and frontend specs.
0x2::displaycalls, add commit step, and include a concrete testnet example; introduce a clear Testing Order flowchart; expand Backer steps (coin selection/split, savingSupporterPass), add Issuer revenue simulation, and enrich the testnet checklist with phased testing.Written by Cursor Bugbot for commit 7b72a7e. This will update automatically on new commits. Configure here.