-
Notifications
You must be signed in to change notification settings - Fork 11
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
Node Contract Creation During Rent Contract Grace Period #1003
Comments
sameh-farouk
added
priority_major
type_bug
Something isn't working
tfchain
tfchain issue
labels
Sep 11, 2024
Good catch! The idea is to add this extra check somewhere in this part of code, correct ?
|
Exactly. |
2 tasks
Update: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
This issue affects node contracts when they exist alongside a rent contract. The issue occurs as node contracts are synced only when the rent contract state changes and no check is performed on the state of the rent contract when the user tries to deploy workloads (create node contracts) on their rented nodes.
Issue Details:
Sync Limitation: Node contracts are only synced with the rent contract when the rent contract state changes. This allows for a state mismatch between the rent contract and node contracts when certain actions are performed.
No State Check on Node Creation: When a user creates a node contract on a rented node, the state of the rent contract is not checked. This becomes problematic if the rent contract is in a grace period.
Example Case:
Proposed Solution:
Notes:
The text was updated successfully, but these errors were encountered: