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

Fast block improvements #245

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

thewhaleking
Copy link
Contributor

No description provided.

@thewhaleking thewhaleking changed the base branch from main to staging November 19, 2024 17:04
@thewhaleking thewhaleking marked this pull request as ready for review November 22, 2024 10:52
@@ -737,8 +736,12 @@ async def run_faucet_extrinsic(
# Attempt rolling registration.
attempts = 1
successes = 1
pow_result: Optional[POWSolution]
Copy link
Contributor

Choose a reason for hiding this comment

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

why you add this if we have pow_result=None in line 745?
line 745 should be more than enough since pow_result variable is using just within while loop.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just so mypy wouldn't yell at me on line 746 😅

@thewhaleking thewhaleking merged commit 63917ab into staging Nov 25, 2024
4 checks passed
@thewhaleking thewhaleking deleted the feat/thewhaleking/fast-block-improvements branch November 25, 2024 12:27
@thewhaleking thewhaleking linked an issue Nov 26, 2024 that may be closed by this pull request
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.

Support fast blocks
3 participants