fix: block number length also encoded