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

aiken blueprint apply truncates output #987

Closed
1 of 4 tasks
Quantumplation opened this issue Jul 29, 2024 · 1 comment
Closed
1 of 4 tasks

aiken blueprint apply truncates output #987

Quantumplation opened this issue Jul 29, 2024 · 1 comment

Comments

@Quantumplation
Copy link
Contributor

What Git revision are you using?

aiken v1.0.28-alpha+c9a1519 (see aiken-lang/aikup#8)

What operating system are you using, and which version?

  • Linux / Ubuntu
  • Linux / Other
  • macOS
  • Windows

Describe what the problem is?

$ aiken blueprint apply 48544553545f4e4654

    Analyzing blueprint
      Parsing inputs
     Applying 48544553545f4e465
         Done
      Summary 0 errors, 0 warnings

Notice the missing 4 in the output; this also happens when following the prompts without a parameter, which is how I originally discovered this.

What should be the expected behavior?

Print out the full hex of the parameter that is applied.

@Quantumplation
Copy link
Contributor Author

Actually, it seems to be doing something more nefarious; if I provide a longer parameter, like ba0062b8f68bb8f80d4509e53d97a554381030b5e84832115376cb0a it gets encoded as

     Applying 581cba0062b8f68bb8f80d4509e53d97a554381030b5e84
              32115376cb0

which is missing both the a at the end, and the 8 before the 3 on the wrapped line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ In Next Release
Development

No branches or pull requests

1 participant