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

WhenMainnet #2011

Merged
merged 8 commits into from
Apr 18, 2021
Merged

WhenMainnet #2011

merged 8 commits into from
Apr 18, 2021

Conversation

Yostra
Copy link
Contributor

@Yostra Yostra commented Apr 18, 2021

No description provided.

mariano54
mariano54 previously approved these changes Apr 18, 2021
@@ -820,6 +820,7 @@ def validate_unfinished_header_block(
prev_transaction_b = blocks.block_record(header_block.foliage_transaction_block.prev_transaction_block_hash)
assert prev_transaction_b.timestamp is not None
if header_block.foliage_transaction_block.timestamp <= prev_transaction_b.timestamp:
breakpoint()
Copy link
Contributor

Choose a reason for hiding this comment

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

remove

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup, thanks for cathcing this

freeze_period = self.service.constants.INITIAL_FREEZE_PERIOD
return {"INITIAL_FREEZE_PERIOD": freeze_period}
freeze_period = self.service.constants.INITIAL_FREEZE_END_TIMESTAMP
return {"INITIAL_FREEZE_END_TIMESTAMP": freeze_period}
Copy link
Contributor

Choose a reason for hiding this comment

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

@seeden needs to support this since warning is based on FREEZE_PERIOD

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It does't look like it's used in main at the moment

freeze_period = self.service.constants.INITIAL_FREEZE_PERIOD
return {"INITIAL_FREEZE_PERIOD": freeze_period}
freeze_period = self.service.constants.INITIAL_FREEZE_END_TIMESTAMP
return {"INITIAL_FREEZE_END_TIMESTAMP": freeze_period}
Copy link
Contributor

Choose a reason for hiding this comment

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

@wjblanke wjblanke merged commit 03784c9 into main Apr 18, 2021
@wjblanke wjblanke deleted the freeze_time branch April 18, 2021 06:58
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.

3 participants