-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MLS CLI #338
MLS CLI #338
Conversation
@@ -1,10 +1,6 @@ | |||
FROM ghcr.io/xmtp/rust:latest | |||
USER xmtp | |||
|
|||
RUN ~xmtp/.cargo/bin/rustup toolchain install stable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These components are already in the base image, so we don't need to install them again. For some reason the re-install is failing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems related to this issue (same error). Dockerignoring the rust-toolchain.toml
file does avoid the issue, at the cost of forcing us to use the rust toolchain from the base docker file instead of the one specified in the rust-toolchain.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jac18281828 might be able to help, maybe because of some updates?
Looks good! It works, but i'm not able to
|
@insipx I'm going to merge a few changes from the demo branch into this one (including adding a bunch more syncing before doing operations) to avoid situations like the one you ran into. |
@insipx try now. The issue above should be fixed. The logs will be pretty noisy until the topic syncing PR goes in, since it still tries to reprocess all old messages every time. |
hello, i'm at
that left me with some lifetime errors for libxmtp/xmtp/src/codecs/text.rs Line 8 in 6c05ffa
&'static ... finally, i'm down to privacy errors in cli-client.rs, e.g., libxmtp/examples/cli/cli-client.rs Line 291 in 6c05ffa
libxmtp/xmtp_mls/src/client.rs Line 310 in 6c05ffa
pub(crate) upgrade to pub of course did the trick.last trip-up was a clippy error in
i can push a PR if you want. |
Thanks for pointing those out @boneyard93501. I have a PR up that restores a missing Github workflow, which should have brought them to our attention sooner. It also should fix the issues listed above. |
Summary
Updates the existing CLI example to work with MLS. Supported actions are:
In order to support the Add Group Member command, I also added the ability to add members by wallet address to the
MlsGroup
struct.TODO