Skip to content

Instantly share code, notes, and snippets.

View thanethomson's full-sized avatar

Thane Thomson thanethomson

View GitHub Profile
@thanethomson
thanethomson / gopls.log
Created August 18, 2023 13:34
gopls trace logs for incorrect rename problem
[Trace - 09:33:22.850 AM] Sending request 'initialize - (0)'.
Params: {"processId":1312106,"clientInfo":{"name":"Visual Studio Code","version":"1.81.1"},"locale":"en","rootPath":"/home/thane/work/informal/cometbft","rootUri":"file:///home/thane/work/informal/cometbft","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true}},"configuration":true,"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]},"resolveSupport":{"properties":["location.range"]}},"codeLens":{"refreshSupport":true},"executeCommand":{"dynamicRegistration":true},"didChangeConfiguration":{"dynamicRegistration":true},"workspaceFolders":true,"semanticTokens":{"
@thanethomson
thanethomson / e2e.log
Created March 23, 2023 20:41
logs: p2p/e2e: Validators not connecting to each other
==> Running testnet ./networks/ci.toml...
I[2023-03-23|15:51:31.979] Removing Docker containers and networks
I[2023-03-23|15:51:32.067] setup msg="Generating testnet files in \"./networks/ci\""
I[2023-03-23|15:51:32.137] Starting initial network nodes...
I[2023-03-23|15:51:32.137] load msg="Starting transaction load (16 workers)..."
I[2023-03-23|15:51:32.960] start msg="Node seed01 up on http://127.0.0.1:5705"
I[2023-03-23|15:51:34.165] start msg="Node seed02 up on http://127.0.0.1:5706"
I[2023-03-23|15:51:34.907] start msg="Node validator01 up on http://127.0.0.1:5707"
I[2023-03-23|15:51:37.656] start msg="Node validator02 up on http://127.0.0.1:5708"
I[2023-03-23|15:51:40.254] start msg="Node validator03 up on http://127.0.0.1:5709"
@thanethomson
thanethomson / light01.log
Last active March 23, 2023 19:57
CometBFT light client: empty RPC commit response triggers panic in E2E tests
light01 | I[2023-03-23|19:51:55.594] Downloading trusted light block using options module=main
light01 | I[2023-03-23|19:51:55.596] error comparing first header with witness. You may want to consider removing the witness module=main err="light block not found"
light01 | panic: runtime error: invalid memory address or nil pointer dereference
light01 | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xbe7d14]
light01 |
light01 | goroutine 58 [running]:
light01 | github.com/tendermint/tendermint/light/provider/http.(*http).LightBlock(0xc000c44140, {0x13e9cf0, 0xc0001bb1c0}, 0x0)
light01 | /src/cometbft/light/provider/http/http.go:86 +0x134
light01 | github.com/tendermint/tendermint/light.(*Client).getTargetBlockOrLatest(0xc000c44140?, {0x13e9cf0, 0xc0001bb1c0}, 0x3e8, {0x13e6ef0, 0xc000c44140})
light01 | /src/cometbft/light/detector.go:384 +0x3c
@thanethomson
thanethomson / sequence.mmd
Last active January 28, 2022 19:46
Mermaid sequence diagram rendering bug demonstration
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@thanethomson
thanethomson / keybase.md
Created December 20, 2019 01:31
Keybase

Keybase proof

I hereby claim:

  • I am thanethomson on github.
  • I am thanethomson (https://keybase.io/thanethomson) on keybase.
  • I have a public key whose fingerprint is 4948 4A47 D59A 5FCE 793B A7FE 8DCF 820F F5EA 6242

To claim this, I am signing this object:

@thanethomson
thanethomson / validator-config.toml
Last active November 5, 2019 15:42
Issue with load testing 16-validator network
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
##### main base config options #####
# TCP or UNIX socket address of the ABCI application,
# or the name of an ABCI application compiled in with the Tendermint binary
proxy_app = "kvstore"
# A custom human readable name for this node
@thanethomson
thanethomson / 16-validators.yaml
Created August 6, 2019 21:05
Tendermint Load Testing: 16-validator network
# A geographically dispersed 16-validator test network.
id: testnet_16validators
templates:
base_validator: &base_validator
binary: v0.32.1
config_template: ./validator-config.toml
validators: yes
in_genesis: yes
@thanethomson
thanethomson / 08-validators.yaml
Created August 1, 2019 16:27
Possible mempool bug - configuration for reproducing
# Configuration file for tmtestnet: https://github.com/interchainio/testnets
# A geographically dispersed 8-validator test network.
id: testnet_08validators
templates:
base_validator: &base_validator
binary: v0.32.1
config_template: ./validator-config.toml
validators: yes
in_genesis: yes
@thanethomson
thanethomson / 04-validators.yaml
Created July 30, 2019 21:24
Tendermint Load Testing: 4-validator network
# A simple 4-validator test network, geographically dispersed.
id: testnet_04validators
templates:
base_tendermint_node: &base_tendermint_node
binary: v0.32.1
config_template: ./validator-config.toml
base_load_test: &base_load_test
method: "tm-bench"
@thanethomson
thanethomson / 02-validators.yaml
Last active July 30, 2019 15:23
2-validator network manual load test results
# A 2-validator test network with a single seed node.
id: testnet_02validators
templates:
base_tendermint_node: &base_tendermint_node
binary: v0.32.1
# We use the same config for validators and the seed because of
# https://github.com/tendermint/tendermint/issues/3778
config_template: ./validator-config.toml