If a module has a custom section that is not know to Concordium, then module inspect will fail parsing the module to extract information.
In particular this happens when the custom section appears before the custom section for the schema.
Steps to Reproduce
Construct a module with an arbitrary custom section
Append a schema custom section.
Deploy module.
Attempt module inspect.
Expected Result
The additional custom section is ignored.
Actual Result
The schema is not correctly extracted.
Versions
Software Version: All versions that support module schemas.
Bug Description
If a module has a custom section that is not know to Concordium, then
module inspect
will fail parsing the module to extract information. In particular this happens when the custom section appears before the custom section for the schema.Steps to Reproduce
Expected Result
The additional custom section is ignored.
Actual Result
The schema is not correctly extracted.
Versions