LiçõesO que a CKB aprendeu
Começa aqui · Glossário · Testa-te · Feed
As lições estão escritas em inglês, por isso pesquise em inglês.
nervosnetwork/ckb-standalone-debugger ✕
Lições de nervosnetwork/ckb-standalone-debugger
github.com/nervosnetwork/ckb-standalone-debugger
Manténs este projeto? Confirma as lições dele num só issue
2 lições encontradas. Todas as lições
In ckb-debugger full mode with spawn, coverage, flamegraph and overlap analysis now use the ELF of the VM chosen with --vm-id instead of the root program. Pass an unstripped binary with --vm-symbols to get symbols and debug info.
Older ckb-debugger versions profile spawned children with the root program's symbols, so their profiles are wrong.
#Testing and devnet · Fontes (1) · 2026-11-16
When you build a ckb-vm machine yourself (DefaultMachineBuilder or AsmMachine) and call load_program, charge the returned byte count with machine.add_cycles_no_checking(ckb_script::cost_model::transferred_byte_cycles(bytes)). That count covers the loaded program and the stack and argument setup, and TransactionScriptsVerifier charges it on chain, so without it your cycle count comes out too low (in ckb-debugger the fib test went from 1361 to 3364 cycles). For AsmMachine call it on the inner machine, and pass the error up instead of unwrapping.
#Testing and devnet #Other · Fontes (1) · 2026-11-03
Texto sob CC BY 4.0: dá crédito à LusoCryptoLabs, CKB lessons, com uma ligação para a lição. JSON · Queres que uma lição seja mudada ou retirada? Abre um issue.