Hanzo DevandGitHub 7558b793ec refactor: XAssetID → UTXOAssetID (#2)
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)
2026-05-30 14:23:41 -07:00
2026-05-13 11:59:34 -07:00
2026-05-13 11:59:34 -07:00
2026-02-14 05:26:23 -08:00
2026-03-11 11:05:21 -07:00
S
Description
No description provided
BSD-3-Clause
88 KiB
Languages
Go 100%