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

Coherent extrinsic weights (SlowMist N5) #147

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

clostao
Copy link
Contributor

@clostao clostao commented Nov 8, 2023

Description

Slowmist problem description:

If too many operations have their Weight set to 0, it may lead to an unreasonable resource allocation, as
blockchains require some basic computation and validation to maintain security.

Our response:

Suggested changes applied. For forked or derived pallets we used deriving pallets for calculating base fee. For the runtime upgrade we've used as a guiding value the sudo's pallet base fee.

Types of changes

What types of changes does your code introduce?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

deblanco
deblanco previously approved these changes Nov 9, 2023
@deblanco deblanco dismissed stale reviews from GabrielMartinezRodriguez and themself via 400344f November 15, 2023 21:36
@deblanco deblanco force-pushed the fix-extrinsic-weights branch from 4e7d7b0 to 400344f Compare November 15, 2023 21:36
@deblanco deblanco force-pushed the fix-extrinsic-weights branch from 400344f to 8aa3662 Compare November 15, 2023 21:37
@deblanco deblanco merged commit 43f8155 into main Nov 16, 2023
1 check passed
@deblanco deblanco deleted the fix-extrinsic-weights branch November 16, 2023 07:01
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