NAC_Blockchain/cnnl-compiler
NAC Admin 2090fc6f74 fix(protocols): 第三度生产级检查 - 修复4个crate编译错误
修复内容:
1. cnnl-compiler/src/lexer/token.rs
   - 补充缺失的 Token 变体:Test/Assert/Name/Version/Description/Semicolon/U128
   - 修复 parser/ast.rs 中 Literal::Int 类型从 i64 改为 u64

2. nvm_v2/nvm-l1/src/cbpp/mod.rs
   - 修复 pub use crate::nac_lens::* 错误引用
   - 改为 pub use self::nac_lens::*

3. nac-udm/src/l1_protocol/acc/acc1155.rs
   - 补充 SDK 扩展类型:TokenTypeDNA/TokenTypeMetadata/BatchTransfer
   - BatchMint/BatchBurn/TokenCustodyInfo/TokenInsuranceInfo/TokenTypeValuation
   - 字段与 nac-sdk 实际使用完全匹配

4. nac-sdk/src/protocols/acc1155.rs
   - 修复 gnacs_code: GNACSCode -> String 类型转换
   - 修复 sovereignty_type: SovereigntyRight -> String 类型转换
   - 补充 TokenTypeMetadata 缺失字段:attributes/description/version
   - 补充 TokenCustodyInfo 缺失字段:amount/expires_at/reason
   - 补充 TokenInsuranceInfo 缺失字段:policy_uri
   - 补充 TokenTypeValuation 缺失字段:method/report_uri

编译结果:全部 15 个 crate 0错误通过
2026-03-06 17:34:58 +08:00
..
examples Initial commit: NAC公链核心模块 - 生产级别代码 2026-02-16 19:19:43 -05:00
src fix(protocols): 第三度生产级检查 - 修复4个crate编译错误 2026-03-06 17:34:58 +08:00
.gitignore Initial commit: NAC公链核心模块 - 生产级别代码 2026-02-16 19:19:43 -05:00
Cargo.lock Initial commit: NAC公链核心模块 - 生产级别代码 2026-02-16 19:19:43 -05:00
Cargo.toml Initial commit: NAC公链核心模块 - 生产级别代码 2026-02-16 19:19:43 -05:00