Conversation
… in channel nonce order Similar to how account nonce is handled, this commit utilzed the tx pool processing queue to ensure xdm will be executed one by one in the channel nonce order, and remove the need needness of our hand-crafted processing queue. Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
Message weight tag is used to indicate the consume weight when handling the message Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
…rging to pre_dispatch_relay_message The xdm payload check should be check earlier in validate_unsigned while the inbox fee charging should only take once thus need to be inside pre_dispatch Signed-off-by: linning <linningde25@gmail.com>
vedhavyas
left a comment
There was a problem hiding this comment.
Overall make sense. Good work. Having said that, commits are not self contianed in the sense each commit should not give any compile time errors. First commit I believe is not compilable since the changes are introduced in second. Please add TODOs when the the change is temporary within the PR. This makes it easier to track.
Sorry for the inconvenience here, I'm constructing these commits after all development is finished thus may forget some changes or pick the wrong changes into a commit, I will pay attention next time. |
Signed-off-by: linning <linningde25@gmail.com>
vedhavyas
left a comment
There was a problem hiding this comment.
Minor nits. Good to merge after 👍🏼
close #1472
This PR implement #1472, it contains changes of:
Code contributor checklist: