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

Include FarmId in contracts table #2268

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

AlaaElattar
Copy link
Contributor

Description

  • Include farmId in contracts table.

Changes

  • Include FarmId in contracts table.

Related Issues

Screenshot from 2024-02-27 13-49-20

Screenshot from 2024-02-27 13-49-16

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

Comment on lines 60 to 65
let farmId: number;
try {
farmId = (await grid.nodes.get({ id: c.nodeID })).farmId;
} catch {
farmId = 0;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

we already doing a call to get the node status, I believe we can get the farm id with the same call.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@AlaaElattar AlaaElattar marked this pull request as draft March 3, 2024 09:15
@AlaaElattar AlaaElattar marked this pull request as ready for review March 3, 2024 10:11
@AlaaElattar AlaaElattar marked this pull request as draft March 4, 2024 09:36
@AlaaElattar AlaaElattar marked this pull request as ready for review March 4, 2024 12:59
@AhmedHanafy725 AhmedHanafy725 merged commit bede4ac into development_314 Mar 5, 2024
3 checks passed
@AhmedHanafy725 AhmedHanafy725 deleted the development_314_farmId branch March 5, 2024 15:03
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.

4 participants