-
Notifications
You must be signed in to change notification settings - Fork 369
Era param for set_weights and commit_weights #2784
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: staging
Are you sure you want to change the base?
Conversation
5d506c3
to
55177b9
Compare
@@ -3831,6 +3846,7 @@ async def _blocks_weight_limit() -> bool: | |||
version_key=version_key, | |||
wait_for_inclusion=wait_for_inclusion, | |||
wait_for_finalization=wait_for_finalization, | |||
era=era if era is not DEFAULT_SET_WEIGHTS_EXTRINSIC_ERA else None, |
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.
for backward compatibility: commit_reveal_v3_extrinsic has default era = None
@@ -3111,6 +3127,7 @@ def _blocks_weight_limit() -> bool: | |||
version_key=version_key, | |||
wait_for_inclusion=wait_for_inclusion, | |||
wait_for_finalization=wait_for_finalization, | |||
era=era if era is not DEFAULT_SET_WEIGHTS_EXTRINSIC_ERA else None, |
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.
for backward compatibility: commit_reveal_v3_extrinsic has default era = None
55177b9
to
de2b4c9
Compare
Increasing the period should also help with E2E tests in fast-blocks