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

SBP Milestone 1 review #471

Closed
wants to merge 2 commits into from
Closed

SBP Milestone 1 review #471

wants to merge 2 commits into from

Conversation

Wiezzel
Copy link

@Wiezzel Wiezzel commented Jan 9, 2023

Summary:

  1. Usage of without_storage_info is deprecated.
    Removing this will require replacing Vec with BoundedVec in storage items.
  2. Some docstrings seem copied from another codebase and don't match the code.
  3. There are some operations that might potentially panic.
  4. Extrinsics are now transactional by default, no need for #[transactional]
    See Storage Layer for All FRAME Extrinsics paritytech/substrate#11431
  5. There are some unsafe arithmetic operations. Use of saturating_ or checked_ operations is recommended instead.

@drewstone
Copy link
Contributor

Thanks for this @Wiezzel ! I will address these this week.

@Wiezzel Wiezzel changed the title SBP Milestone 3 review SBP Milestone 1 review Jan 10, 2023
@drewstone drewstone closed this Jan 17, 2023
@drewstone
Copy link
Contributor

@1xstj I've closed this since the completion email but do double check we've addressed all these items.

@1xstj 1xstj mentioned this pull request Mar 10, 2023
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.

2 participants