Constant forest_filecoin::utils::encoding::serde_byte_array::BYTE_ARRAY_MAX_LEN
source ยท pub const BYTE_ARRAY_MAX_LEN: usize = _; // 2_097_152usize
Expand description
lotus use cbor-gen for generating codec for types, it has a length limit
for byte array as 2 << 20
https://github.com/whyrusleeping/cbor-gen/blob/f57984553008dd4285df16d4ec2760f97977d713/gen.go#L16