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

In error message calldata has 2 hexadecimal prefix. #6208

Closed
itsabinashb opened this issue Nov 3, 2023 · 0 comments · Fixed by #6209
Closed

In error message calldata has 2 hexadecimal prefix. #6208

itsabinashb opened this issue Nov 3, 2023 · 0 comments · Fixed by #6209

Comments

@itsabinashb
Copy link

Here is the error message of a failed fuzz test:

[⠢] Compiling...
[⠒] Compiling 2 files with 0.8.20
[⠢] Solc 0.8.20 finished in 800.34ms
Compiler run successful!

Running 1 test for test/Fuzz/Deposit.t.sol:DepositTest
[FAIL. Reason: EvmError: Revert Counterexample: calldata=0x0x7338afc70000000000000000000000000000000000000000000000000002738d24e520010000000000000000000000000000000000000000000000000000000000000001, args=[690000000000001 [6.9e14], 0x0000000000000000000000000000000000000001]] test_deposit(uint256,address) (runs: 0, μ: 0, ~: 0)
Test result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 9.61ms
 
Ran 1 test suites: 0 tests passed, 1 failed, 0 skipped (1 total tests)

Failing tests:
Encountered 1 failing test in test/Fuzz/Deposit.t.sol:DepositTest
[FAIL. Reason: EvmError: Revert Counterexample: calldata=0x0x7338afc70000000000000000000000000000000000000000000000000002738d24e520010000000000000000000000000000000000000000000000000000000000000001, args=[690000000000001 [6.9e14], 0x0000000000000000000000000000000000000001]] test_deposit(uint256,address) (runs: 0, μ: 0, ~: 0)

Encountered a total of 1 failing tests, 0 tests succeeded
@Evalir Evalir transferred this issue from foundry-rs/book Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant