Skip to content

Instantly share code, notes, and snippets.

Avatar

Lefteris Karapetsas LefterisJP

View GitHub Profile
@LefterisJP
LefterisJP / tg_rpc_daemon_method_handler_crash
Created Nov 27, 2020
tg_rpc_daemon_method_handler_crash
View tg_rpc_daemon_method_handler_crash
ERROR[11-27|01:36:02.688] Invalid block body RLP hash="d4e567…cb8fa3" err="rlp: expected input list for []*types.Transaction, decoding into (types.Body).Transactions"
ERROR[11-27|01:36:02.688] RPC method eth_call crashed: runtime error: invalid memory address or nil pointer dereference
goroutine 27 [running]:
github.com/ledgerwatch/turbo-geth/rpc.(*callback).call.func1(0xc00012a1b0, 0x8, 0xc000013d50)
github.com/ledgerwatch/turbo-geth/rpc/service.go:200 +0xba
panic(0x106ccc0, 0x1970910)
runtime/panic.go:969 +0x1b9
github.com/ledgerwatch/turbo-geth/core/types.(*Block).Hash(0x0, 0x0, 0x0, 0x0, 0x0)
github.com/ledgerwatch/turbo-geth/core/types/block.go:435 +0x4a
github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/commands.getChainConfigWithGenesis(0x7fbc881f4e78, 0xc00007c230, 0xc00007c230, 0x0, 0x0, 0x0, 0x0, 0x0, 0x102bd80)
View exception.txt
vue.runtime.esm.js:3592 Uncaught (in promise) TypeError: Cannot read property '__esModule' of undefined
at ensureCtor (vue.runtime.esm.js:3592)
at eval (vue.runtime.esm.js:3665)
at eval (vue.runtime.esm.js:336)
ensureCtor @ vue.runtime.esm.js:3592
eval @ vue.runtime.esm.js:3665
eval @ vue.runtime.esm.js:336
Promise.then (async)
resolveAsyncComponent @ vue.runtime.esm.js:3692
createComponent @ vue.runtime.esm.js:3200
View aave.json
{
"result": {
"0xA0B6B7fEa3a3ce3b9e6512c0c5A157a385e81056": {
"events": [{
"event_type": "deposit",
"asset": "DAI",
"value": {
"amount": "350.0",
"usd_value": "351.21"
},
View for_kelsakos.patch
diff --git a/rotkehlchen/api/v1/encoding.py b/rotkehlchen/api/v1/encoding.py
index 20e4829f..1d675c6c 100644
--- a/rotkehlchen/api/v1/encoding.py
+++ b/rotkehlchen/api/v1/encoding.py
@@ -3,7 +3,7 @@ from typing import Any, Callable, Dict, List, Mapping, Optional, Union
import marshmallow
import webargs
-from eth_utils import is_checksum_address
+from eth_utils import to_checksum_address
@LefterisJP
LefterisJP / log_query_that_times_out.log
Created May 24, 2020
log_query_that_times_out.log
View log_query_that_times_out.log
eth_getLogs, Params: [{'topics': ['0xd6be0bc178658a382ff4f91c8c68b542aa6b71685b8fe427966b87745c3ea7a2', None, None, '0x000000000000000000000000000000000000000000000000000000000000215f'], 'address': ['0x5ef30b9986345249bc32d8928B7ee64DE9435E39'], 'fromBlock': '0x883bc6', 'toBlock': '0x8c0c56'}]
View gist:fb102cac0a5af31e34dc4673c88c6db5
warning
chunk chunk-01b384f0 [mini-css-extract-plugin]
Conflicting order. Following module has been added:
* css ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!./node_modules/postcss-loader/src??ref--9-oneOf-3-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!./node_modules/vuetify/src/components/VCheckbox/VSimpleCheckbox.sass
despite it was not able to fulfill desired ordering with these modules:
* css ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-3-1!./node_modules/postcss-loader/src??ref--9-oneOf-3-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-3-3!./node_modules/vuetify/src/components/VChip/VChip.sass
- couldn't fulfill desired order of chunk group(s) ,
- while fulfilling desired order of chunk group(s) , , , , , ,
View exchange_removal.diff
diff --git a/electron-app/src/store/balances/mutations.ts b/electron-app/src/store/balances/mutations.ts
index a66b08a..c3fe7b5 100644
--- a/electron-app/src/store/balances/mutations.ts
+++ b/electron-app/src/store/balances/mutations.ts
@@ -34,10 +34,11 @@ export const mutations: MutationTree<BalanceState> = {
state.connectedExchanges.push(exchangeName);
},
removeExchange(state: BalanceState, exchangeName: string) {
- const index = state.connectedExchanges.findIndex(
- value => value === exchangeName
View diff_so_far.diff
diff --git a/electron-app/src/components/settings/AccountAssetBalances.vue b/electron-app/src/components/settings/AccountAssetBalances.vue
index 2f02196..ef64a33 100644
--- a/electron-app/src/components/settings/AccountAssetBalances.vue
+++ b/electron-app/src/components/settings/AccountAssetBalances.vue
@@ -21,6 +21,13 @@
<template #item.amount="{ item }">
{{ item.amount | formatPrice(floatingPrecision) }}
</template>
+ <template #item.usdValue="{ item }">
+ {{
View mfee4_node0_crash.traceback
--------- Starting ---------
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/usr/local/lib/python3.7/site-packages/raiden/network/transport/matrix/utils.py", line 273, in refresh_presence
self._client.set_presence_state(UserPresence.ONLINE.value)
File "/usr/local/lib/python3.7/site-packages/raiden/network/transport/matrix/client.py", line 373, in set_presence_state
"PUT", f"/presence/{quote(self.user_id)}/status", {"presence": state}
File "/usr/local/lib/python3.7/site-packages/raiden/network/transport/matrix/client.py", line 151, in _send
return super()._send(method, path, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/matrix_client/api.py", line 691, in _send
@LefterisJP
LefterisJP / test_regression_unfiltered_routes.log
Created Oct 31, 2019
test_regression_unfiltered_routes logs
View test_regression_unfiltered_routes.log
This file has been truncated, but you can view the full file.
{"nodeid": "raiden/tests/integration/test_regression.py::test_regression_unfiltered_routes[matrix-False-64-0-5]", "event": "Running test", "logger": "raiden.tests.conftest", "level": "info", "timestamp": "2019-10-31 15:32:53.008584"}
You can’t perform that action at this time.