Skip to content

Commit

Permalink
DO NOT MERGE: make blocks 2 MB
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Sep 9, 2024
1 parent 429fdb4 commit 983c7d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/sc-consensus-subspace/src/archiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,10 @@ where
}
}

signed_block.encode()
const LARGE_BLOCK: usize = 2 * 1024 * 1024;
let mut block = signed_block.encode();
block.resize(LARGE_BLOCK, 0);
block
}
}

Expand Down

0 comments on commit 983c7d9

Please sign in to comment.