Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/consensus_types/phase0.zig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub const Checkpoint = ssz.FixedContainerType(struct {
root: p.Root,
});

pub const Validator = ssz.FixedContainerType(struct {
pub const Validator = ssz.StructContainerType(struct {
pubkey: p.BLSPubkey,
withdrawal_credentials: p.Root,
effective_balance: p.Gwei,
Expand Down
2 changes: 2 additions & 0 deletions src/ssz/root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub const VariableVectorType = types.VariableVectorType;

pub const FixedContainerType = types.FixedContainerType;
pub const VariableContainerType = types.VariableContainerType;
pub const StructContainerType = types.StructContainerType;

pub const getPathGindex = types.getPathGindex;

Expand All @@ -42,6 +43,7 @@ pub const HasherData = hasher.HasherData;

const tree_view = @import("tree_view/root.zig");
pub const ContainerTreeView = tree_view.ContainerTreeView;
pub const StructContainerTreeView = tree_view.StructContainerTreeView;
pub const ArrayBasicTreeView = tree_view.ArrayBasicTreeView;
pub const ArrayCompositeTreeView = tree_view.ArrayCompositeTreeView;
pub const ListBasicTreeView = tree_view.ListBasicTreeView;
Expand Down
Loading
Loading