-
Notifications
You must be signed in to change notification settings - Fork 2
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
complete_setup
endpoint
#187
Conversation
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Coverage SummaryTotals
FilesExpand
|
Contract comparison - from 798f72a to ec726c5
|
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
common/setup-phase/src/lib.rs
Outdated
self.require_setup_phase(); | ||
|
||
self.setup_phase_complete().set(true); | ||
fn require_setup_complete(&self, caller_shard_id: u32) { |
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.
We don' need caller_shard_id
self.is_setup_phase_complete(), | ||
"The setup is not completed in shard {}", | ||
caller_shard_id | ||
); | ||
} | ||
|
||
fn require_caller_initiator(&self) { |
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.
Is this function needed?
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 made it an inline
function, might as well use it to make the endpoint as short as possible
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
No description provided.