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

how to get result for giver? #104

Open
iamyh opened this issue Jun 22, 2018 · 1 comment
Open

how to get result for giver? #104

iamyh opened this issue Jun 22, 2018 · 1 comment

Comments

@iamyh
Copy link

iamyh commented Jun 22, 2018

for example, when i run

./wasm -m  -memory-size 16 -stack-size 14 -table-size 8 -globals-size 8 -call-stack-size 10 -case 0 ./factorial.wast -output

off-chain, it may show that

{"vm": { "code": "0x4ce57322d69eb9f405acdc0d13174b14595414a75df8c458a5e7c68739bb5f78", "stack": "0xd37da133d3b660a1aa6bdfe5f7f7a805c1ce5ce693da5138065878648e015319", "memory": "0x2733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981f", "input_size": "0xf9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5", "input_name": "0xf9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5", "input_data": "0xe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e83636516", "call_stack": "0x6b2a56fef280042cd8f791b2b1d47198ee5a21cfb40cc8c13e7adb5dab2db3b7", "globals": "0x9867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756af", "calltable": "0x9dc25e3b944260e342d33236a1c3aba8c451c07733651c561e0a53b843757217", "calltypes": "0x9867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756af", "pc": 1099511627775, "stack_ptr": 1, "call_ptr": 0, "memsize": 0 }, "hash": "0xb54475a73855987df7992919637f0bcbc8a434a03d77f903960f269f8b254ee7", "steps": 499, "files": []}

how can i get the task output result? thanks a log

@iamyh
Copy link
Author

iamyh commented Jun 22, 2018

@mrsmkl @sinahab

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

1 participant