Skip to content
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

feat: sets up relay for 0.7 release #6

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions mevcommitclient/mev_commit_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ func (m *MevCommitClient) ListenForBuildersEvents() (<-chan MevCommitProvider, <

for providerRegisteredIterator.Next() {
event := providerRegisteredIterator.Event
// TODO: when event.BLSPublicKey becomes array of public keys do a for loop here
builderRegistryEventCh <- MevCommitProvider{
Pubkey: event.BlsPublicKey,
EOAAddress: event.Provider,
Expand All @@ -175,6 +176,9 @@ func (m *MevCommitClient) ListenForBuildersEvents() (<-chan MevCommitProvider, <
close(builderRegistryEventCh)
return
case event := <-providerRegisteredEventCh:
// TODO: when event.BLSPublicKey becomes array of public keys do a for loop here
// for now, we only have one public key per builder
// and the event.Provider is the EOA address
builderRegistryEventCh <- MevCommitProvider{
Pubkey: event.BlsPublicKey,
EOAAddress: event.Provider,
Expand Down
1 change: 0 additions & 1 deletion services/housekeeper/housekeeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ func (hk *Housekeeper) monitorMevCommitBuilderRegistrations() {
if err != nil {
hk.log.WithError(err).Errorf("failed to delete mev-commit block builder %s", builderAddress)
}
break
}
}
}
Expand Down