Closed chenyukang closed 3 months ago
When run ckb run without disabling assume-valid-target, all the cycles in blocks are zero, since we skipped verification in this scenario.
ckb run
assume-valid-target
Don't store all zeros in db, set ext.cycles to None.
ext.cycles
Tests
Title Only: Include only the PR title in the release note.
What problem does this PR solve?
When run
ckb run
without disablingassume-valid-target
, all the cycles in blocks are zero, since we skipped verification in this scenario.What is changed and how it works?
Don't store all zeros in db, set
ext.cycles
to None.Check List
Tests
Release note