You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI tool can now strip out specific runtime APIs as well as specific pallets.
We have a method in the codegen called validate_codegen which compares some node metadata against the generated code. It takes into account only those pallets that we explicitly generated, but does not do the same for Runtime APIs (so when runtime APIs are stripped the metadata will never compare equal to node metadata).
Let's fix that (preferably after #974 merges since it changes things in this area).
The text was updated successfully, but these errors were encountered:
jsdw
changed the title
Support validating codegen when Runtime APIs are stripped
Fix codegen validation when Runtime APIs are stripped
May 24, 2023
The CLI tool can now strip out specific runtime APIs as well as specific pallets.
We have a method in the codegen called
validate_codegen
which compares some node metadata against the generated code. It takes into account only those pallets that we explicitly generated, but does not do the same for Runtime APIs (so when runtime APIs are stripped the metadata will never compare equal to node metadata).Let's fix that (preferably after #974 merges since it changes things in this area).
The text was updated successfully, but these errors were encountered: