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 RuntimeCall #7360

Open
serban300 opened this issue Jan 28, 2025 · 4 comments
Open

Implement DecodeWithMemTracking for RuntimeCall #7360

serban300 opened this issue Jan 28, 2025 · 4 comments
Assignees

Comments

@serban300
Copy link
Contributor

In paritytech/parity-scale-codec#616 we added support for decoding with mem limit for parity-scale-codec.

We would like to use that for RuntimeCall

@serban300 serban300 self-assigned this Jan 28, 2025
@serban300
Copy link
Contributor Author

Waiting on paritytech/parity-scale-codec#687 (review) to be merged in order to publish parity-scale-codec 3.7.2

@serban300
Copy link
Contributor Author

Released parity-scale-codec 3.7.2 . Will start working on implementing DecodeWithMemTracking for some structures.

@serban300
Copy link
Contributor Author

serban300 commented Jan 29, 2025

Opened PRs for implementing DecodeWithMemTracking for some basic types:

paritytech/parity-common#897
paritytech/finality-grandpa#165

Opened them as draft for the moment. Still waiting a couple of days to make sure that there is no bug in parity-scale-codec 3.7.2

@serban300 serban300 moved this to In Progress in Bridges + XCM Jan 29, 2025
@serban300
Copy link
Contributor Author

serban300 commented Feb 3, 2025

Yanked parity-scale-codec 3.7.2 and ``parity-scale-codec 3.7.3` and working on fixing all the backwards compatibility issues. Opened PRs at this moment:

paritytech/parity-scale-codec#695
#7437
#7446

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant