CKB Pulse
经验

CKB 学到了什么

从这里开始 · 术语表 · 自测 · 订阅

经验用英文撰写,请用英文搜索。

CellScript-Labs/AgoraSeal

来自 CellScript-Labs/AgoraSeal 的经验

github.com/CellScript-Labs/AgoraSeal

你维护这个项目吗? 在一个 issue 中确认它的经验

找到 3 条经验。 全部经验

Disable overflow checks for ckb-std when using its dummy-atomic polyfills进阶来自一次修复

When a release profile sets overflow-checks = true and ckb-std (here =1.1.0 with the dummy-atomic feature) supplies the single-thread __atomic polyfills, add a per-package override turning overflow checks off for ckb-std. Atomic read/modify/write arithmetic is defined to wrap, so checked arithmetic in those polyfills would panic instead of wrapping.

#Other · 来源(1) · 2026-10-07

Parse raw CKB blocks with from_compatible_slice to accept BlockV1 extension实践来自一次修复

Serialized CKB blocks may be BlockV1, which appends a consensus extension field after the Block molecule fields, so a strict packed::BlockReader::from_slice can reject them. This commit parses block bytes with ckb-gen-types 1.1.1 packed::BlockReader::from_compatible_slice, which accepts the extra field while still exposing header() and transactions().

#Data encoding (molecule, hex, bigints) · 来源(1) · 2026-10-07

Raw cell_deps indexes match Source::CellDep only before the first dep group进阶来自一次修复

When a script reads the raw transaction's cell_deps (via load_transaction) and uses a position there as a Source::CellDep index for load_cell_type_hash or load_cell_data, the mapping holds only for the leading run of dep_type code entries, because dep groups expand into their member cells and shift later indexes. This vote script restricts its proposal and deposit lookups to that direct prefix and lets wallet dep groups follow it.

#Cell deps and script lookup · 来源(1) · 2026-10-07

文本采用 CC BY 4.0:请署名 LusoCryptoLabs, CKB lessons,并附上经验的链接。 JSON · 想修改或撤下某条经验?请提交 issue。