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

Verify rent contract state on node contract creation #1008

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

sameh-farouk
Copy link
Member

Description

  • A check is added to verify the state of the rent contract when a user attempts to create a node contract on a rented node.

If the rent contract is in a grace period, the system will block the creation of new node contracts and return the NodeNotAvilableToDeploy error.

Related Issues:

Checklist:

Copy link
Contributor

@renauter renauter left a comment

Choose a reason for hiding this comment

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

LGTM !!

Benchmark weights can be updated

@sameh-farouk sameh-farouk merged commit 08321ba into development Sep 24, 2024
1 check passed
@sameh-farouk sameh-farouk deleted the development-rent-contract-state-check branch September 24, 2024 10:08
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.

2 participants