dapphub / dapphub/dapptools

invalid character at offset

Open
#889 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.1k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

```
dapp: Predeploying test library src/StateTree.sol:StateTree at 0x0DdeDfFe2789df61F5f76479464F568334414389
hevm: invalid character at offset: 1310
CallStack (from HasCallStack):
error, called at src/EVM/Solidity.hs:538:13 in hevm-0.48.1-68JBNYehi12HotjGf8Zowl:EVM.Solidity
```

I looked into #851 and #802 but I couldn't really find anything helpful there. I did some vim magic `:%s/bit(/bitmap(/g` before this error started popping up and so naturally, I'm now trying to understand if I've mistyped somewhere. Is the error indicating that? For me e.g. it'd be helpful to know what my file says at offset `1310` and how that offset is being calculated. If it'd then lead me to e.g. where the problematic code is.

Can someone help?

Edit: This is the state of the repo where the error is happening when doing `dapp test -vv`: https://github.com/rugpullindex/indexed-sparse-merkle-tree/tree/5f7f0d968a070f0a8611fdeb1597b4f1f6070216

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.