Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants