Skip to content

Instantly share code, notes, and snippets.

Jacob Stenum Czepluch czepluch

Block or report user

Report or block czepluch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:a607ff89befeef37b392880e8f23191f
{"raiden": "0.100.4.dev670+gcb9e6975", "raiden_db_version": 23, "python_implementation": "CPython", "python_version": "3.7.3", "system": "Linux 64bit_ELF 5.1.11-arch1-1-ARCH", "architecture": "x86_64", "distribution": "source", "event": "Starting Raiden", "logger": "raiden.ui.runners", "level": "info", "timestamp": "2019-06-27 09:18:41.960812"}
{"node": "0x258fDfc3aB84e9AeA1e4550caEd99349c57A8631", "available_nonce": 0, "client": "Geth/v1.8.27-stable/linux-amd64/go1.11.10", "event": "JSONRPCClient created", "logger": "raiden.network.rpc.client", "level": "debug", "timestamp": "2019-06-27 09:18:42.928819"}
{"pfs_info": "PFSInfo(url='https://pfs-goerli.services-dev.raiden.network', price=0, chain_id=5, token_network_registry_address=b'\\xed\\xd4\\xd2y\\xa6R\\xdd\\xf5\\xa9\\xf9\\xe2Q\\x90\\x8ax\\xa0&\\xa4\\xdc\\xe4', payment_address=b'\\x06,\\x12\\xc0\\x1d\\x0f\\x17\\xfc\\x9e\\xaa3\\x94\\r\\x99E\\x94\\xd9\\x1a\\x01\\x82', message='PLACEHOLDER FOR ADDITIONAL MESSAGE BY THE PFS', operator='PLACEHOLDER FOR PATHFIND
View gist:0064c393bdb9416c0b9e13713fb98346
--------- Starting ---------
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/jacob/tempRaiden/raiden/.venv/lib/python3.7/site-packages/raiden/api/rest.py", line 402, in _run
self.wsgiserver.serve_forever()
File "/home/jacob/tempRaiden/raiden/.venv/lib/python3.7/site-packages/gevent/baseserver.py", line 364, in serve_forever
self._stop_event.wait()
File "src/gevent/event.py", line 240, in gevent._event.Event.wait
File "src/gevent/event.py", line 140, in gevent._event._AbstractLinkable._wait
File "src/gevent/event.py", line 117, in gevent._event._AbstractLinkable._wait_core
View deploy.js
var _wallet_address = "0xbB5AEb01acF5b75bc36eC01f5137Dd2728FbE983";
var _whitelister_address = "0x9a65897d08b26c1694ac2ab92c44134a21cf485e";
var _price_start = 2000000000000000000;
var _price_constant = 12488000;
var _price_exponent = 4;
var browser_untitled_sol_dutchauctionContract = web3.eth.contract([{"constant":true,"inputs":[],"name":"num_tokens_auctioned","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"final_price","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price_exponent","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"end_time","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"bid","outputs":[],"payable":true,"stateMutability":"payable","type":"
View multi transfers
DEBUG:raiden.api.python initiating transfer amount=7 identifier=15406416375011409493 initiator=00831178 token=0f114a1e target=02f4b6bc
INFO:raiden.network.channelgraph channel 00831178 - 003ffdf9 doesnt have enough funds [7], ignoring
INFO:raiden.network.channelgraph channel 00831178 - f85905d3 is closed or has zero funding, ignoring
DEBUG:raiden.channel.netting_channel REGISTERED LOCK node=00831178 currentlocksroot=00000000 lock_expiration=1666896 to=02f4b6bc lock_amount=7 lock_hashlock=c29fb75a from_=00831178 lockhashes=[] lockhash=c96eecb1
DEBUG:raiden.channel.netting_channel REGISTERED TRANSFER node=00831178 nonce=None transfer=<MediatedTransfer [channel:dfb84cc8 nonce:3 transferred_amount:7 locksroot:c96eecb1 hash:451ec2b4 id:15406416375011409493 hashlock:c29fb75a expiration:1666896 amount:7]> to=02f4b6bc transferred_amount=7 from_=00831178 current_locksroot=c96eecb1
DEBUG:raiden.network.protocol SENDING MESSAGE node=00831178 to=02f4b6bc message=<MediatedTransfer [channel:dfb84cc8 nonce:3 transferred_a
View stun KeyError 0700
INFO:raiden.network.sockfactory trying to find uPnP port mapper...
DEBUG:raiden.network.upnpsock connected upnp=<miniupnpc.UPnP object at 0x559597642100>
DEBUG:raiden.network.upnpsock invalid IPv4 address input=
ERROR:raiden.network.upnpsock could not query your lanaddr reported=
INFO:raiden.network.sockfactory uPnP not available, trying STUN for port mapping...
DEBUG:raiden.network.stunsock opened socket ip=0.0.0.0 port=40001
DEBUG:raiden.network.stunsock Initiating STUN for 0.0.0.0:40001
Traceback (most recent call last):
File "/home/jacob/Dropbox/prgrms/ethereum/raiden/.venv/bin/raiden", line 11, in <module>
load_entry_point('raiden', 'console_scripts', 'raiden')()
View gist:0b9f775720a72e0575952ce4e1f13d42
request = <SubRequest 'raiden_network' for <Function 'test_channel_to_api_dict[2-geth]'>>
token_addresses = ['q\xea\xc5d%\xe23z\xb1\r\xddQU\x1c\xf6\x8b\x1b\x84\xa0\xb5'], channels_per_node = 1, deposit = 200, settle_timeout = 16
blockchain_services = BlockchainServices(deploy_service=<raiden.network.rpc.client.BlockChainService...0f50>, <raiden.network.rpc.client.BlockChainService object at 0x7fc1d2ac0390>])
raiden_udp_ports = [29872, 29873], transport_class = <class 'raiden.network.transport.UDPTransport'>, send_ping_time = 0, max_unresponsive_time = 0
cached_genesis = None, reveal_timeout = 4
@pytest.fixture
def raiden_network(
request,
token_addresses,
View keybase.md

Keybase proof

I hereby claim:

  • I am czepluch on github.
  • I am czepluch (https://keybase.io/czepluch) on keybase.
  • I have a public key whose fingerprint is E32C 1CCE 17B3 F902 B3B6 1ED2 E273 A98C 01F8 0BA5

To claim this, I am signing this object:

View Token.sol
contract Token {
address public owner;
uint public total_supply;
uint price;
mapping (address => uint) public balances;
mapping (address => Offer) public offers;
string public name;
struct Offer
View gist:30bb1c37f4ccc1fc5e63e4b5e8ce1b54
(.venv) > $ py.test raiden/tests/integration/test_blockchainservice.py [±issue_232 ●●]
============================================================================================================ test session starts =============================================================================================================
platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.31, pluggy-0.4.0
rootdir: /home/czepluch/Dropbox/prgrms/ethereum/raiden, inifile:
plugins: random-0.2, timeout-1.0.0
collected 2 items
raiden/tests/integration/test_blockchainservice.py EF
=================================================================================================================== ERRORS ===================================================================================================================
@czepluch
czepluch / state root not found for block
Created Oct 20, 2016
State root not found for block
View state root not found for block
2016-10-20 14:53:07 Starting Parity/v1.3.8-beta/x86_64-linux-gnu/rustc1.12.0
2016-10-20 14:53:07 Using state DB journalling strategy fast
2016-10-20 14:53:07 Configured for Frontier/Homestead using Ethash engine
2016-10-20 14:53:08 State root not found for block #2425304 (1df68712ce9e9666852848f264179322603c830438a723351bc2574110241401)
2016-10-20 14:53:09 Public node URL: enode://22d5b35b7b611ae5c562f4ac667047a80043dcdeacb4de2f4eab58db291ec826f571fc4b908d590ab624086e3c6a6aec5d99bdc8a453b68bfcb3ec0bd3433d3f@192.168.0.100:30303
2016-10-20 14:53:11 Block import failed for #2425305 (0a87…df21)
Error: Trie(InvalidStateRoot(7f15c34cf6f57e021d672e6b09a741ae971695db31202428aeef9d0933062ea4))
2016-10-20 14:53:13 Syncing #2425304 1df6…1401 0 blk/s 0 tx/s 0 Mgas/s 1022+ 0 Qed #2427083 1/ 1/25 peers 197 MiB db 71 KiB chain 1 MiB queue 377 KiB sync
2016-10-20 14:53:19 Syncing #2425304 1df6…1401 0 blk/s 0 tx/s 0 Mgas/s 3017+ 0 Qed #2430765 1/ 1/25 peers 197 MiB
You can’t perform that action at this time.