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

Not enough information in error msg #6

Closed
julianzamt opened this issue Aug 29, 2023 · 0 comments
Closed

Not enough information in error msg #6

julianzamt opened this issue Aug 29, 2023 · 0 comments
Labels
Done This has been merged to develop Enhancement This improve the product or Código's source code

Comments

@julianzamt
Copy link

julianzamt commented Aug 29, 2023

Describe the bug
If the type attr is missing from an input, the msg error is

image

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
image

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
@julianzamt julianzamt added the Triage This item needs to be prioritize label Aug 29, 2023
@JazielGuerrero JazielGuerrero added Enhancement This improve the product or Código's source code todo and removed todo labels Aug 30, 2023
@JazielGuerrero JazielGuerrero added Done This has been merged to develop and removed Triage This item needs to be prioritize labels Dec 5, 2023
@JazielGuerrero JazielGuerrero removed their assignment Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done This has been merged to develop Enhancement This improve the product or Código's source code
Projects
None yet
Development

No branches or pull requests

2 participants