Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support optional fields in EventFilter typespecs (#144)
The current typespec generator emits a dialyzer warning when nil values are set for the indexed topics of an `EventFilter`: ```elixir The function call will not succeed. Ethers.Contracts.ERC20.EventFilters.transfer(nil, nil) breaks the contract (Ethers.Types.t_address(), Ethers.Types.t_address()) :: Ethers.EventFilter.t() ``` This can be fixed by making the arguments nullable for events.
- Loading branch information