Skip to content

Instantly share code, notes, and snippets.

View vodolaz's full-sized avatar

Dmitry Miroshnichenko vodolaz

View GitHub Profile
[1314054.646072] INFO: task dockerd:80670 blocked for more than 120 seconds.
[1314054.647665] Not tainted 5.4.0-125-generic #141-Ubuntu
[1314054.648938] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[1314054.650731] dockerd D 0 80670 1 0x00004000
[1314054.650736] Call Trace:
[1314054.650750] __schedule+0x2e3/0x740
[1314054.650756] ? __wake_up_common_lock+0x8a/0xc0
[1314054.650760] schedule+0x42/0xb0
[1314054.650764] jbd2_log_wait_commit+0xaf/0x120
[1314054.650767] ? __wake_up_pollfree+0x40/0x40
+ python3 -m proxy --hostname 0.0.0.0 --port 9090 --enable-web-server --plugins proxy.plugin.SolanaProxyPlugin --timeout 300
2022-02-08 19:46:52.760 D environment.py:53 9 Proxy:neon_cli {} Calling: neon-cli --commitment=recent --url http://10.2.0.2:8899 --evm_loader=53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io --logging_ctx={} -vvv neon-elf-params
2022-02-08 19:47:36.152 D solana_rest_api.py:68 193 Proxy:EthereumModel {} Worker id 0
2022-02-08 19:47:36.153 D solana_rest_api_tools.py:22 193 Proxy:neon_config_load {} loading the neon config dict for the first time!
2022-02-08 19:47:36.153 D environment.py:53 193 Proxy:neon_cli {} Calling: neon-cli --commitment=recent --url http://10.2.0.2:8899 --evm_loader=53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io --logging_ctx={} -vvv neon-elf-params
2022-02-08 19:47:36.190 D solana_rest_api_tools.py:37 193 Proxy:neon_config_load {} {'NEON_PAYMENT_TO_DEPOSIT': '5000', 'NEON_PERMISSION_ALLOWANCE_TOKEN': 'B2m2PGZQuZzaVMkeH8fLR8EbefiEy64ybCxVuzhx6RD1', 'NEON_PERMISSION_DENIA
[2022-01-30T18:07:56.335399650Z DEBUG solana_runtime::message_processor] Program 11111111111111111111111111111111 success
[2022-01-30T18:07:56.336050155Z DEBUG solana_runtime::message_processor] Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]
[2022-01-30T18:07:56.336092775Z DEBUG solana_runtime::message_processor] Program log: Instruction: Transfer
[2022-01-30T18:07:56.336158617Z DEBUG solana_runtime::message_processor] Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 3402 of 384214 compute units
[2022-01-30T18:07:56.336183253Z DEBUG solana_runtime::message_processor] Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success
[2022-01-30T18:07:56.336282298Z DEBUG solana_runtime::message_processor] Program log: Total memory occupied: 14094
[2022-01-30T18:07:56.336306403Z DEBUG solana_runtime::message_processor] Program 53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io consumed 125527 of 500000 compute units
[2022-01-30T18:07:56.336389067Z DEBUG solana_runtime::message_processor] Program
2022-01-25 16:20:48.744 INFO 23:Thread-128 Proxy::solana_rest_api.py:542 {'req_id': '12431cf'} Request processed
2022-01-25 16:20:48.744 INFO 23:Thread-128 proxy.http.server.web::web.py:226 172.20.0.1:51732 - POST /solana - 1.29 ms
2022-01-25 16:20:48.883 INFO 45:Thread-138 Proxy::solana_rest_api.py:560 {'req_id': '3dcb60b'} handle_request <<< 139815220926208 0x7f2944977370 {"id":9957232547434,"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xf902790580830102128080b90229608060405234801561001057600080fd5b50610209806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806306661abd14610051578063371303c01461006f5780636d4ce63c14610079578063b3bcfa8214610097575b600080fd5b6100596100a1565b60405161006691906100ff565b60405180910390f35b6100776100a7565b005b6100816100c2565b60405161008e91906100ff565b60405180910390f35b61009f6100cb565b005b60005481565b60016000808282546100b99190610149565b92505081905550565b60008054905090565b60016000808282546100dd919061019f565b92505081905550565b6000819050
2022-01-25 16:18:44.377 INFO 37:Thread-131 Proxy::solana_rest_api.py:560 {'req_id': '140a0be'} handle_request <<< 139815220926208 0x7f29484ab400 {"jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": ["0x5F6d5944DE2B1505Ab93a50ed25E021422217712", "latest"], "id": 0}
2022-01-25 16:18:44.378 DEBUG 37:Thread-131 Proxy::solana_rest_api.py:565 {'req_id': '140a0be'} Request payload: {'jsonrpc': '2.0', 'method': 'eth_getTransactionCount', 'params': ['0x5F6d5944DE2B1505Ab93a50ed25E021422217712', 'latest'], 'id': 0}
2022-01-25 16:18:44.378 DEBUG 37:Thread-131 Proxy::solana_rest_api.py:285 {'req_id': '140a0be'} eth_getTransactionCount: 0x5F6d5944DE2B1505Ab93a50ed25E021422217712
2022-01-25 16:18:44.381 INFO 37:Thread-131 Proxy::solana_rest_api.py:581 {'req_id': '140a0be'} handle_request >>> 139815220926208 0x7f29484ab400 {"jsonrpc": "2.0", "id": 0, "result": "0x0"} eth_getTransactionCount resp_time_ms= 3.1845569610595703
2022-01-25 16:18:44.381 INFO 37:Thread-131 Proxy::solana_rest_api.py:542 {'req_id': '140a
#!/bin/bash
echo $(date)
echo START
echo Test with python
pipenv sync
pipenv run flake8 ./src
pipenv run flake8 ./tests
pipenv run pytest --alluredir=report/allure-results
version: "2.1"
services:
solana:
container_name: solana
image: cybercoredev/solana:${SOLANA_REVISION:-v1.7.9-resources}
environment:
- SOLANA_URL=http://solana:8899
- RUST_LOG=solana_runtime::system_instruction_processor=trace,solana_runtime::message_processor=debug,solana_bpf_loader=debug,solana_rbpf=debug
hostname: solana
#!/bin/bash
cat <<EOF | sudo tee /etc/systemd/system/superscript.service
[Unit]
Description=superscript
[Service]
ExecStart=/usr/bin/python3.8 _____full_path_to_script______
[Install]
Step 1/9 : FROM golang:1.15 as builder
---> 4873f85e381b
Step 2/9 : WORKDIR /go/src/github.com/percona/mongodb_exporter
---> Using cache
---> 778e119eb609
Step 3/9 : ARG tag=v0.6.2
---> Using cache
---> 89e80e04dde4
Step 4/9 : RUN apt-get update && apt-get install -y wget git ca-certificates
---> Using cache