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

Support for default block parameters. #52

Open
davidahmed opened this issue Jun 18, 2018 · 0 comments
Open

Support for default block parameters. #52

davidahmed opened this issue Jun 18, 2018 · 0 comments

Comments

@davidahmed
Copy link

event_filter = c.eth_newFilter(from_block=str(fromBlock), to_block="latest", address=address, topics=topics)

Would create a filter without raising any error.

But executing logs = c.eth_getLogs(event_filter) raises "BadResponseError: {'jsonrpc': '2.0', 'id': 1, 'error': {'code': -32602, 'message': 'invalid argument 0: json: cannot unmarshal string into Go value of type filters.input'}}"

getFilterChanges and getFilterLogs seem to run fine.

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

1 participant