Define a 512 KiB block size limit

This commit is contained in:
Luke Parker
2025-12-02 21:24:05 -05:00
parent ff95c58341
commit 3ce90c55d9

View File

@@ -131,7 +131,7 @@ impl Block {
/// The size limit for a block. /// The size limit for a block.
/// ///
/// This is not enforced upon deserialization. Be careful accordingly. /// This is not enforced upon deserialization. Be careful accordingly.
pub const SIZE_LIMIT: usize = 1024 * 1024; pub const SIZE_LIMIT: usize = 512 * 1024;
} }
#[cfg(feature = "substrate")] #[cfg(feature = "substrate")]