mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-25 19:31:11 +00:00
DATA_MAX_LENGTH_BYTES is a real const (ByteSize::as_u64 is const fn, so no fallible conversion needed), replacing the private data_max_length() helper and every duplicate usize::try_from(DATA_MAX_LENGTH.as_u64()).expect(...) call site across data.rs and its two external consumers, per PR #756 review nit.