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

feat(vn): recognize abandoned state #4272

Merged
merged 9 commits into from Jul 12, 2022

Conversation

brianp
Copy link
Contributor

@brianp brianp commented Jul 6, 2022

Description

This is a subtask for quarantining a contract. It lets the VN's monitoring the contract to flag it as abandoned (locally only) when checkpoints have been missed.

Motivation and Context

VN's need to be more aware of the status of contracts this is an initital step before quarantine happens.

How Has This Been Tested?

  • Tested manually
  • Test written To much work to get contract state from the vn for a single spec

Refactor the function so we can fetch multiple types of contracts by
type.
If checkpoints are being missed mark the contract as abandoned.
Abandoned contracts still require being worked on until the move into
quarantine.
@brianp brianp marked this pull request as ready for review July 7, 2022 14:16
Copy link
Member

@sdbondi sdbondi left a comment

Choose a reason for hiding this comment

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

Nice LGTM (utAck)

@aviator-app aviator-app bot merged commit e42085a into tari-project:development Jul 12, 2022
@brianp brianp deleted the vn-abandoned-state branch February 13, 2023 20:51
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.

None yet

2 participants