docs: sync with ckb v0.207.0#827
Merged
yfeng2824 merged 3 commits intoJun 17, 2026
Merged
Conversation
- Document CKB_ITEM_MISSING behavior for load_header/load_extension on unconfirmed tx-pool cells (script/src/syscalls/load_header.rs, script/src/syscalls/load_block_extension.rs). - Add devnet-from-existing-data genesis_epoch_length note for Mainnet/Testnet (docs/devnet-from-existing-data.md). - Record last processed CKB release as v0.207.0.
|
@humble-little-bear is attempting to deploy a commit to the CKBA-2026 Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates docs.nervos.org to match the upstream CKB v0.207.0 release, primarily documenting updated syscall behavior around tx-pool (unconfirmed) Cells and clarifying devnet initialization requirements when reusing Mainnet/Testnet data.
Changes:
- Documented that
ckb_load_headerandckb_load_extensionreturnCKB_ITEM_MISSINGfor unconfirmed tx-pool Cells (instead of aborting). - Added guidance that devnets initialized from existing Mainnet/Testnet data must preserve the source chain’s
genesis_epoch_lengthto avoid genesis hash mismatches. - Bumped the autopilot tracked upstream release to
v0.207.0.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
website/docs/script/syscalls-for-script.mdx |
Updates syscall table descriptions to reflect CKB_ITEM_MISSING behavior for unconfirmed tx-pool Cells. |
website/docs/node/run-devnet-node.mdx |
Adds a note warning about genesis_epoch_length requirements when initializing from Mainnet/Testnet data. |
.autopilot/last_ckb_release.txt |
Records the synced upstream CKB version as v0.207.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Remove internal Rust type name 'PoolCell' from syscall descriptions. - Use 'devnet' consistently instead of 'dev chain'. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
RetricSu
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR syncs the Nervos CKB documentation with the upstream ckb v0.207.0 release (2026-06-10). The previous recorded release was v0.206.0, so the diff range is v0.206.0...v0.207.0.
Changes applied
script/src/syscalls/load_header.rs:load_headernow treats unconfirmed tx-pool Cells (PoolCell) as missing and returnsCKB_ITEM_MISSINGinstead of panicking.website/docs/script/syscalls-for-script.mdxckb_load_headerdescription to noteCKB_ITEM_MISSINGfor unconfirmed Cells.script/src/syscalls/load_block_extension.rs: sameCKB_ITEM_MISSINGbehavior for unconfirmed tx-pool Cells.website/docs/script/syscalls-for-script.mdxckb_load_extensiondescription to noteCKB_ITEM_MISSINGfor unconfirmed Cells.docs/devnet-from-existing-data.md: split Mainnet/Testnet[params]examples; Mainnet requiresgenesis_epoch_length = 1743, Testnet keeps the default1000.website/docs/node/run-devnet-node.mdxgenesis_epoch_length.Release diff reference
script/src/syscalls/load_header.rsscript/src/syscalls/load_block_extension.rsdocs/devnet-from-existing-data.mdrpc/README.md(only a grammar fix; no docs.nervos.org page references this text)rpc/src/util/fee_rate.rs(internal overflow/robustness fix; no user-facing RPC change)util/constant/src/default_assume_valid_target.rs/latest_assume_valid_target.rs(assume-valid target updates; not documented on docs.nervos.org)Items needing manual confirmation
rpc/README.md/util/jsonrpc-types/src/indexer.rsare reflected on docs.nervos.org because the site does not currently include the generated RPC type descriptions. If a dedicated RPC reference page is added later, the phrasing "An array representing..." should be used.rpc/src/server.rsHTTP timeout status-code change and thefee_rate.rsinternal averaging fix are implementation details with no visible configuration or RPC contract change, so they are not documented here.Breaking / high-priority notes
ckb_load_headerandckb_load_extensionnow returnCKB_ITEM_MISSING(error code 2) for unconfirmed tx-pool Cells instead of aborting the VM. Scripts that previously relied on the abort behavior should handleCKB_ITEM_MISSINGexplicitly.Autopilot record
.autopilot/last_ckb_release.txtis updated tov0.207.0.