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
Describe the bug
If the type attr is missing from an input, the msg error is
This is not enough information to know where the error comes from, as the type attr is bounded to a number of different fields, such as signers, inputs, etc.
To Reproduce
Here the type attr is missing from the fee_payer as input. The user wrong assumption was to expect that the type will be inferred, because the account is the fee_payer
Expected behavior
To include in the feedback a little more info to help the user to detect the source of the error (line number and/or CIDL section) or make the generator infer the type of the inputs if already defined (or could be infered) from the signers section.
Código CLI version:
Version v0.8
The text was updated successfully, but these errors were encountered:
Describe the bug
If the
type
attr is missing from an input, the msg error isThis is not enough information to know where the error comes from, as the
type
attr is bounded to a number of different fields, such as signers, inputs, etc.To Reproduce
Here the type attr is missing from the fee_payer as input. The user wrong assumption was to expect that the type will be inferred, because the account is the fee_payer
Expected behavior
To include in the feedback a little more info to help the user to detect the source of the error (line number and/or CIDL section) or make the generator infer the type of the inputs if already defined (or could be infered) from the signers section.
Código CLI version:
The text was updated successfully, but these errors were encountered: