-
Notifications
You must be signed in to change notification settings - Fork 32
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: add possibility for unordered ica channels #ntrn-376 #160
Conversation
fd2f5c4
to
f2faefb
Compare
f2faefb
to
d3b24c5
Compare
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)] | ||
#[serde(rename_all = "SCREAMING_SNAKE_CASE")] | ||
pub enum ChannelOrdering { | ||
None, |
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 like it should be ORDER_NONE_UNSPECIFIED
and if you set Ordering to None
variant you get the error https://github.com/neutron-org/neutron/blob/b3a0f5d2a31d37a8ac91e81308762f8fc39ea4f3/wasmbinding/message_plugin.go#L877 because there is no NONE
in a values map.
The base branch was changed.
https://hadronlabs.atlassian.net/browse/NTRN-376
Now ICA accounts can be with unordered channels.
They do not close after timeout. And messages be delivered in random order.
PR's: