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

Implement DecodeWithMemTracking for some structs #897

Merged
merged 6 commits into from
Feb 10, 2025

Conversation

serban300
Copy link
Contributor

@serban300 serban300 commented Jan 29, 2025

Implement DecodeWithMemTracking for:

  • uint and fixed hashes
  • BoundedVec and WeakBoundedVec

@serban300 serban300 self-assigned this Jan 29, 2025
@serban300 serban300 force-pushed the decode-with-mem-tracking branch 2 times, most recently from 0a2c319 to 559183c Compare January 29, 2025 13:54
@serban300 serban300 changed the title Implement DecodeWithMemTracking for uint and fixed hashes Implement DecodeWithMemTracking for some structs Jan 29, 2025
Copy link
Member

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

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

You need to bump the MSRV to v1.79.0 and change the rustc version to v1.79.0 in the CI here: https://github.com/paritytech/parity-common/blob/master/.github/workflows/ci.yml#L42

@serban300 serban300 force-pushed the decode-with-mem-tracking branch from 559183c to 4c854ff Compare January 29, 2025 15:18
@serban300 serban300 force-pushed the decode-with-mem-tracking branch from 4c854ff to 17fee98 Compare January 29, 2025 15:21
@niklasad1 niklasad1 requested a review from ordian January 29, 2025 15:24
@serban300
Copy link
Contributor Author

You need to bump the MSRV to v1.79.0 and change the rustc version to v1.79.0 in the CI here: https://github.com/paritytech/parity-common/blob/master/.github/workflows/ci.yml#L42

Thank you for the suggestion ! This seems to fix the CI errors. I will wait 1-2 more days before merginf the PR, just to make sure we don't get any bug report for parity-scale-codec 3.7.2

@serban300 serban300 marked this pull request as ready for review February 10, 2025 16:49
@serban300 serban300 requested a review from a team as a code owner February 10, 2025 16:49
@serban300 serban300 merged commit 84ca434 into master Feb 10, 2025
6 checks passed
@serban300 serban300 deleted the decode-with-mem-tracking branch February 10, 2025 16:51
@serban300 serban300 mentioned this pull request Feb 11, 2025
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.

4 participants