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

Panic: byte index 4 is out of bounds of L() #6144

Closed
2 tasks done
xBA5ED opened this issue Oct 27, 2023 · 3 comments · Fixed by #6146
Closed
2 tasks done

Panic: byte index 4 is out of bounds of L() #6144

xBA5ED opened this issue Oct 27, 2023 · 3 comments · Fixed by #6146
Labels
T-bug Type: bug

Comments

@xBA5ED
Copy link

xBA5ED commented Oct 27, 2023

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (62e3a84 2023-10-27T09:57:36.586398941Z)

What command(s) is the bug in?

forge test

Operating System

Linux

Describe the bug

The application panicked (crashed).
Message: byte index 4 is out of bounds of L()
Location: crates/evm/core/src/decode.rs:194

Started happening after updating to the latest version of foundry.

@xBA5ED xBA5ED added the T-bug Type: bug label Oct 27, 2023
@gakonst gakonst added this to Foundry Oct 27, 2023
@github-project-automation github-project-automation bot moved this to Todo in Foundry Oct 27, 2023
@mattsse
Copy link
Member

mattsse commented Oct 27, 2023

thanks for flagging,

how can I reproduce this?

@xBA5ED
Copy link
Author

xBA5ED commented Oct 27, 2023

The error occurs in this repo https://github.com/defi-wonderland/hai-core im not entirely sure what is causing it, it is happening both locally and in the git actions. I will see if I can narrow down the cause and give a smaller reproducible example.

@mattsse
Copy link
Member

mattsse commented Oct 27, 2023

fixed in #6146
smol oversight after refactor, will trigger new release once merged

thanks

@github-project-automation github-project-automation bot moved this from Todo to Done in Foundry Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants