-
Notifications
You must be signed in to change notification settings - Fork 441
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
web3swift.Web3Error error 4 for get balance #77
Comments
Can you extend a screenshot more? We use Result pod to wrap value and error into one structure, but unfortunately many packages define similar “public enum Result”, so ambiguity happens and I want to see what is a source of a
conflict
…________________________________
From: Mahdi Mahjoobe <notifications@github.com>
Sent: Monday, October 29, 2018 4:40:20 PM
To: matterinc/web3swift
Cc: Alexander; Mention
Subject: [matterinc/web3swift] web3swift.Web3Error error 4 for get balance (#77)
Hi @shamatar<https://github.com/shamatar>
I used the same exact code in one of my projects to get Balance and it works well but now I will get error with same situation, this is error code when I try to get balance:
The operation couldn’t be completed. (web3swift.Web3Error error 4.)
Link Here<https://imgur.com/a/8HtVKJy>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#77>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGKv94i1rK5otHVvTQwcPxqbcsnl7ZHHks5upwVEgaJpZM4X_Mez>.
|
Hi @shamatar , and I think problem is here in this image, our data is 0 byte! but the network request has successful response and get correct balance value, and when it wants map to JSONRPCresponseBatch this error occur, thus we get error for typeMissMatch here in map function. Do you need more screenshots? if yes from which part of code? |
Hi @shamatar , |
What backend (node) do you use? So far I couldn’t replicate it. May you check the 2.0 version? It has breaking changes, but was well cleaned up
…________________________________
From: MrShafiee <notifications@github.com>
Sent: Saturday, November 3, 2018 12:39:25 PM
To: matterinc/web3swift
Cc: Alexander; Mention
Subject: Re: [matterinc/web3swift] web3swift.Web3Error error 4 for get balance (#77)
Hi @shamatar<https://github.com/shamatar> ,
Did you find any problem or you need more data?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#77 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGKv94IYfHun_cK6FPFblGLd8BsDKhQWks5urWRNgaJpZM4X_Mez>.
|
Hi @shamatar thanks 👍 |
Hi @shamatar
I used the same exact code in one of my projects to get Balance and it works well but now I will get error with same situation, this is error code when I try to get balance:
The operation couldn’t be completed. (web3swift.Web3Error error 4.)
Link Here
The text was updated successfully, but these errors were encountered: