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

dapp test throwing hevm error #851

Closed
namrapatel opened this issue Nov 2, 2021 · 2 comments
Closed

dapp test throwing hevm error #851

namrapatel opened this issue Nov 2, 2021 · 2 comments

Comments

@namrapatel
Copy link

I'm using the dapptools template created by @gakonst (found here: https://github.com/gakonst/dapptools-template), and running make test and getting the following error:

hevm: invalid character at offset: 4036
CallStack (from HasCallStack):
error, called at src/EVM/Solidity.hs:538:13 in hevm-0.48.1-68JBNYehi12HotjGf8Zowl:EVM.Solidity
make: *** [test] Error 1

I'm also getting the same error when running dapp test, but when I run dapp build, I get a few warnings, no error, but my tests return no results. Anyone have any ideas?

@transmissions11
Copy link
Contributor

are you trying to use any libraries?

@namrapatel
Copy link
Author

Shoutout to @transmissions11, this issue can be solved by enabling and properly using DAPP_LIBRARIES. I was using a dapptools template, so this fix in particular saved me: https://github.com/gakonst/dapptools-template/pull/34/files

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