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

Add SwitchSequencer #110

Merged
merged 9 commits into from
Apr 11, 2024
Merged

Add SwitchSequencer #110

merged 9 commits into from
Apr 11, 2024

Conversation

ImJeremyHe
Copy link
Member

No description provided.

@ImJeremyHe ImJeremyHe marked this pull request as draft April 2, 2024 05:53
@ImJeremyHe ImJeremyHe force-pushed the jh/escape-hatch branch 2 times, most recently from 984dddd to f2d8252 Compare April 2, 2024 06:18
@ImJeremyHe ImJeremyHe changed the title Add SequencerSwitch Add SwitchSequencer Apr 2, 2024
execution/gethexec/switch_sequencer.go Outdated Show resolved Hide resolved
execution/gethexec/switch_sequencer.go Outdated Show resolved Hide resolved
@ImJeremyHe ImJeremyHe force-pushed the jh/escape-hatch branch 3 times, most recently from fb7d0bf to e2bc61e Compare April 11, 2024 06:53
@ImJeremyHe ImJeremyHe marked this pull request as ready for review April 11, 2024 08:18
if s.IsRunningEspressoMode() {
return nil
}
log.Info("Switching to espresso sequencer")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we log the drift time and exactly how far we have drifted when we switch?

return nil
}
s.mode = SequencingMode_Centralized
log.Info("Switching to centrialized sequencer")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here, let's log precisely why we are switching

return err
}

if s.lightClient != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Log a message like "light client not specified, we will only be sequencing mode"

@ImJeremyHe ImJeremyHe merged commit d8d444f into integration Apr 11, 2024
6 checks passed
@ImJeremyHe ImJeremyHe deleted the jh/escape-hatch branch April 11, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants