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
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
When I receive a log, after a subscription, the go-ethereum library try to send through a chan the Log typed object, but it cannot marshal the Ganache websocket message:
json: cannot unmarshal array into Go value of type types.Log
Steps to reproduce:
Deploy a smart contract;
Listen to the ganache ws endpoint for a event with a Geth client;
Execute a smart contract method that calls an event.
Expected result:
The Ganache WS server sends a canonical event message JSON object to Geth client.
Actual result:
The Ganache WS server sends an array of objects to Geth client.
Notes:
On Ganache CLI v6.12.2 the JSON event message was correctly parsed.
The text was updated successfully, but these errors were encountered:
Platform: node:lts-alpine Docker image
Ganache: v7.0.0
Node: v16.13.2
npm: 8.1.2
Go: 1.17.4
go-ethereum: v1.10.15
Description:
When I receive a log, after a subscription, the go-ethereum library try to send through a chan the Log typed object, but it cannot marshal the Ganache websocket message:
json: cannot unmarshal array into Go value of type types.Log
Steps to reproduce:
Expected result:
The Ganache WS server sends a canonical event message JSON object to Geth client.
Actual result:
The Ganache WS server sends an array of objects to Geth client.
Notes:
On Ganache CLI v6.12.2 the JSON event message was correctly parsed.
The text was updated successfully, but these errors were encountered: