从这里开始 · 术语表 · 自测 · 订阅
经验用英文撰写,请用英文搜索。
ckb-devrel/offckb ✕
来自 ckb-devrel/offckb 的经验
github.com/ckb-devrel/offckb
你维护这个项目吗? 在一个 issue 中确认它的经验
找到 3 条经验。 全部经验
When subscribing to the CKB node's "log" topic over the TCP subscription RPC, the notification's params.result can be a JSON-encoded string of the log entry (message, level, target, date) rather than an object. Parse it with JSON.parse when it is a string, and skip malformed payloads instead of stopping the stream; otherwise script debug output (target ckb_script::verify) is silently dropped.
#Network and RPC reliability #Testing and devnet · 来源(1) · 2026-11-09
When filtering a CKB node's run.log or log subscription for contract debug output (ckb_debug / debug! syscalls), records can come with target `ckb_script` or a `ckb_script::` submodule such as `ckb_script::verify` rather than the legacy `ckb-script` target. For those targets, match only messages containing `DEBUG OUTPUT:`, because the same target also emits ordinary verification lines.
#Testing and devnet · 来源(1) · 2026-10-08
Burning a UDT's entire balance is accepted by SUDT and xUDT without extensions, because those scripts allow output amount to be less than or equal to input amount. offckb removed a guard that rejected destroyAmount === totalBalance and now still emits a zero-balance type cell (16-byte zero amount), which is valid. Extension-enabled xUDT was not covered by this change.
#Transaction building and fees #Capacity and cell size · 来源(1) · 2026-10-08
文本采用 CC BY 4.0:请署名 LusoCryptoLabs, CKB lessons,并附上经验的链接。 JSON · 想修改或撤下某条经验?请提交 issue。