-
Notifications
You must be signed in to change notification settings - Fork 122
feat(wasm): add binding for MlsGroup.store_pending_proposal() #1710
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
base: main
Are you sure you want to change the base?
Conversation
446b671 to
4932da1
Compare
|
I'm determined to implement this, but I need a little guidance. openmls/openmls/src/treesync/node/leaf_node.rs Lines 167 to 169 in 1c8b594
Adding a openmls/openmls/src/messages/proposals_in.rs Lines 303 to 320 in 1c8b594
But this would only be a workaround and add quite a lot of code. Any recommendation on how to move this forward @keks? |
4932da1 to
8547005
Compare
|
Hm, yeah I see the problem here. I am not sure adding a One option I see would be using serde instead of the tls_codec for de/serialization. The types implement both Do you think that would work or am I missing something? Would that unblock you? I hope this isn't too frustrating, the whole bindings were sort of cobbled together for a proof of concept, that's also why all the docs are missing. And finally, thank you for the contributions! |
We'd have to add a way to (de)serialize serde to binary.
Don't worry, I'd say I'm familiar enough by now to be able to work with it just fine.
You're welcome and thanks for your help 🙂 |
As discussed with @keks in #1708, this PR is adding a binding for
MlsGroup.store_pending_proposals(). We need to serialize/deserializeQueuedProposalso it can be passed in/out of wasm.