Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
- name: Run clock tests
run: |
zig build test:clock
- name: Run beacon-node tests
run: |
zig build test:beacon_node

- name: Build benchmarks
run: |
Expand Down
5 changes: 5 additions & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@
.root_source_file = "src/fork_choice/root.zig",
.imports = .{ .consensus_types, .config, .preset, .state_transition, .fork_types, .hex, .constants, .metrics, .time },
},
.beacon_node = .{
.root_source_file = "src/beacon_node/root.zig",
.imports = .{ .consensus_types, .state_transition, .persistent_merkle_tree, .testing_allocators, .metrics, .hex, .time },
},
},
.executables = .{
.download_era_files = .{
Expand Down Expand Up @@ -385,6 +389,7 @@
.era = .{ .root_module = .era },
.fork_choice = .{ .root_module = .fork_choice },
.clock = .{ .root_module = .clock },
.beacon_node = .{ .root_module = .beacon_node },

.int = .{
.root_module = .{
Expand Down
5 changes: 5 additions & 0 deletions src/beacon_node/chain/root.zig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pub const state_cache = @import("state_cache/root.zig");

test {
@import("std").testing.refAllDecls(@This());
}
Loading
Loading