Skip to content

Instantly share code, notes, and snippets.

2024-04-09 15:20:01 2024-04-09T20:20:01.277316Z INFO pd: running command cmd=Start { home: Some("/home/heighliner"), abci_bind: 0.0.0.0:26658, grpc_bind: Some(0.0.0.0:8080), grpc_auto_https: None, acme_staging: false, metrics_bind: 0.0.0.0:9000, cometbft_addr: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("node-0-penumbraa-0-testpenumbratopenumbraibc")), port: Some(26657), path: "/", query: None, fragment: None }, enable_expensive_rpc: false } version="0.71.0"
2024-04-09 15:20:01 2024-04-09T20:20:01.277417Z INFO cnidarium::storage: opening rocksdb config column path="/home/heighliner/rocksdb"
2024-04-09 15:20:01 2024-04-09T20:20:01.304185Z INFO cnidarium::storage: reading prefixes from config column family
2024-04-09 15:20:01 2024-04-09T20:20:01.304743Z INFO cnidarium::storage: initializing global store config
2024-04-09 15:20:01 2024-04-09T20:20:01.304749Z INFO cnidarium::storage: creating substore config for prefix prefix="ibc-data"
2024-04-09 15:20:01 2
@jtieri
jtieri / gist:a43a249bc854c4d4c826e6f36c75d815
Created January 31, 2024 22:08
rly tx connection logs
2024-01-31T22:06:34.538833Z debug Queried block {"chain_name": "gm", "chain_id": "gm-420", "height": 78, "latest": 78, "delta": 0}
2024-01-31T22:06:35.554978Z debug Queried block {"chain_name": "gm", "chain_id": "gm-420", "height": 79, "latest": 79, "delta": 0}
2024-01-31T22:06:35.560794Z debug Queried block {"chain_name": "celestiamocha", "chain_id": "mocha-4", "height": 1071238, "latest": 1071238, "delta": 0}
2024-01-31T22:06:35.561910Z debug No cached IBC header for client trusted height {"chain_id": "mocha-4", "client_id": "07-tendermint-189", "height": 30}
2024-01-31T22:06:35.569885Z debug Had to query for client trusted IBC header {"path_name": "rollup-test", "chain_id": "gm-420", "counterparty_chain_id": "mocha-4", "counterparty_client_id": "07-tendermint-189", "height": 30, "latest_height": 79}
2024-01-31T22:06:35.583411Z debug Assembled connection handshake message {"path_name": "rollup-test", "chain_id": "mocha-4", "client_id": "07-tendermint-189", "msg": {"type": "connection_open_init", "client_id"
~:rly tx clients rollup-test -d
2024-01-31T21:38:55.457336Z debug Creating client {"src_chain_id": "mocha-4", "dst_chain_id": "gm", "dst_header_height": 341, "trust_period": 1540800}
2024-01-31T21:38:55.920078Z debug Creating client {"src_chain_id": "gm", "dst_chain_id": "mocha-4", "dst_header_height": 1071098, "trust_period": 1540800}
2024-01-31T21:38:56.734261Z debug No client found on source chain tracking the state of counterparty chain; creating client {"src_chain_id": "gm", "dst_chain_id": "mocha-4"}
2024-01-31T21:38:56.775546Z error Failed sending cosmos transaction {"provider_type": "cosmos", "chain_id": "gm", "msg_types": ["/ibc.core.client.v1.MsgCreateClient"], "error": "insufficient fee", "errorVerbose": "insufficient fee\ncosmossdk.io/errors.Wrap\n\t/Users/justintieri/go/pkg/mod/cosmossdk.io/errors@v1.0.1/errors.go:189\ncosmossdk.io/errors.ABCIError\n\t/Users/justintieri/go/pkg/mod/cosmossdk.io/errors@v1.0.1/errors.go:77\ngithub.com/cosmos/relayer/v2/relayer/chains/cosmos.(*CosmosProvider).sdkErro
package app
import (
"cosmossdk.io/core/appmodule"
storetypes "cosmossdk.io/store/types"
cdctypes "github.com/cosmos/cosmos-sdk/codec/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
{
"app_name": "<appd>",
"app_version": "",
"genesis_time": "2024-01-31T20:35:51.123255Z",
"chain_id": "gm",
"initial_height": 1,
"app_hash": null,
"app_state": {
"auth": {
"params": {
module gm
go 1.21.1
toolchain go1.21.4
replace (
// fix upstream GHSA-h395-qcrw-5vmq vulnerability.
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.7.0
// replace broken goleveldb
module gm
go 1.21.1
toolchain go1.21.4
replace (
// fix upstream GHSA-h395-qcrw-5vmq vulnerability.
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.7.0
// replace broken goleveldb
@jtieri
jtieri / gist:80604f075f23fb1f0d37cba66de8b60c
Created January 9, 2024 22:31
pd - Penumbra timeout logs
2024-01-09 16:23:54 2024-01-09T22:23:54.890127Z INFO pd: starting pd abci_bind=0.0.0.0:26658 grpc_bind=Some(0.0.0.0:8080) grpc_auto_https=None metrics_bind=0.0.0.0:9000 cometbft_addr=http://node-0-penumbraa-0-testpenumbratocosmosibc:26657/ enable_expensive_rpc=false
2024-01-09 16:23:54 2024-01-09T22:23:54.890277Z INFO cnidarium::storage: opening rocksdb config column path="/home/heighliner/rocksdb"
2024-01-09 16:23:54 2024-01-09T22:23:54.912293Z INFO cnidarium::storage: reading prefixes from config column family
2024-01-09 16:23:54 2024-01-09T22:23:54.914401Z INFO cnidarium::storage: initializing global store config
2024-01-09 16:23:54 2024-01-09T22:23:54.914424Z INFO cnidarium::storage: creating substore config for prefix prefix="ibc-data"
2024-01-09 16:23:54 2024-01-09T22:23:54.914464Z INFO cnidarium::storage: creating substore config for prefix prefix="cometbft-data"
2024-01-09 16:23:54 2024-01-09T22:23:54.914488Z INFO cnidarium::storage: opening rocksdb path="/home/heighliner/rocksdb"
2024-01-09 16
@jtieri
jtieri / gist:3f3aeddcee7a2c4a856c0dc823a548da
Created January 9, 2024 22:30
relayer - Penumbra timeout logs
2024-01-09 16:19:40 2024-01-09T22:19:40.787129ZinfoDebug server listening{"sys": "debughttp", "addr": ":5183"}
2024-01-09 16:19:40 2024-01-09T22:19:40.795385ZdebugEntering main query loop{"chain_name": "cosmos-0", "chain_id": "cosmos-0"}
2024-01-09 16:19:40 2024-01-09T22:19:40.805738ZinfoChain is not yet in sync{"chain_name": "cosmos-0", "chain_id": "cosmos-0", "latest_queried_block": 0, "latest_height": 18}
2024-01-09 16:19:40 2024-01-09T22:19:40.809249ZdebugQueried block{"chain_name": "cosmos-0", "chain_id": "cosmos-0", "height": 1, "latest": 18, "delta": 17}
2024-01-09 16:19:40 2024-01-09T22:19:40.813314ZdebugQueried block{"chain_name": "cosmos-0", "chain_id": "cosmos-0", "height": 2, "latest": 18, "delta": 16}
2024-01-09 16:19:40 2024-01-09T22:19:40.818039ZdebugQueried block{"chain_name": "cosmos-0", "chain_id": "cosmos-0", "height": 3, "latest": 18, "delta": 15}
2024-01-09 16:19:40 2024-01-09T22:19:40.823670ZdebugQueried block{"chain_name": "cosmos-0", "chain_id": "cosmos-0", "height": 4, "latest": 18, "
Things that Strangelove can focus on
- Marketplace for relayers. Allow entities to create contracts for relayers, relayer operators can accept (quoted price) or bid (auctions)?
How to measure a relayer operators success? How to hold operators accountable, revoke payment if a contract is not honored?
Should funds related to relayer contracts stay in escrow until proof is submitted that an operator has upheld their contractual obligations?
Not familiar with the existing work in this space (Skip?) but perhaps some of these mechanisms are already considered.
- Relayer should support configurable options for relaying packets according to ics-29 related metadata.
e.g. relayer configures a base fee (say 0.01token), if an ibc packet does not have an attached fee that meets this criteria do not relay the packet
This creates Relayer Extractable Value (REV), how can we further capitalize on this?