Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion qbft/messages_encoding.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion types/beacon_types_encoding.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
0,
3,
1,
0,
1,
0,
0,
0,
Expand Down Expand Up @@ -64,10 +64,10 @@
0,
3,
1,
255,
255,
255,
255,
1,
0,
0,
0,
142,
128,
6,
Expand Down Expand Up @@ -122,7 +122,7 @@
153,
153,
153,
0,
1,
0,
0,
0,
Expand Down Expand Up @@ -180,10 +180,10 @@
153,
153,
153,
255,
255,
255,
255,
1,
0,
0,
0,
142,
128,
6,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
0,
3,
1,
0,
1,
0,
0,
0,
Expand Down Expand Up @@ -64,10 +64,10 @@
0,
3,
1,
255,
255,
255,
255,
1,
0,
0,
0,
148,
143,
180,
Expand Down Expand Up @@ -122,7 +122,7 @@
153,
153,
153,
0,
1,
0,
0,
0,
Expand Down Expand Up @@ -180,10 +180,10 @@
153,
153,
153,
255,
255,
255,
255,
1,
0,
0,
0,
148,
143,
180,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
0,
3,
1,
0,
1,
0,
0,
0,
Expand Down Expand Up @@ -64,10 +64,10 @@
0,
3,
1,
255,
255,
255,
255,
1,
0,
0,
0,
142,
128,
6,
Expand Down Expand Up @@ -122,7 +122,7 @@
153,
153,
153,
0,
1,
0,
0,
0,
Expand Down Expand Up @@ -180,10 +180,10 @@
153,
153,
153,
255,
255,
255,
255,
1,
0,
0,
0,
142,
128,
6,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
0,
3,
1,
0,
1,
0,
0,
0,
Expand Down Expand Up @@ -64,10 +64,10 @@
0,
3,
1,
255,
255,
255,
255,
1,
0,
0,
0,
148,
143,
180,
Expand Down Expand Up @@ -122,7 +122,7 @@
153,
153,
153,
0,
1,
0,
0,
0,
Expand Down Expand Up @@ -180,10 +180,10 @@
153,
153,
153,
255,
255,
255,
255,
1,
0,
0,
0,
148,
143,
180,
Expand Down
8 changes: 4 additions & 4 deletions types/spectest/tests/ssvmsg/msg_id_belongs.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ func MsgIDBelongs() *SSVMessageTest {
return &SSVMessageTest{
Name: "belongs",
MessageIDs: []types.MessageID{
types.NewMsgID(testingutils.TestingSSVDomainType, testingutils.TestingValidatorPubKey[:], types.RoleCommittee),
types.NewMsgID(testingutils.TestingSSVDomainType, testingutils.TestingValidatorPubKey[:], types.RoleUnknown),
types.NewMsgID(types.DomainType{0x99, 0x99, 0x99, 0x99}, testingutils.TestingValidatorPubKey[:], types.RoleCommittee),
types.NewMsgID(types.DomainType{0x99, 0x99, 0x99, 0x99}, testingutils.TestingValidatorPubKey[:], types.RoleUnknown),
types.NewMsgID(testingutils.TestingSSVDomainType, testingutils.TestingValidatorPubKey[:], types.RoleAggregator),
types.NewMsgID(testingutils.TestingSSVDomainType, testingutils.TestingValidatorPubKey[:], types.RoleAggregator),
types.NewMsgID(types.DomainType{0x99, 0x99, 0x99, 0x99}, testingutils.TestingValidatorPubKey[:], types.RoleAggregator),
types.NewMsgID(types.DomainType{0x99, 0x99, 0x99, 0x99}, testingutils.TestingValidatorPubKey[:], types.RoleAggregator),
},
BelongsToValidator: true,
}
Expand Down
8 changes: 4 additions & 4 deletions types/spectest/tests/ssvmsg/msg_id_doesnt_belong.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ func MsgIDDoesntBelongs() *SSVMessageTest {
return &SSVMessageTest{
Name: "does not belong",
MessageIDs: []types.MessageID{
types.NewMsgID(testingutils.TestingSSVDomainType, testingutils.TestingWrongValidatorPubKey[:], types.RoleCommittee),
types.NewMsgID(testingutils.TestingSSVDomainType, testingutils.TestingWrongValidatorPubKey[:], types.RoleUnknown),
types.NewMsgID(types.DomainType{0x99, 0x99, 0x99, 0x99}, testingutils.TestingWrongValidatorPubKey[:], types.RoleCommittee),
types.NewMsgID(types.DomainType{0x99, 0x99, 0x99, 0x99}, testingutils.TestingWrongValidatorPubKey[:], types.RoleUnknown),
types.NewMsgID(testingutils.TestingSSVDomainType, testingutils.TestingWrongValidatorPubKey[:], types.RoleAggregator),
types.NewMsgID(testingutils.TestingSSVDomainType, testingutils.TestingWrongValidatorPubKey[:], types.RoleAggregator),
types.NewMsgID(types.DomainType{0x99, 0x99, 0x99, 0x99}, testingutils.TestingWrongValidatorPubKey[:], types.RoleAggregator),
types.NewMsgID(types.DomainType{0x99, 0x99, 0x99, 0x99}, testingutils.TestingWrongValidatorPubKey[:], types.RoleAggregator),
},
BelongsToValidator: false,
}
Expand Down