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

Restore Spark Name fee script sizing

Public commit record

What the developer wrote

Authored by Reuben Yap

45/100 · Thin
Restore Spark Name fee script 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 the size of a special 'Spark Name' fee script when building cryptocurrency transactions. Previously, the wallet appears to have used a fixed estimate (noProofNameTxData!.size) and did not account for the extra bytes added by embedding the Spark Name data into the output script. The patch now measures the actual increase in script size and adds that delta to the transaction size used for fee estimation. If left unfixed, transactions with Spark Names could have had fees that did not cover the real transaction size, potentially causing the transaction to be rejected, delayed, or underpaid.

Recommended action

Treat as a routine correctness fix. Verify that the new delta calculation covers all Spark Name output paths and that the updated test passes. Consider whether any previously created Spark Name transactions may have been broadcast with underestimated fees and monitor for stuck transactions. No immediate emergency response is indicated from the diff alone.

Security signals we found

01

Transaction fee underestimation due to missing script size delta

02

Potential transaction propagation/mining failure from insufficient fee

03

Spark Name output script size not fully accounted for in additionalTxSize

04

Test added/updated to assert exact script length and size delta

Risk score

Why this scored 42/100

Our methodology →
Potential impact 12/30
Exploitability 8/25
Stealth signal 7/15
Affected reach 6/15
Confidence 6/10
Evidence quality 3/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.