Skip to content

Comm Component for Simplex #3998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dde076d
add simplex pkg and bls structs
samliok Jun 5, 2025
c5be0a4
add simplex to go mod + lint
samliok Jun 5, 2025
5de26b1
added comm, writing tests
samliok Jun 5, 2025
52d343e
add log to createVerifier
samliok Jun 5, 2025
3f74024
add comm tests
samliok Jun 5, 2025
d0f0102
Merge branch 'master' into simplex-bls
samliok Jun 9, 2025
458d540
separate into utils file
samliok Jun 9, 2025
49aa0bb
style improvements
samliok Jun 10, 2025
4dfdb34
use GetValidatorSet for consistent validator set
samliok Jun 11, 2025
475a5ef
Merge branch 'master' into simplex-bls
samliok Jun 11, 2025
8c78c03
pass in membership set to config
samliok Jun 11, 2025
14ad42f
remove comment
samliok Jun 11, 2025
2580d63
Merge branch 'master' into simplex-bls
samliok Jun 12, 2025
ed4422b
test_util simplified
samliok Jun 12, 2025
14aef3e
add replication outbound msgs
samliok Jun 12, 2025
7d3484d
Merge branch 'simplex-bls' into simplex-comm
samliok Jun 12, 2025
b13bc72
lint
samliok Jun 12, 2025
88b06d5
go get
samliok Jun 12, 2025
5f84156
helper function + use testing in utils
samliok Jun 12, 2025
3c362ea
Merge branch 'simplex-bls' into simplex-comm
samliok Jun 12, 2025
03bdc02
Merge branch 'master' into simplex-comm
samliok Jun 18, 2025
ebdbfc9
merge conflicts and cleanup
samliok Jun 18, 2025
7a7e5e7
lint
samliok Jun 18, 2025
d9b8a2c
logs, and err clarification
samliok Jun 18, 2025
c964299
Merge branch 'master' into simplex-comm
samliok Jun 20, 2025
12599d2
add logging to config
samliok Jun 23, 2025
a3820e4
Merge branch 'master' into simplex-comm
samliok Jun 24, 2025
5119e93
Merge branch 'master' into simplex-comm
samliok Jun 30, 2025
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
136 changes: 136 additions & 0 deletions message/messagemock/outbound_message_builder.go

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

2 changes: 2 additions & 0 deletions message/outbound_msg_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ type OutboundMsgBuilder interface {
chainID ids.ID,
msg []byte,
) (OutboundMessage, error)

SimplexOutboundMessageBuilder
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than bloating this file up, i thought it would be cleaner to separate the simplex outbound messages into their own file

}

type outMsgBuilder struct {
Copy link
Contributor

@yacovm yacovm Jun 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this PR, but I have to say I am not sure I understand why this is an un-exported struct. it Makes it impossible to use anywhere in the code (for tests) and we also have only one concrete implementation of it.

@StephenButtolph do you know why?

Expand Down
Loading