Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dadepo committed Dec 20, 2024
1 parent 277d28e commit 3b8792b
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions src/ledger/fuzz.zig
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,13 @@ fn dbGetBytes(
max_actions: ?usize,
) !void {
const key = random.int(u32);
try performDbAction("RocksDb.getBytes", RocksDb.getBytes, .{ db, cf1, key }, count, max_actions);
try performDbAction(
"RocksDb.getBytes",
RocksDb.getBytes,
.{ db, cf1, key },
count,
max_actions,
);
}

fn dbGet(
Expand All @@ -220,7 +226,13 @@ fn dbGet(
max_actions: ?usize,
) !void {
const key = random.int(u32);
try performDbAction("RocksDb.get", RocksDb.get, .{ db, allocator, cf1, key }, count, max_actions);
try performDbAction(
"RocksDb.get",
RocksDb.get,
.{ db, allocator, cf1, key },
count,
max_actions,
);
}

fn dbCount(
Expand All @@ -238,7 +250,13 @@ fn dbContains(
max_actions: ?usize,
) !void {
const key = random.int(u32);
try performDbAction("RocksDb.contains", RocksDb.contains, .{ db, cf1, key }, count, max_actions);
try performDbAction(
"RocksDb.contains",
RocksDb.contains,
.{ db, cf1, key },
count,
max_actions,
);
}

// Batch API
Expand Down

0 comments on commit 3b8792b

Please sign in to comment.