-
Notifications
You must be signed in to change notification settings - Fork 2k
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
WhenMainnet #2011
Conversation
@@ -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() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.