AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 44 Monero

Fix Spark Name registration fee sizing

Public commit record

What the developer wrote

Authored by Reuben Yap

45/100 · Thin
Fix Spark Name registration fee sizing
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes how the Stack Wallet calculates transaction fees for a feature called Spark Name registration. Previously, the wallet did not correctly account for the extra data added to the transaction when registering a Spark Name, and it also treated name-registration payments like ordinary 'send all' transactions. The fix ensures the fee is sized properly and that the miner fee is never subtracted from the amount being sent for a name registration. In practical terms, before the fix a user registering a Spark Name might have paid an unexpectedly low fee, causing the transaction to be rejected or delayed by the network, or the wallet might have tried to subtract the fee from the registration amount, potentially sending less than intended.

Recommended action

Review the Spark Name registration flow end-to-end to confirm the fee script size delta is applied consistently across all code paths that build Spark Name transactions, and consider adding integration tests that verify a name-registration transaction is accepted by the network with the computed fee.

Security signals we found

01

Incorrect transaction fee sizing for Spark Name registration outputs

02

Potential fee subtraction from the registration output amount on send-all transactions

03

Addition of unit tests to verify fee script size delta and fee-subtraction behavior

Risk score

Why this scored 44/100

Our methodology →
Potential impact 12/30
Exploitability 8/25
Stealth signal 6/15
Affected reach 7/15
Confidence 7/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.