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
Wasm manifest is an object to describe the functions and the behaviour of a contract.
This spec will be often used by third party apps to determine which functions or actions a contract expose.
But based on the contract some value may or may not be present which make the manifest more complex to handle.
Describe the solution you'd like
Hence to be easier to parse and get the needed values, the structure should always be the same and should always have all the possible keys.
For example a public functions without argument should add the "inputs" key in the spec with an empty map
Is your feature request related to a problem?
Wasm manifest is an object to describe the functions and the behaviour of a contract.
This spec will be often used by third party apps to determine which functions or actions a contract expose.
But based on the contract some value may or may not be present which make the manifest more complex to handle.
Describe the solution you'd like
Hence to be easier to parse and get the needed values, the structure should always be the same and should always have all the possible keys.
For example a public functions without argument should add the "inputs" key in the spec with an empty map
This allows third party app to parse and get the inputs of a functions even if there is no inputs.
Additional context
No response
Epic
No response
The text was updated successfully, but these errors were encountered: