Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Provider Fixes on filters and gas estimation #23

Merged
merged 4 commits into from
Jun 17, 2020
Merged

Conversation

gakonst
Copy link
Owner

@gakonst gakonst commented Jun 17, 2020

Motivation

Fixes 2 bugs:

  1. Previously we'd allow passing a block parameter in estimate_gas, which is wrong. The JSON-RPC spec is very misleading here because in the parameters docs it says "look above. The calls which support the default block param are only noted here

  2. Previously we'd pass additional arguments when watching events (serialization of ()), which is obviously wrong

Solution

  1. Remove the block parameter
  2. Serialize only 1 param

@gakonst gakonst merged commit 4fd656b into master Jun 17, 2020
@gakonst gakonst deleted the fix/provider branch June 17, 2020 13:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant