nervosnetwork / ckb-kanban

Issues for the board CKB Kanban
1 stars 1 forks source link

Support Primitive Integer Types in Molecule #10

Closed zhangsoledad closed 1 year ago

zhangsoledad commented 1 year ago

Allow adding metadata about the primitive integer types so the language author can choose to support generating the corresponding interfaces.

For example, CKB uses a lot little-endian integers but they are just binaries in the molecule schema file. So every SDK to support CKB molecule structures must implement these integer fields manually.

https://github.com/nervosnetwork/molecule/issues/57 https://github.com/nervosnetwork/molecule/pull/62