We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 156fb08 commit 27e73c9Copy full SHA for 27e73c9
src/core/genesis_config.zig
@@ -300,7 +300,7 @@ pub const GenesisConfig = struct {
300
defer file.close();
301
302
// Read the entire file to compute hash from raw bytes
303
- const file_bytes = try file.readToEndAlloc(allocator, 1024 * 1024 * 100); // 100 MB max
+ const file_bytes = try file.readToEndAlloc(allocator, 100 * 1024 * 1024); // 100 MB max
304
defer allocator.free(file_bytes);
305
306
// Compute hash from original file bytes (this matches Agave's behavior)
0 commit comments