Skip to content

Instantly share code, notes, and snippets.

View insipx's full-sized avatar
🏠
Working from home

Andrew Plaza insipx

🏠
Working from home
View GitHub Profile
2026-04-28T19:01:23.257819-0400 DEBUG xmtp_api::mls: subscribing to welcome messages
Op ID: xmtp_api
2026-04-30T17:53:51.543117-0400 INFO xmtpv3::mls: Creating API client for host: https://grpc.dev.xmtp.network:443, gateway: None v3_host="https://grpc.dev.xmtp.network:443"
2026-04-30T17:53:51.543663-0400 INFO xmtpv3::mls: Creating message store with path: Some("/private/var/mobile/Containers/Shared/AppGroup/B178DC17-0B8F-4192-90A4-B4E3AE2090EB/xmtp-grpc.dev.xmtp.network-be795b0d5b4a20af065a530838090c3337c377cea39ae2b043aea71b099dd4aa.db3") and encryption key: true of length Some(32)
2026-04-30T17:53:51.546521-0400 DEBUG xmtp_db::encrypted_store::database::native::sqlcipher_connection: db @ [/private/var/mobile/Containers/Shared/AppGroup/B178DC17-0B8F-4192-90A4-B4E3AE2090EB/xmtp-grpc.dev.xmtp.network-be795b0d5b4a20af065a530838090c3337c377cea39ae2b043aea71b099dd4aa.db3] exists? [true]
2026-04-30T17:53:51.547658-0400 DEBUG xmtp_db::encrypted_store::database::native::sqlcipher_connection: salt and database exi
@insipx
insipx / xnet-100.log
Created April 16, 2026 18:23
Migrator commit_messages stuck - debug logs 2026-04-16
This file has been truncated, but you can view the full file.
2026-04-16T12:27:21.041Z INFO xmtpd replication/main.go:63 version: v1.3.0
2026-04-16T12:27:21.041Z WARN xmtpd replication/main.go:77 --replication.enable is deprecated, use --api.enable instead
2026-04-16T12:27:21.041Z INFO xmtpd config/validation.go:197 Loading contract configuration {"environment": "anvil", "filePath": "", "hasJSON": false}
2026-04-16T12:27:21.114Z INFO xmtpd db/pgx.go:339 successfully connected to database {"namespace": "xmtpd_272f621e40a4"}
2026-04-16T12:27:21.331Z DEBUG xmtpd.node-registry-watchdog registry/node_registry_contract.go:187 processing new nodes {"count": 1, "body": [{"NodeID":100,"SigningKey":{"Curve":{"P":115792089237316195423570985008687907853269984665640564039457584007908834671663,"N":115792089237316195423570985008687907852837564279074904382605163141518161494337,"B":7,"Gx":55066263022277343669578718895168534326250603453777594175500187360389116729240,"Gy":32670510020758816978083085130507043184471273380659243275938904335757337482424,"BitSize":256},"X":832374958627595606405
let topics = request.messages.topics()?;
let mut data_hashes = request
.messages
.clone()
.consume::<MlsDataExtractor>()?
.into_iter()
.map_ok(|data| {
let mut hasher = DefaultHasher::new();
data.hash(&mut hasher);
hasher.finish()
2025-08-04T16:43:32.057728Z ERROR xmtp_mls::worker: KeyPackageCleaner worker error: Metadata(Connection(Database(NotFound)))
2025-08-04T16:43:32.139958Z WARN xmtp_api::mls: retrying function that failed with error=api client at endpoint "/xmtp.xmtpv4.payer_api.PayerApi/PublishClientEnvelopes" has error status: Unimplemented, message: "unknown service xmtp.xmtpv4.payer_api.PayerApi", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }
2025-08-04T16:43:32.228053Z WARN xmtp_api::mls: retrying function that failed with error=api client at endpoint "/xmtp.xmtpv4.payer_api.PayerApi/PublishClientEnvelopes" has error status: Unimplemented, message: "unknown service xmtp.xmtpv4.payer_api.PayerApi", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }
2025-08-04T16:43:32.398137Z WARN xmtp_api::mls: retrying function that failed with error=api client at endpoint "/xmtp.xmtpv4.payer_api.PayerApi/PublishClientEnvelopes" has error status: U
---- mls::tests::test_massive_sync_and_consent_race stdout ----
2025-07-31T13:32:47.110121Z INFO ThreadId(02) xmtpv3::mls: Creating API client for host: http://localhost:5556, isSecure: false
2025-07-31T13:32:47.111221Z INFO ThreadId(02) xmtpv3::mls: Creating API client for host: http://localhost:5556, isSecure: false
2025-07-31T13:32:47.111694Z INFO ThreadId(02) xmtpv3::mls: Creating message store with path: Some("/tmp/qUp1fEzU0oWcmnBRC7IUDaxn.db3") and encryption key: true of length Some(32)
2025-07-31T13:32:47.116218Z INFO ThreadId(02) xmtp_db::encrypted_store::database::native::sqlcipher_connection: db_path=[/tmp/qUp1fEzU0oWcmnBRC7IUDaxn.db3]
2025-07-31T13:32:47.119394Z INFO ThreadId(02) xmtp_db::encrypted_store::database::native::sqlcipher_connection: Sqlite cipher_version="4.6.1 community", cipher_provider_version="OpenSSL 3.4.1 11 Feb 2025"
2025-07-31T13:32:47.142557Z INFO ThreadId(02) xmtp_db::encrypted_store: sqlite_version=3.46.1
2025-07-31T13:32:47.142585Z INFO ThreadId(02) xmtp_db::encrypte
@insipx
insipx / Failure
Last active February 4, 2025 22:38
Test
running 1 test
2025-02-04 16:40:22.494: sqlcipher_set_log: set log to stderr
2025-02-04T21:40:22.683259Z DEBUG stream_all_messages: xmtp_mls::subscriptions: stream all messages
2025-02-04T21:40:22.711161Z DEBUG stream_all_messages: xmtp_mls::subscriptions::stream_conversations: Setting up conversation stream cursor = 0
2025-02-04T21:40:22.736603Z DEBUG stream_all_messages: xmtp_mls::subscriptions::stream_messages: setting up messages subscription
2025-02-04T21:40:22.986142Z INFO xmtp_mls::subscriptions::stream_conversations: Trying to process streamed welcome
2025-02-04T21:40:23.064992Z DEBUG xmtp_mls::subscriptions::stream_conversations: finished processing with group a64d959f7e44c20e9491813d7a7a3157
2025-02-04T21:40:23.065016Z DEBUG xmtp_mls::subscriptions::stream_messages: begin establishing new message stream to include group_id=a64d959f7e44c20e9491813d7a7a3157
2025-02-04T21:40:23.091025Z DEBUG xmtp_mls::subscriptions::stream_messages: added group_id=a64d959f7e44c20e9491813d7a7a3157 at cursor=1 to messag
font-family = "Berkeley Mono"
theme = catppuccin-mocha
font-size = 16
keybind = ctrl+space>shift+-=new_split:down
keybind = ctrl+space>shift+\=new_split:right
keybind = ctrl+space>h=goto_split:left
keybind = ctrl+space>j=goto_split:bottom
keybind = ctrl+space>k=goto_split:top
keybind = ctrl+space>l=goto_split:right

Modular Gateway


  • Problem:
    • Need to build Resolver, Inbox and L2 Node services but provide a consistent API for libXMTP that is quickly iterable on both ends (Gateways and libxmtp)
  • Need:
    • Easy to create more than one gateway
title
description
authors
categories
created
updated
version
@insipx
insipx / launch_para.sh
Created August 16, 2023 14:42
Run Chains
#!/bin/bash
FOLDER=$1
if [ -e "/tmp/parachain" ]; then
rm -rf /tmp/parachain
fi
RELAY_PEER_ID=$(curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "system_localPeerId"}' http://localhost:9941 | jq -r '.result') || exit 1;
$FOLDER/target/release/efinity --alice \