mirror of
https://github.com/luxfi/runtime.git
synced 2026-07-27 06:54:56 +00:00
7558b793ece1dee1cf0b94449fbc639e8e9b391e
The field on the runtime Runtime struct is the *primary network UTXO
fee asset* — burned to pay fees on P-chain (CreateChainTx,
AddChainValidatorTx, ...) and X-chain transfers. Naming it XAssetID
implied X-chain-specific scope; the asset is in fact shared by P+X
(both UTXO chains on the primary network) and is provided by the
chain's genesis, not by X-chain semantics.
Rename:
- Runtime.XAssetID → Runtime.UTXOAssetID
- JSON tag xAssetID → utxoAssetID
- local variables xAssetID → utxoAssetID
Comment expanded to spell out: "Same number on P and X by
construction; named for the function, not the chain."
Companion renames will land in:
- luxfi/node (wallet/{p,x}/builder.Context + node/config.XAssetID
+ vms/{platformvm,xvm} consumers)
- luxfi/sdk, luxfi/cli, luxfi/genesis
- liquidity (cli, node, contracts, network-bootstrap)
Languages
Go
100%