Skip to content

Instantly share code, notes, and snippets.

@r0qs
r0qs / list-doc-translation-contributors.sh
Last active July 25, 2023 11:41
List Solidity documentation translation contributors by year
#!/bin/bash
set -e
TOKEN="${1:-}"
ORG="solidity-docs"
function get_org_repos() {
local org=$1
curl -sL \
@r0qs
r0qs / tx-body-malformed
Created August 23, 2022 22:39
Worker failed: transaction body malformed
$ RUST_LOG=debug pcli tx sweep
⛔️WARNING️️⛔️:
you are about to lose money!
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
This message ... is part of a system of messages...
... we considered ourselves to be a fault-tolerant distributed system...
This message is a warning about danger.
The danger is in a particular location... the center of danger is the pcli binary...
@r0qs
r0qs / x86-64_penumbra-stack-trace
Last active June 26, 2022 17:24
database already initialized error
This file has been truncated, but you can view the full file.
pd start --home /home/nubrok/.penumbra/testnet_data/node0/pd --grpc-port 40102
2022-06-26T17:15:03.430897Z  INFO starting pd host="127.0.0.1" abci_port=26658 grpc_port=40102
2022-06-26T17:15:03.431250Z  INFO opening rocksdb path="/home/nubrok/.penumbra/testnet_data/node0/pd/rocksdb"
2022-06-26T17:15:03.467975Z  INFO consensus::Worker::new: initializing App instance
2022-06-26T17:15:03.468802Z  INFO mempool::Worker::new: initializing App instance
2022-06-26T17:15:03.469483Z  INFO starting ABCI server addr="127.0.0.1:26658"
2022-06-26T17:15:03.469598Z  INFO bound tcp listener local_addr=127.0.0.1:26658
2022-06-26T17:15:05.171378Z  INFO listening for requests
2022-06-26T17:15:05.171520Z  INFO abci:Info: info=
tendermint start --home /home/nubrok/.penumbra/testnet_data/node0/tendermint --proxy-app=tcp://127.0.0.1:26658
2022-06-26T19:13:27+02:00 INFO WARNING deprecated field warning="the following deprecated fields were set in the configuration file: skip-timeout-commit, timeout-propose, timeout-propose-delta, timeout-prevote, timeout-prevote-delta, timeout-precommit, timeout-precommit-delta, timeout-commit, skip-timeout-commit. These fields were removed in v0.36. Timeout configuration has been moved to the ConsensusParams. For more information see https://tinyurl.com/adr074"
2022-06-26T19:13:27+02:00 INFO starting service impl=Node service=Node
2022-06-26T19:13:27+02:00 INFO starting service impl=proxyClient module=proxy service=proxyClient
2022-06-26T19:13:27+02:00 INFO starting service impl=socketClient service=socketClient
2022-06-26T19:13:27+02:00 INFO starting service impl=EventBus module=eventbus service=EventBus
2022-06-26T19:13:27+02:00 INFO starting service impl=PubSub module=events service=PubSub
2022-06
@r0qs
r0qs / armv7l-stack-trace
Last active June 26, 2022 17:20
penumbra: no entry found for key error
RUST_BACKTRACE=full pd testnet join
thread 'main' panicked at 'no entry found for key', /home/nubrok/.cargo/git/checkouts/decaf377-759be7b9e0a7e297/d777a1b/src/invsqrt.rs:151:18
stack backtrace:
0: 0x168ed38 - std::backtrace_rs::backtrace::libunwind::trace::h411ecdfee4883958
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x168ed38 - std::backtrace_rs::backtrace::trace_unsynchronized::h5b76ed3a4aac0add
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x168ed38 - std::sys_common::backtrace::_print_fmt::h5980b58201241fb4
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:66:5
3: 0x168ed38 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::f

Keybase proof

I hereby claim:

  • I am r0qs on github.
  • I am r0qs (https://keybase.io/r0qs) on keybase.
  • I have a public key ASBcKrxMRKJcrrBWiQ3LNPjMwVJCnUJs-M-qvCm9JRB7nAo

To claim this, I am signing this object: