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(wallet): uses tip height to calc abs acceptance period #4271

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jul 6, 2022

Description

  • fetches tip height from base node to determine the absolute height for the VN acceptance period

Motivation and Context

When using init-constitution command used an absolute height for the acceptance period, which made it easy to
make the mistake of creating a constitution that expires immediately.

This PR fetches the tip height from the base node and uses that, if able, to make the height relative. If not able, the user is warned and prompted to enter an ABSOLUTE height.

How Has This Been Tested?

Manually

@aviator-app aviator-app bot merged commit 480d55d into tari-project:development Jul 7, 2022
@sdbondi sdbondi deleted the validator-better-acceptance-period-wizard branch July 7, 2022 11:02
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