You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah ser Georgio, I have come again with more geth abi.ABI issues.
panic: json: cannot unmarshal array into Go struct field jsonCompiledContract.ABI of type string
goroutine 1 [running]:
github.com/berachain/core/solidity.init.0()
/Users/dev/bc/core/solidity/contracts.go:52 +0xb4
panic: json: cannot unmarshal array into Go struct field jsonCompiledContract.ABI of type string
Maybe related to: ethereum/go-ethereum#22041, it looks as if geth expects a string, could be out to lunch but thought I would take a look.
Also the new "bytecode" struct, and removal of "bin" from the output definitely botches things, if trying to make the abi output of forge compatible with geth data structures.
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.1.0 (2ddc47e 2022-03-02T00:34:52.877001+00:00)
What command(s) is the bug in?
forge build
Operating System
darwin/arm64
Describe the bug
Ah ser Georgio, I have come again with more geth abi.ABI issues.
Maybe related to: ethereum/go-ethereum#22041, it looks as if geth expects a string, could be out to lunch but thought I would take a look.
Also the new "bytecode" struct, and removal of "bin" from the output definitely botches things, if trying to make the abi output of forge compatible with geth data structures.
The text was updated successfully, but these errors were encountered: