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

A top level tuple triggers a panic #305

Closed
hugocaillard opened this issue Jan 24, 2024 · 1 comment · Fixed by #325
Closed

A top level tuple triggers a panic #305

hugocaillard opened this issue Jan 24, 2024 · 1 comment · Fixed by #325
Labels
bug Something isn't working

Comments

@hugocaillard
Copy link
Collaborator

hugocaillard commented Jan 24, 2024

A contract with the following code

{
  username: "ClarityIsAwesome",
  address: 'ST1HTBVD3JG9C05J7HBJTHGR0GGW7KXW28M5JS8QE
}

Trigger the following error in clarinet console

thread 'main' panicked at /Users/hugo/.cargo/git/checkouts/stacks-core-16deff9526aec9a7/5956df3/clarity/./src/vm/clarity_wasm.rs:1724:26:
index out of bounds: the len is 4 but the index is 22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@Acaccia
Copy link
Collaborator

Acaccia commented Jan 25, 2024

@ameeratgithub this is certainly related to #274.
This could help you create a minimal example of the bug.

@Acaccia Acaccia added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants