-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Staking async on Basti blocks #12202
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
base: master
Are you sure you want to change the base?
Changes from all commits
e144a28
b5d30af
272cbe9
a59c6ad
fc51693
3ee6746
30639fc
325419f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,10 @@ name = "alice" | |
| validator = true | ||
| rpc_port = 9944 | ||
| args = [ | ||
| # fork-aware pool's background task crashes within ~30s on this fast-runtime | ||
| # setup, taking the chain down before session 1 begins. Pin to single-state | ||
| # until the upstream issue is fixed. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you link to GH's upstream issue here as well?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So this has come from iterating with Claude
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not a good solution for the main chains, we need to investigate further. |
||
| "--pool-type=single-state", | ||
| "-lruntime::system=debug,runtime::session=trace,runtime::staking-async::ah-client=trace,runtime::ah-client=debug,xcm=trace", | ||
| ] | ||
|
|
||
|
|
@@ -15,6 +19,7 @@ name = "bob" | |
| validator = true | ||
| rpc_port = 9945 | ||
| args = [ | ||
| "--pool-type=single-state", | ||
| "-lruntime::system=debug,runtime::session=trace,runtime::staking-async::ah-client=trace,runtime::ah-client=debug", | ||
| ] | ||
|
|
||
|
|
@@ -28,5 +33,6 @@ name = "charlie" | |
| rpc_port = 9946 | ||
| args = [ | ||
| "--authoring=slot-based", | ||
| "-lruntime::system=debug,runtime::multiblock-election=trace,runtime::staking=debug,runtime::staking::rc-client=trace,runtime::rc-client=debug,runtime::dap=debug,runtime::staking-async=info,xcm=debug,parachain-system=debug,runtime=info", | ||
| "--pool-type=single-state", | ||
| "-lruntime::system=debug,runtime::multiblock-election=trace,runtime::staking=debug,runtime::staking::rc-client=trace,runtime::rc-client=debug,xcm=debug,parachain-system=debug,runtime=info", | ||
| ] | ||
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.
If we're checking for weight here, wouldn't on_poll then behave like on_initialize? This hook runs before all inherents (and transactions), so the remaining weight stays high at this point, right?
Uh oh!
There was an error while loading. Please reload this page.
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.
on_pollis changed toon_initializehere, so does this answer your question?