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 Sep 13, 2024. It is now read-only.
This repo is outdated and not supported anymore. Core contributors moved development to the new repo: https://github.com/matter-labs/web3swift
Feel free continue discussion in the new repository.
Yes, you 100% right it would be good too, to not confuse the
people.
I'm not working in thins company anymore and can't do this.
Owners want to save this repo as "proof of work" (this is the most popular
repo here).
Such a shame. ¯\_(ツ)_/¯
p.s. you do great work with Alpha wallet, please, let us know if you have any feature request, we would be happy to collaborate! 🙌
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi All, thanks for providing this library!
I am writing some code which retrives filtered events from a node but I noticed that my filter params are ignored completely.
let filterParam = [([EthereumAddress("0xf8bf2546b61a4b7a277d118290dc9dcbb34d29a6")!] as [EventFilterable]), (nil as [EventFilterable]?)] let eventFilter = EventFilter(fromBlock: .blockNumber(0), toBlock: .latest, parameterFilters: filterParam) let getEventsPromise = getEventLogs( withServer: RPCServer(chainID: 1), contract: AlphaWallet.Address(string: "0xF0AD5cAd05e10572EfcEB849f6Ff0c68f9700455")!, eventName: "NameRegistered", // swiftlint:disable:next line_length abiString: ".....", filter: eventFilter )
With this code I get back:
This suggests that it is ignoring the filter and simply grabbing all the results of NameRegistered from ENS.
If I do it with web3.js I get back around 200 results, you can see the code for that here: https://gist.github.com/James-Sangalli/0509258f3d56b66b68bfd6d51a10639a
Could you please explain why the filter params are not working?
The text was updated successfully, but these errors were encountered: