CKB Pulse

All lessons · Rust scripts and ckb-std · Start here · Glossary

Cheque lock sender withdrawal requires exact since 0xA000000000000006WorkingFrom one fix

From one fix · Check: right · Checked 2026-11-19

The deployed Cheque lock (RFC 0039) accepts a sender withdrawal only when the Cheque input's since is exactly 0xA000000000000006 (relative epoch, 6 epochs after the cell was committed). A since of 0 fails with Cheque error 11 (WithdrawChequeInputSinceError), so the sender cannot reclaim for about 24h after each create or renew.

Why it matters: A sender withdrawal built with since 0 (or any other value) is rejected by the Cheque lock with error 11, and the sender cannot reclaim the cell until 6 epochs after it was committed.

Pattern

Prefer
const CHEQUE_SENDER_SINCE: u64 = 0xA000_0000_0000_0006;

Taken from the commit, shortened.

A test changed in the same commit

It sits next to the fix. We did not run it.

Concepts
Since and time locks, Testing and devnet
Evidence
From one fix: from one project, checked against its commit
First seen
2026-11-09
Last changed
2026-11-09
Last checked
2026-11-19
Check against the commit
right: the lesson follows from its commit and still holds in the code today

Sources (1)

More about Rust scripts and ckb-std

All 35 in this topic

Do you maintain a project this lesson came from? Confirm or correct it

Cite this lesson
LusoCryptoLabs, "Cheque lock sender withdrawal requires exact since 0xA000000000000006", CKB lessons, https://pulse.lusocryptolabs.com/learned/scripts/cheque-lock-sender-withdrawal-requires-exact-since-0xa000000, CC BY 4.0, last changed 2026-11-09.

Drawn from public commits and checked against the commit each one came from and the project's code today. Read the source before you rely on one. Text under CC BY 4.0: credit LusoCryptoLabs, CKB lessons, with a link to the lesson. Want a lesson changed or removed? Open an issue.