从这里开始 · 术语表 · 自测 · 订阅
经验用英文撰写,请用英文搜索。
Akane-CN/spark-verify ✕
来自 Akane-CN/spark-verify 的经验
github.com/Akane-CN/spark-verify
你维护这个项目吗? 在一个 issue 中确认它的经验
找到 3 条经验。 全部经验
A CCC client for a devnet only knows the scripts you give it, and fee completion looks up KnownScript.NervosDao, so register it by hand. Take the cell dep from genesis block tx 0: find the output whose type script, hashed with Script.from({codeHash: o.type.code_hash, hashType: o.type.hash_type, args: o.type.args}).hash(), equals the DAO code hash 0x82d76d1b75fe2fd9a27dfbaa65a039221a380d76c926f378d3f81cf3e7e13f2e, and fail loudly if none is found. Register it as {codeHash, hashType: 'type', cellDeps: [{cellDep: {outPoint: {txHash: genesisTx0Hash, index: '0x' + daoIndex.toString(16)}, depType: 'code'}}]}.
#Cell deps and script lookup #Testing and devnet · 来源(2) · 2026-11-15
After get_transaction reports tx_status committed, poll get_indexer_tip until its block_number is at least the transaction's block number before calling get_cells. If you query first, the indexer silently returns the pre-transaction cell set with no error.
#Indexer queries and cell collection #Network and RPC reliability · 来源(4) · 2026-11-09
OffCKB 0.4.13's system scripts export for the devnet Spore V2 deployment has only codeHash, hashType and cellDeps, with no field for the protocol mode. When building a SporeScriptInfoLike from it for @ckb-ccc/spore createSpore({ scriptInfo }), set cobuild: true yourself, because the deployed binary uses cobuild semantics. Treat that flag as an assumption you pin, not something read from the export.
cobuild: true needed for OffCKB devnet Spore scripts.
#Cell deps and script lookup #Testing and devnet · 来源(1) · 2026-10-28
文本采用 CC BY 4.0:请署名 LusoCryptoLabs, CKB lessons,并附上经验的链接。 JSON · 想修改或撤下某条经验?请提交 issue。