{
  "schema_version": "1.0.0",
  "record_id": "dn-next42-20261205-q38",
  "record_version": "1.0.0",
  "title": "For Solana legacy and v0 transactions, the compute limit changes the fee",
  "canonical_url": "https://decentralised.news/solana-priority-fee-requested-compute-unit-limit",
  "evidence_type": "documentary_analysis_with_synthetic_worked_example",
  "source_review_date": "2026-12-05",
  "last_verified_utc": null,
  "observation_window": null,
  "methodology_url": "https://decentralised.news/solana-priority-fee-requested-compute-unit-limit",
  "methodology_version": "1.0.0",
  "input_schema": {
    "columns": [
      "requested_limit_CU",
      "assumed_required_CU",
      "price_micro_lamports_per_CU",
      "headroom_CU",
      "shortfall_CU",
      "quoted_priority_fee_lamports",
      "assumed_base_fee_lamports",
      "quoted_total_lamports",
      "adequate_for_assumed_work"
    ],
    "rows_file": "https://decentralised.news/data/dn-next42-20261205/v1/q38.csv"
  },
  "units": {
    "definition": "Units are named in the CSV columns, manuscript and calculation labels. Do not combine quantities without resolving their dimensions."
  },
  "sources": [
    {
      "id": 1,
      "title": "Solana fee structure",
      "url": "https://solana.com/developers/docs/core/fees/fee-structure",
      "reviewDate": "2026-12-05",
      "supports": "Legacy/v0 priority fee uses ceiling(price times limit / 1e6); base-signature charges; v1 uses direct total fee.",
      "evidenceType": "Official documentation"
    },
    {
      "id": 2,
      "title": "Solana compute budget",
      "url": "https://solana.com/developers/docs/core/fees/compute-budget",
      "reviewDate": "2026-12-05",
      "supports": "Requested CUs determine legacy/v0 priority fees; limits, instructions, format differences and scheduling costs.",
      "evidenceType": "Official documentation"
    },
    {
      "id": 3,
      "title": "Solana cookbook: Optimize compute requested",
      "url": "https://solana.com/developers/cookbook/transactions/optimize-compute",
      "reviewDate": "2026-12-05",
      "supports": "Simulation exposes unitsConsumed and the example adds a margin before requesting a limit.",
      "evidenceType": "Official documentation"
    }
  ],
  "calculations": [
    {
      "label": "150k-CU priority quote in lamports",
      "expression": "150000*10000/1000000",
      "expected": 1500
    },
    {
      "label": "One-signature total quote",
      "expression": "5000+1500",
      "expected": 6500
    },
    {
      "label": "Priority increase for higher limit",
      "expression": "600000*10000/1000000-150000*10000/1000000",
      "expected": 4500
    },
    {
      "label": "Insufficient-budget shortfall in CU",
      "expression": "120000-100000",
      "expected": 20000
    }
  ],
  "example": {
    "synthetic": true,
    "description": "Original DN synthetic worked example. All scenario inputs are hypothetical; no live transaction, return, quote or account is represented. For Solana legacy/v0 transactions, compare requested compute limits, priority fees and adequate work budgets while excluding the distinct v1 fee format.",
    "rows": [
      [
        100000,
        120000,
        10000,
        0,
        20000,
        1000,
        5000,
        6000,
        false
      ],
      [
        150000,
        120000,
        10000,
        30000,
        0,
        1500,
        5000,
        6500,
        true
      ],
      [
        300000,
        120000,
        10000,
        180000,
        0,
        3000,
        5000,
        8000,
        true
      ],
      [
        600000,
        120000,
        10000,
        480000,
        0,
        6000,
        5000,
        11000,
        true
      ]
    ]
  },
  "limitations": [
    "Examples use declared invented inputs, not observed fills, customer outcomes, provider rankings or predictive backtests.",
    "Source-review date is not a measurement time, publication date of the source or assurance that terms will remain current.",
    "Documentation does not establish individual access, legal eligibility, service reliability or investment suitability."
  ],
  "falsification_or_recheck_triggers": [
    "Changed governing document or applicable software version.",
    "Evidence of different account, product, timing, unit or legal-entity scope.",
    "An arithmetic error or reproducible counterexample to the stated mechanism."
  ],
  "rights": {
    "original_DN_analysis": "Cite Decentralised News, the canonical URL and record version when reusing this worked example.",
    "third_party_sources": "Third-party material remains subject to its original terms. Linking does not grant redistribution rights."
  },
  "commercial_disclosure": "This article includes a link to DN’s own separately scoped research service. No provider purchase is required to use the example.",
  "corrections": []
}
