Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + provider=https://ropsten.infura.io/v3/7237cf0eba094fff98336bad8a062870
- + python -m raiden_contracts.deploy raiden --rpc-provider https://ropsten.infura.io/v3/7237cf0eba094fff98336bad8a062870 --private-key /home/xud/eth/blkchain1/keystore/UTC--2019-04-05T12-48-38Z--349ee87c-e8a9-46c5-9553-8021edf29e18 --gas-price 10 --gas-limit 6000000
- Web3 provider is RPC connection https://ropsten.infura.io/v3/7237cf0eba094fff98336bad8a062870
- Enter the private key password:
- DEBUG:__main__:Deploying EndpointRegistry txHash=0x251ef0f6694a26201e729767b2cba815205f88d608ec619a6cc1cab12021e8a5
- INFO:__main__:EndpointRegistry address: 0x4a70392F2D2F044744F7135C6F586bd6bf9fEd61. Gas used: 590283
- DEBUG:__main__:Deploying SecretRegistry txHash=0x635cc7b50dbfdfb66ec95037be52ee17acc761fc5814e6cb53f4cb51fdd2f3c2
- INFO:__main__:SecretRegistry address: 0xbDd6Aa1695BBF63fC91c690bD4A9004f4b75FB2C. Gas used: 349049
- DEBUG:__main__:Deploying TokenNetworkRegistry txHash=0xa0ec9333daa34ee400947107304e6f2e6351d86b0a03e06f9f8de9cf5024be5b
- INFO:__main__:TokenNetworkRegistry address: 0xBE3F640f8194A0cF507Dc7a261fd08483C73C0d6. Gas used: 4725529
- Deployment information for chain id = 3 has been updated at /home/xud/raiden-contracts/raiden_contracts/data/deployment_ropsten.json.
- EndpointRegistry at 0x4a70392F2D2F044744F7135C6F586bd6bf9fEd61 matches the compiled data from contracts.json
- SecretRegistry at 0xbDd6Aa1695BBF63fC91c690bD4A9004f4b75FB2C matches the compiled data from contracts.json
- TokenNetworkRegistry at 0xBE3F640f8194A0cF507Dc7a261fd08483C73C0d6 matches the compiled data from contracts.json
- Deployment info from /home/xud/raiden-contracts/raiden_contracts/data/deployment_ropsten.json has been verified and it is CORRECT.
- {
- "EndpointRegistry": "0x4a70392F2D2F044744F7135C6F586bd6bf9fEd61",
- "SecretRegistry": "0xbDd6Aa1695BBF63fC91c690bD4A9004f4b75FB2C",
- "TokenNetworkRegistry": "0xBE3F640f8194A0cF507Dc7a261fd08483C73C0d6"
- }
- ++ jq -r '. | .contracts.TokenNetworkRegistry.address'
- ++ cat raiden_contracts/data/deployment_private_net.json
- + TokenNetworkRegistry=0x07679899f46422A2a9e5A3502815131Fe6d0dd0a
- + CustomToken=0xc778417e063141139fce010982780140aa0cd5ab
- + python -m raiden_contracts.deploy register --rpc-provider https://ropsten.infura.io/v3/7237cf0eba094fff98336bad8a062870 --private-key /home/xud/eth/blkchain1/keystore/UTC--2019-04-05T12-48-38Z--349ee87c-e8a9-46c5-9553-8021edf29e18 --gas-price 10 --token-address 0xc778417e063141139fce010982780140aa0cd5ab --registry-address 0x07679899f46422A2a9e5A3502815131Fe6d0dd0a
- Web3 provider is RPC connection https://ropsten.infura.io/v3/7237cf0eba094fff98336bad8a062870
- Enter the private key password:
- DEBUG:__main__:calling createERC20TokenNetwork(0xc778417E063141139Fce010982780140Aa0cD5Ab) txHash=0x9842e729f60adb1129389c24962c924271d523922a180780a5e46e3122ead79b
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
- "__main__", mod_spec)
- File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
- exec(code, run_globals)
- File "/home/xud/raiden-contracts/raiden_contracts/deploy/__main__.py", line 643, in <module>
- main()
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/click/core.py", line 764, in __call__
- return self.main(*args, **kwargs)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/click/core.py", line 717, in main
- rv = self.invoke(ctx)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/click/core.py", line 1163, in invoke
- rv.append(sub_ctx.command.invoke(sub_ctx))
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/click/core.py", line 956, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/click/core.py", line 555, in invoke
- return callback(*args, **kwargs)
- File "/home/xud/raiden-contracts/raiden_contracts/deploy/__main__.py", line 154, in wrapper
- return func(*args, **kwargs)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
- return f(get_current_context(), *args, **kwargs)
- File "/home/xud/raiden-contracts/raiden_contracts/deploy/__main__.py", line 334, in register
- wait=ctx.obj['wait'],
- File "/home/xud/raiden-contracts/raiden_contracts/deploy/__main__.py", line 463, in register_token_network
- token_address,
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/raiden_libs/private_contract.py", line 46, in call
- decoded = decode_abi(output_types, return_data)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/eth_abi/abi.py", line 96, in decode_abi
- return decoder(stream)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/eth_abi/decoding.py", line 118, in __call__
- return self.decode(stream)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/eth_utils/functional.py", line 46, in inner
- return callback(fn(*args, **kwargs))
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/eth_abi/decoding.py", line 164, in decode
- yield decoder(stream)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/eth_abi/decoding.py", line 118, in __call__
- return self.decode(stream)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/eth_abi/decoding.py", line 186, in decode
- raw_data = self.read_data_from_stream(stream)
- File "/home/xud/.virtualenvs/raiden-contracts/lib/python3.7/site-packages/eth_abi/decoding.py", line 296, in read_data_from_stream
- len(data),
- eth_abi.exceptions.InsufficientDataBytes: Tried to read 32 bytes. Only got 0 bytes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement