Open levackt opened 4 years ago
Some updates;
Allow a way to pull the abi from a locally built contract json. This will facilitate development of custom contracts more easily. Provide better error messages when an abi fails to parse - at least the line/character number where the failure occurred!
by removing the length [48] from the bytes then the error went away.
I think this must be an error in your discovery parser, because the solidity contract compiled fine and the bytes[48] is a valid type in solidity.
I would encourage your team to look into/fix that bug. Thx.
There's an open issue in discovery-cli, will keep this open until it's resolved to close the loop.
forum post
2 parts to this one
Based on the the voting example this seems correct.
We don't see the rest of the contract but the eth_contract declaration seems correct, and the json looks valid in the post.
Will refer to the voting example while I try reproduce the error, perhaps Brendan can share a broken project.