-
Notifications
You must be signed in to change notification settings - Fork 4
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
[REVIEW ONLY] nodereal-op-merge-offcial-v1.1.0 diff official/op-node/v1.1.0 #30
base: official/op-node/v1.1.0
Are you sure you want to change the base?
[REVIEW ONLY] nodereal-op-merge-offcial-v1.1.0 diff official/op-node/v1.1.0 #30
Conversation
@@ -121,6 +121,10 @@ func (s *l2VerifierBackend) StopSequencer(ctx context.Context) (common.Hash, err | |||
return common.Hash{}, errors.New("stopping the L2Verifier sequencer is not supported") | |||
} | |||
|
|||
func (s *l2VerifierBackend) SequencerStopped(ctx context.Context) bool { | |||
return true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why return true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This module is for integration tests only. And l2VerifierBackend.SequencerStopped()
will never be used. I just implement it because of Go interface requirement.
|
||
func (c *CoordinatorClient) RequestBuildingBlock() bool { | ||
var respErr error | ||
err := c.rpc.Call(respErr, "coordinator_requestBuildingBlock", c.sequencerId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be a pointer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a clue. It just works...
Mirror of #29, for reviewers to know what changes we made compared to the original fork repository.