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

debugger issue #13

Open
henry-hz opened this issue Mar 8, 2023 · 1 comment
Open

debugger issue #13

henry-hz opened this issue Mar 8, 2023 · 1 comment

Comments

@henry-hz
Copy link

henry-hz commented Mar 8, 2023

Hi, is there a way to run the debugger ?
I am getting:

❯ forge test --debug testSetAndGetValue                                                                                                                                                                                                                               5s 15:29:53
[⠒] Compiling...
No files changed, compilation skipped
2023-03-08T13:30:15.536488Z ERROR foundry_evm::executor::inspector::cheatcodes::ext: stderr err="warning package.json: No license field\n"
2023-03-08T13:30:17.429164Z ERROR foundry_evm::executor::inspector::cheatcodes::ext: stderr err="warning package.json: No license field\n"
Error: 
Invalid hex calldata

Context:
- Invalid character 'x' at position 1
@jamescarter-le
Copy link

I found you had to add:

evm_version = 'shanghai'

To my foundry.toml file to get the tests to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants