- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
title | description | authors | categories | created | updated | version |
---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RELAY_PEER_ID=$(curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "system_localPeerId"}' http://localhost:9955 | jq -r '.result') | |
./target/release/matrix --alice \ | |
--force-authoring \ | |
--collator \ | |
--chain ./realdata-efinity.dev.json \ | |
--base-path /tmp/parachain/alice \ | |
--port 40446 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "Dev Env"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | |
utils.url = "github:numtide/flake-utils"; | |
fenix = { | |
url = "github:nix-community/fenix"; | |
# The `follows` keyword in inputs is used for inheritance. | |
# Here, `inputs.nixpkgs` of sops-nix is kept consistent with the `inputs.nixpkgs` of |
NewerOlder