Skip to content
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

invoke smart contract bug #11

Open
sulingxiao opened this issue Feb 18, 2019 · 5 comments
Open

invoke smart contract bug #11

sulingxiao opened this issue Feb 18, 2019 · 5 comments

Comments

@sulingxiao
Copy link

Hi backslash47

when I use www.ontdex.io to buy/sale some token, I mean invoke a sc,cyano return below
image

I have enough ONG in my account
image

and after get the error message,when I check the invoke result,I found this operation to be successful on the chain.

may some bug in error msg system? please help about this.

Best Regards
LinK

@backslash47
Copy link
Collaborator

Hi LinK,

thank you for submitting the info. So I understand you are making a SC call and receiving an error/timeout although the transaction went through. Is that right?

@sulingxiao
Copy link
Author

Hi LinK,

thank you for submitting the info. So I understand you are making a SC call and receiving an error/timeout although the transaction went through. Is that right?

yes!

@backslash47
Copy link
Collaborator

I tried the call and there was no Notify message received from the blockchain.

Only a Log message:

{"Action":"Log","Desc":"SUCCESS","Error":0,"Result":{"TxHash":"06c61200f97e8666d432be9f8cc7a1312e8517c20e061880d3be27125b0fc163","ContractAddress":"d3b733f12df9a6efb13ca547be5ee4e4dbe6d41e","Message":"100200000000"},"Version":"1.0.0"}

If the Notify message is not received then Cyano can not know if the transaction has succeeded.

@sulingxiao
Copy link
Author

Thx, I will ask the developer to check their SC ! after the bug fixed, I will close this issue.

@MickWang
Copy link
Collaborator

MickWang commented Mar 5, 2019

I tried the call and there was no Notify message received from the blockchain.

Only a Log message:

{"Action":"Log","Desc":"SUCCESS","Error":0,"Result":{"TxHash":"06c61200f97e8666d432be9f8cc7a1312e8517c20e061880d3be27125b0fc163","ContractAddress":"d3b733f12df9a6efb13ca547be5ee4e4dbe6d41e","Message":"100200000000"},"Version":"1.0.0"}

If the Notify message is not received then Cyano can not know if the transaction has succeeded.

Hi, man. Is it possible to let Cyano support parse Log message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants