GoEvaCom / eosjs_python

http://eva.coop/
MIT License
43 stars 9 forks source link

raise PushContractTransactionException(response.stderr) eosjs_python.Exceptions.PushContractTransactionException: b'{"code":500,"message":"Internal Service Error","error":{"code":3050003,"name":"eosio_assert_message_exception","what":"eosio_assert_message assertion failure","details":[{"message":"assertion failure with message: symbol precision mismatch","file":"wasm_interface.cpp","line_number":917,"method":"eosio_assert"},{"message":"pending console output: ","file":"apply_context.cpp","line_number":72,"method":"exec_one"}]}}\n' #9

Open yodalang opened 5 years ago

yodalang commented 5 years ago

I just tried to send some IQ token to some exchange and got this error message:

raise PushContractTransactionException(response.stderr) eosjs_python.Exceptions.PushContractTransactionException: b'{"code":500,"message":"Internal Service Error","error":{"code":3050003,"name":"eosio_assert_message_exception","what":"eosio_assert_message assertion failure","details":[{"message":"assertion failure with message: symbol precision mismatch","file":"wasm_interface.cpp","line_number":917,"method":"eosio_assert"},{"message":"pending console output: ","file":"apply_context.cpp","line_number":72,"method":"exec_one"}]}}\n'

my code is :

from eosjs_python import Eos import json

me = { "type": "sell-limit", "symbol": "everipediaiq-iq-eos", "price": "0.0010", "channel": "API" } memo = json.dumps(me) print(type(memo)) eos = Eos({ 'http_address': 'https://eos.greymass.com', 'key_provider': '####' })

b = eos.push_transaction('everipediaiq','transfer','####','active',{ "from":"####", "to":"newdexpocket", "quantity":"10.0000 IQ", "memo":memo })

please help me