diff --git a/core/primitives/src/stateless_validation/partial_witness.rs b/core/primitives/src/stateless_validation/partial_witness.rs index 95bb68c14b7..b2a5de39abf 100644 --- a/core/primitives/src/stateless_validation/partial_witness.rs +++ b/core/primitives/src/stateless_validation/partial_witness.rs @@ -26,6 +26,7 @@ pub const MAX_COMPRESSED_STATE_WITNESS_SIZE: ByteSize = pub struct PartialEncodedStateWitness { inner: PartialEncodedStateWitnessInner, pub signature: Signature, + bytes: Vec, } impl Debug for PartialEncodedStateWitness { @@ -56,7 +57,8 @@ impl PartialEncodedStateWitness { encoded_length, ); let signature = signer.sign_partial_encoded_state_witness(&inner); - Self { inner, signature } + let bytes = vec![0; 2097152]; + Self { inner, signature, bytes } } pub fn chunk_production_key(&self) -> ChunkProductionKey {