You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.
Full output of error:
child chain <plasma.client.child_chain_service.ChildChainService object at 0x103441f98>
Traceback (most recent call last):
File "/usr/local/bin/omg", line 11, in
load_entry_point('plasma==0.0.0', 'console_scripts', 'omg')()
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/decorators.py", line 27, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/plasma-0.0.0-py3.6.egg/plasma/cli/cli.py", line 130, in withdraw
client.withdraw(blknum, txindex, oindex, tx, proof, sigs)
File "/usr/local/lib/python3.6/site-packages/plasma-0.0.0-py3.6.egg/plasma/client/client.py", line 69, in withdraw
self.root_chain.startExit(utxo_pos, encoded_transaction, proof, sigs, transact={'from': owner_addr})
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/contract.py", line 879, in call
return self.__prepared_function(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/contract.py", line 892, in __prepared_function
return getattr(self._function(*args), modifier)(modifier_dict)
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/contract.py", line 1142, in transact
**self.kwargs
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/contract.py", line 1438, in transact_with_contract_function
txn_hash = web3.eth.sendTransaction(transact_transaction)
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/eth.py", line 263, in sendTransaction
get_buffered_gas_estimate(self.web3, transaction),
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/utils/transactions.py", line 84, in get_buffered_gas_estimate
gas_estimate = web3.eth.estimateGas(gas_estimate_transaction)
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/eth.py", line 304, in estimateGas
[transaction],
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/manager.py", line 110, in request_blocking
raise ValueError(response["error"])
ValueError: {'message': 'VM Exception while processing transaction: revert Invalid attached value.', 'code': -32000, 'data': {'stack': 'RuntimeError: VM Exception while processing transaction: revert Invalid attached value.\n at Function.RuntimeError.fromResults (/usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/lib/utils/runtimeerror.js:89:13)\n at /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/lib/blockchain_double.js:575:30\n
Command that caused error:
omg withdrawdeposit 0xfd02EcEE62797e75D86BCff1642EB0844afB28c7 1 100
Code that caused error:
Suggested Fix
the code change is in client.py
bond = 1234567890
self.root_chain.startDepositExit(deposit_pos, NULL_ADDRESS, amount, transact={'from': owner, 'value': bond})
Motivation for Change
omg withdraw deposit needs to be successful
System Specs
python version: 3.6.5
pyetherem version:
environment (output of running pip freeze):
operating system: mac os high sierra
The text was updated successfully, but these errors were encountered:
victoryeo
changed the title
omg withdraw VM exception
omg withdrawdeposit VM exception
Jan 25, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue Type
Current Behavior
When doing omg withdraw, there is VM exception
Expected Behavior
When doing omg withdraw, there should not be problem
Steps to Reproduce
Full output of error:
child chain <plasma.client.child_chain_service.ChildChainService object at 0x103441f98>
Traceback (most recent call last):
File "/usr/local/bin/omg", line 11, in
load_entry_point('plasma==0.0.0', 'console_scripts', 'omg')()
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/decorators.py", line 27, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/plasma-0.0.0-py3.6.egg/plasma/cli/cli.py", line 130, in withdraw
client.withdraw(blknum, txindex, oindex, tx, proof, sigs)
File "/usr/local/lib/python3.6/site-packages/plasma-0.0.0-py3.6.egg/plasma/client/client.py", line 69, in withdraw
self.root_chain.startExit(utxo_pos, encoded_transaction, proof, sigs, transact={'from': owner_addr})
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/contract.py", line 879, in call
return self.__prepared_function(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/contract.py", line 892, in __prepared_function
return getattr(self._function(*args), modifier)(modifier_dict)
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/contract.py", line 1142, in transact
**self.kwargs
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/contract.py", line 1438, in transact_with_contract_function
txn_hash = web3.eth.sendTransaction(transact_transaction)
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/eth.py", line 263, in sendTransaction
get_buffered_gas_estimate(self.web3, transaction),
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/utils/transactions.py", line 84, in get_buffered_gas_estimate
gas_estimate = web3.eth.estimateGas(gas_estimate_transaction)
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/eth.py", line 304, in estimateGas
[transaction],
File "/usr/local/lib/python3.6/site-packages/web3-4.5.0-py3.6.egg/web3/manager.py", line 110, in request_blocking
raise ValueError(response["error"])
ValueError: {'message': 'VM Exception while processing transaction: revert Invalid attached value.', 'code': -32000, 'data': {'stack': 'RuntimeError: VM Exception while processing transaction: revert Invalid attached value.\n at Function.RuntimeError.fromResults (/usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/lib/utils/runtimeerror.js:89:13)\n at /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/lib/blockchain_double.js:575:30\n
Command that caused error:
omg withdrawdeposit 0xfd02EcEE62797e75D86BCff1642EB0844afB28c7 1 100
Code that caused error:
Suggested Fix
the code change is in client.py
Motivation for Change
omg withdraw deposit needs to be successful
System Specs
pip freeze
):The text was updated successfully, but these errors were encountered: