mirror of
https://github.com/luxfi/node.git
synced 2026-07-27 03:39:39 +00:00
vms/types/fee: quantumvm moved to NoUserTxPolicy (LP-0130 §6)
Doc-comment + LLM.md updated to reflect chains/quantumvm feegate flip. Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
@@ -96,7 +96,7 @@ selection, and EVM contract auth.
|
||||
> is the fee currency everywhere (LP-0130 §3, §5).
|
||||
> - **Q-Chain has no user-payable blockspace** — finality is a
|
||||
> validator obligation paid via P (LP-0130 §6). `quantumvm` MUST
|
||||
> use `NoUserTxPolicy{}`; the row below is being corrected.
|
||||
> use `NoUserTxPolicy{}` — enforced in chains/quantumvm/feegate.go as of 2026-07-03.
|
||||
> - **M-Chain fees are service fees** deducted from the originating
|
||||
> chain's fee pool, not a user M-balance (LP-0130 §7). `mpcvm`
|
||||
> already runs `NoUserTxPolicy{}` — correct.
|
||||
|
||||
@@ -94,7 +94,7 @@ type Policy interface {
|
||||
|
||||
// FlatPolicy charges a fixed fee per user tx. The canonical
|
||||
// implementation for VMs without dynamic gas pricing — dexvm, bridgevm,
|
||||
// keyvm, zkvm, aivm, quantumvm all use this.
|
||||
// keyvm, zkvm, aivm use this (quantumvm is NoUserTxPolicy per LP-0130 §6).
|
||||
type FlatPolicy struct {
|
||||
// Fee is the per-tx burn amount, in nLUX. MUST be > 0.
|
||||
Fee uint64
|
||||
|
||||
Reference in New Issue
Block a user