-
Notifications
You must be signed in to change notification settings - Fork 445
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
subscribeOnLogs
method with specific contract address is not working!!!!
#366
Comments
@skywinder @BaldyAsh |
subscribeOnLogs
method with specific contract address is not working!!!!
fixed in this pull request #374 |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 150.0 DAI (150.0 USD @ $1.0/DAI) attached to it.
|
Thanks, @amirhossein7 ! I added bounty for this fix. Please apply for this reward on gitcoin. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Workers have applied to start work. These users each claimed they can complete the work by 265 years, 2 months from now. 1) amirhossein7 has applied to start work (Funders only: approve worker | reject worker). Hi, It's because used from Starscream old WebsocketDelegate methods and they don't work at all , now it must update with new delegate method and i updated it in this pull request #374 (comment) Learn more on the Gitcoin Issue Details page. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 150.0 DAI (150.0 USD @ $1.0/DAI) has been submitted by:
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 264 years, 10 months from now. 1) amirhossein7 has been approved to start work. It's because used from the old WebsocketDelegate method and must update with new delegate method Learn more on the Gitcoin Issue Details page. |
guard let provider = InfuraWebsocketProvider.connectToInfuraSocket(.Mainnet, delegate: spyDelegate) else {print("provider error!"); return}
self.socketProvider = provider
do {
try self.socketProvider!.subscribeOnLogs(addresses: [EthereumAddress("0x6B175474E89094C44Da98b954EedeAC495271d0F")!], topics: ["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"])
}catch{
self.socketProvider!.disconnectSocket()
print("catch websocket: (error)")
}
i tried to subscribe on logs of this smart-contract and socket connected but i don't get any thing in didReceive delegate method !!!
The text was updated successfully, but these errors were encountered: