-
Notifications
You must be signed in to change notification settings - Fork 0
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/activation round #96
Conversation
def check_payload(self, payload: BaseTxPayload) -> None: | ||
"""Check payload.""" | ||
raise NotImplementedError | ||
_ = Event.AWAITING_BONDING |
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.
to pass linter. It can be removed. I think entire waiting round may be removed. Let me know your opinion on this then we may open an issue on it
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 do you think it can be removed?
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.
the activation round can take care of all this logic. It can compute the actual difference between bonding and last block, and decide to sleep for that long (or until timeout hits) before attempting to activate.
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.
If we can remove a round without changing the logic or complicating the implementation too much, then I would suggest that we do this.
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.
faef933
to
c1b5cc6
Compare
contract_id=str(Keep3rV1Contract.contract_id), | ||
contract_callable="build_activation_tx", | ||
) | ||
activation_tx = cast(str, contract_api_response.state.body.get("data")) |
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.
Missing performative check and handling
fix/job selection
activation- round & behaviour and associated tests