Handle None from ckb_sdk Since::extract_metric for invalid since valuesPráticoDe uma correção
A raw since u64 can carry the reserved metric flag 0b11 (e.g. 0x6000_0000_0000_0000), for which ckb_sdk::Since::extract_metric() returns None, and a timestamp metric value can exceed what chrono can represent. Code that formats since values received from RPC should handle both cases instead of unwrapping, as ckb-cli now does by printing "invalid since" or "invalid".
#Since and time locks #Data encoding (molecule, hex, bigints) · Fontes (1) · 2026-11-09