-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: Adds AllowGroup and DenyGroup messages #146
Conversation
repeated string wallet_addresses = 1; | ||
// Add the given group_ids to the block list | ||
repeated string group_ids = 2; |
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.
I think we are going to want a separate action for these, rather than a second field in the existing action. Otherwise you could specify both in the same action, which is confusing.
We can safely rename the existing type names to something like AllowDM
for clarity (although all our SDKs will have to update their import statements)
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.
Sure. I updated to pull out AllowGroup
and BlockGroup
DenyGroup
into their own message types.
and renamed Allow
to AllowDM
and Block
to BlockDM
DenyDM
. I'll update the SDK side next.
// Grant Group access | ||
message AllowGroup { | ||
// Add the given group_ids to the allow list | ||
repeated string group_ids = 2; |
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.
group_ids
should repeated bytes
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.
We've opted for group_id
to be treated as bytes everywhere
2efa639
to
dd3e754
Compare
🎉 This PR is included in version 3.43.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Allow
toAllowAddress
Block
toDenAddress
AllowGroup
message typeDenyGroup
message type