eos42 / Chintai-issues

A github to collect issues for the Chintai dApp
https://jungle.chintai.io
3 stars 4 forks source link

Bug in "How to" #48

Closed YevgenMuza closed 6 years ago

YevgenMuza commented 6 years ago

Actions not defined.

A stake order for 500 EOS at an interest rate of 5% for a duration of 2 weeks:

cleos push action chintaitest1 "myaccount|0|500|0.05|14|guiesbigu" -p myaccount

cleos transfer "myaccount" "chintaitest1" "500 EOS" "myaccount|0|500|0.05|14|guiesbigu"

cleos push action chintaitest1 "myaccount|0|500|0.05|14|guiesbigu" -p myaccount

A stake order of 500000 EOS at an interest rate of 12% for a duration of 4 weeks:

cleos push action chintaitest1 "myaccount|0|500000|0.12|14|sadsda" -p myaccount

cleos transfer "myaccount" "chintaitest1" "500000 EOS" "myaccount|0|500000|0.12|14|sadsda"

cleos push action chintaitest1 "myaccount|0|500000|0.12|14|sadsda" -p myaccount

shuke0327 commented 6 years ago

hi, can you try:

cleos push action chintaitest5 "myaccount|0|500|0.05|14|guiesbigu" -p myaccount

as I see the currently related test account is chintaitest5 instead of chintaitest1

YevgenMuza commented 6 years ago

No, the bug in another:

cleos push action chintaitest5 prepare "myaccount|0|500|0.05|14|guiesbigu" -p myaccount cleos push action chintaitest5 activate "myaccount|0|500|0.05|14|guiesbigu" -p myaccount