Skip to content

Instantly share code, notes, and snippets.

@CosminNechifor
Created September 10, 2018 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CosminNechifor/d2ddf324c3d7cc737c5fbbd05abb0977 to your computer and use it in GitHub Desktop.
Save CosminNechifor/d2ddf324c3d7cc737c5fbbd05abb0977 to your computer and use it in GitHub Desktop.
unlock failed
(raiden) ➜ raiden git:(master) raiden --keystore-path ~/.ethereum/testnet/keystore --log-config 'raiden:debug' --api-address "http://localh│
ost:5001" │
Welcome to Raiden, version 0.8.1.dev5+gfe831802! │
---------------------------------------------------------------------- │
| This is an Alpha version of experimental open source software | │
| released under the MIT license and may contain errors and/or bugs. | │
| Use of the software is at your own risk and discretion. No | │
| guarantee whatsoever is made regarding its suitability for your | │
| intended purposes and its compliance with applicable law and | │
| regulations. It is up to the user to determine the software´s | │
| quality and suitability and whether its use is compliant with its | │
| respective regulatory regime, especially in the case that you are | │
| operating in a commercial context. | │
---------------------------------------------------------------------- │
Have you read and acknowledge the above disclaimer? [y/N]: y │
[ 0] - 0x1e421bDC5F0a4Da836D32b043a9D98153A9F12e1 │
[ 1] - 0x37a0b766c23870D5d52BE1f7d2A6C8bBdF54A4bb │
[ 2] - 0x7378dee54A358b633EB1c2DF1a6759c4b51c6c37 │
[ 3] - 0x932c3D5e4a0Ed522fc0EC8A72E86a4f09FA675E0 │
[ 4] - 0x8f5810964821208bD8271B1323266Ce37f6167E9 │
[ 5] - 0x6738746934688d3B0A28832AB6Fb4Aff979f7C4A │
[ 6] - 0x780Fb8e79307ba6dCe13A9c636Fc7365d40ceF1D │
[ 7] - 0x97a9F9222bA359E5547055500769E5cd662ca0AF │
[ 8] - 0xBcda82Bdc24ea2e34C29f9EFF1F105CF36A11008 │
[ 9] - 0xF1b23d3fabE3AF1a3BbF012fb336464e4a33b3E2 │
[ 10] - 0xDB6037FA2E6C9923804C8443af1374cb4FD5b272 │
[ 11] - 0x3B95E188935022dC733ecB52A59A3A1473Ad5D90 │
[ 12] - 0xa80fAAa7D98A479C304a67e6CDEf92dF8f3435Af │
[ 13] - 0x15d118fCB09A113Ff8f6135fa948C56b5Bd1B903 │
[ 14] - 0xDB25f89F7C579Aef46C45DC1a3110A7807D30Fc0 │
[ 15] - 0x0897ba2d2DDe199232661273e2b6495d12BdbC43 │
[ 16] - 0x23183dDB4F8b9f5FC5530Bf2FaD539e5C4CBdd3B │
[ 17] - 0x7f39e52Ac3F99269210B29F9700435cE969c2e8E │
[ 18] - 0x2a4aef64239Ac9101b14C7700712C5F487733204 │
[ 19] - 0x490166F2EEbbaCC7e496C0EB6b371B6166Ca3360 │
[ 20] - 0xCA57Cf50283Be78609b36fb89502a6110Ef8D091 │
[ 21] - 0x94Fe7EB133f75FeF1a724127f6FA017518bdc523 │
[ 22] - 0x9EEcc84c4A5394fA5fbee52614dceAb9450e4c10 │
[ 23] - 0xBAEd3733FE23DA5B07746B8B27b3Ec25b465Db3d │
[ 24] - 0xabd9A9579DbD40603d366611DEfBc0421384669d │
[ 25] - 0x3Ea7d28D45875880cEf482D33aE0C89dA5DD13Dd │
[ 26] - 0x8f51B5aD1E20ED4fDB436Fb6C920cC12BCE6b082 │
[ 27] - 0xFaB738171F709E149c76b88AE7Ef9E4ee7eB33e7 │
[ 28] - 0x5546329D71F8a14AF3870514Ca926A935342313c │
[ 29] - 0xB9CE45Bd396EB396969C967d79c36795102F8d59 │
[ 30] - 0x4EDF7DA30b655be2F0c6F6F0eD158E803906b20e │
[ 31] - 0x816D26CA4149347e8522928ecf98193a3EE96d61 │
[ 32] - 0x6374b76E2836920843B7bf12598147F87ef61d4F │
[ 33] - 0x7e923421766988295Cf2d7246c01BBc3eCA7Ced2 │
[ 34] - 0xdBea1AfC495B92D9EF432F862a4Be96F3c9Ad871 │
[ 35] - 0x7F945d00324775370f1c427a9d31Cba52cCdDAB1 │
[ 36] - 0xa2c13B982323978799493A474D143CA18164CA4D │
[ 37] - 0x8A0cE8bDA200D64d858957080bf7eDDD3371135F │
[ 38] - 0xdfec43A326786a105c80ca642c0AFC961c0c351e │
[ 39] - 0x31C42e6b66F10fF54658996381a3AB7fbB8BB253 │
[ 40] - 0x35C9ED5dD11415715258c8698d843c31b7a0Ff66 │
[ 41] - 0x91822FB8C839de77f9F64fE6d92b94b5f7CaeeE5 │
[ 42] - 0x0B25b08D4723FF31dd92c835144539573F3005bE │
[ 43] - 0x808fefd987f6E9827C66de8aDE96953d13E202CF │
[ 44] - 0x3A8dc81E738b450f82A607B73b6C69F90A5d29ff │
Select one of them by index to continue: 11 │
Enter the password to unlock 0x3B95E188935022dC733ecB52A59A3A1473Ad5D90: │
2018-09-10 14:16:19 [debug ] JSONRPCClient created [raiden.network.rpc.client] available_nonce=10 sender=3b95e188 │
Checking if the ethereum node is synchronized │
You are connected to the 'ropsten' network and the DB path is: /home/cosmin/.raiden/node_3b95e188/netid_3/network_f2a175a5/v1_log.db │
2018-09-10 14:16:21 [debug ] Matrix homeserver RTT times [raiden.network.transport.matrix] rtt_times=[('https://transport01.raiden.netw│
ork', 0.06505766666666667), ('https://transport03.raiden.network', 0.09903200000000001)] │
2018-09-10 14:16:21 [info ] Automatically selecting matrix homeserver based on RTT [raiden.network.transport.matrix] homeserver=https://t│
ransport01.raiden.network rtt=0.06505766666666667 │
2018-09-10 14:16:22 [info ] Lock 139995979840536 acquired on /home/cosmin/.raiden/node_3b95e188/netid_3/network_f2a175a5/.lock [filelock]│
2018-09-10 14:16:22 [debug ] Restoring from snapshot [raiden.storage.wal] │
2018-09-10 14:16:22 [debug ] Replaying state changes [raiden.storage.wal] num_state_changes=61 │
2018-09-10 14:16:40 [debug ] Restored state from WAL [raiden.raiden_service] last_restored_block=4011403 node=3b95e188 │
2018-09-10 14:16:40 [debug ] starting at block number [raiden.tasks] current_block=4012066 │
2018-09-10 14:16:40 [debug ] STATE CHANGE [raiden.raiden_service] node=3b95e188 state_change=<Block 4012066> │
2018-09-10 14:16:40 [debug ] Processing pending transactions [raiden.raiden_service] node=3b95e188 num_pending_transactions=1 │
2018-09-10 14:16:41 [info ] unlock called [raiden.network.proxies.token_network] merkle_tree_leaves=[<HashTimeLockState │
amount:3 expiration:4010856 secrethash:270a8e30>] node=3b95e188 partner=a80faaa7 token_network=03c4ab05 │
2018-09-10 14:16:41 [debug ] send_raw_transaction called [raiden.network.rpc.client] account=0x3B95E188935022dC733ecB52A59A3A1473Ad5D90│
gasLimit=5859052 gasPrice=806 nonce=10 │
2018-09-10 14:16:41 [debug ] send_raw_transaction returned [raiden.network.rpc.client] account=0x3B95E188935022dC733ecB52A59A3A1473Ad5D90│
gasLimit=5859052 gasPrice=806 nonce=10 tx_hash=HexBytes('0x7fe9d9f0a1dae60704bf5ae070cbf85ecc471c84a97731654730526b04da3314') │
2018-09-10 14:16:54 [critical ] unlock failed [raiden.network.proxies.token_network] merkle_tree_leaves=[<HashTimeLockState │
amount:3 expiration:4010856 secrethash:270a8e30>] node=3b95e188 partner=a80faaa7 token_network=03c4ab05 │ │
Traceback (most recent call last): │
File "/home/cosmin/.virtualenvs/raiden/bin/raiden", line 11, in <module> │
load_entry_point('raiden', 'console_scripts', 'raiden')() │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/__main__.py", line 11, in main │
run(auto_envvar_prefix='RAIDEN') # pylint: disable=no-value-for-parameter │
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 722, in __call__ │
return self.main(*args, **kwargs) │
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 697, in main │
rv = self.invoke(ctx) │
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 1043, in invoke │
return Command.invoke(self, ctx) │
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 895, in invoke │
return ctx.invoke(self.callback, **ctx.params) │
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 535, in invoke │
return callback(*args, **kwargs) │
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func │
return f(get_current_context(), *args, **kwargs) │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/ui/cli.py", line 1104, in run │
NodeRunner(kwargs, ctx).run() │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/ui/cli.py", line 937, in run │
app = self._run_app() │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/ui/cli.py", line 955, in _run_app │
app_ = run_app(**self._options) │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/ui/cli.py", line 774, in run_app │
raiden_app.start() │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/app.py", line 134, in start │
self.raiden.start() │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_service.py", line 316, in start │
on_raiden_event(self, transaction) │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_event_handler.py", line 361, in on_raiden_event │
handle_contract_send_channelunlock(raiden, event) │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_event_handler.py", line 265, in handle_contract_send_channelunlock │
channel.unlock(channel_unlock_event.merkle_tree_leaves) │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/network/proxies/payment_channel.py", line 180, in unlock │
merkle_tree_leaves=merkle_tree_leaves, │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/network/proxies/token_network.py", line 863, in unlock │
raise TransactionThrew('Unlock', receipt_or_none) │
raiden.exceptions.TransactionThrew: Unlock transaction threw. Receipt=AttributeDict({'blockHash': HexBytes('0x989a37f7e8036918f0c57b186f290df│
3fc483e192db23549b3d6e70c4eca9fd1'), 'blockNumber': 4012068, 'contractAddress': None, 'cumulativeGasUsed': 404340, 'from': '0x3b95e188935022d│
c733ecb52a59a3a1473ad5d90', 'gasUsed': 35102, 'logs': [], 'logsBloom': HexBytes('0x0000000000000000000000000000000000000000000000000000000000│
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000│
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000│
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000│
0000000000000000000000000000000'), 'status': 0, 'to': '0x03c4ab05f8664ff4e9bacdde4bbf80831e8ee2ff', 'transactionHash': HexBytes('0x7fe9d9f0a1│
dae60704bf5ae070cbf85ecc471c84a97731654730526b04da3314'), 'transactionIndex': 6}) │
--- Logging error --- │
Exception ignored in: <bound method BaseFileLock.__del__ of <filelock.UnixFileLock object at 0x7f535aa5fc18>> │
Traceback (most recent call last): │
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/filelock.py", line 330, in __del__ │
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/filelock.py", line 317, in release │
File "/usr/lib/python3.6/logging/__init__.py", line 1306, in info │
File "/usr/lib/python3.6/logging/__init__.py", line 1442, in _log │
File "/usr/lib/python3.6/logging/__init__.py", line 1452, in handle │
File "/usr/lib/python3.6/logging/__init__.py", line 1514, in callHandlers │
File "/usr/lib/python3.6/logging/__init__.py", line 863, in handle │
File "/usr/lib/python3.6/logging/__init__.py", line 998, in emit │
File "/usr/lib/python3.6/logging/__init__.py", line 916, in handleError │
File "/usr/lib/python3.6/traceback.py", line 100, in print_exception │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/log_config.py", line 158, in tracebackexception_format │
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/log_config.py", line 143, in processor_wrapper │
ImportError: sys.meta_path is None, Python is likely shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment