-
Notifications
You must be signed in to change notification settings - Fork 9
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: javascore dapp new message type #248
feat: javascore dapp new message type #248
Conversation
…/javascore-dapp-new-message-type
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## development/177-xcall-future-proof-messaging #248 +/- ##
===============================================================================
Coverage 69.33% 69.33%
Complexity 64 64
===============================================================================
Files 40 40
Lines 2195 2195
Branches 24 24
===============================================================================
Hits 1522 1522
Misses 663 663
Partials 10 10
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Looks good.
But also implement response: #245 (review)
|
||
if (new String(_data).equals("reply-response")) { | ||
// response message | ||
_sendCallMessage(Context.getValue(), _from, new byte[] { 1, 2, 3 }, null); |
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.
User BigInteger.ZERO instead of Context.getValue. Just so it clear that it is supposed to be free
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.
Looks good
7b50c81
into
development/177-xcall-future-proof-messaging
* feat: new Message type added in javascore * feat: new Message type added in javascore dapp * fix: unallowed method removed * feat: sendMessageAny added in javascore * fix: message type added in dapp * feat: add response ability * fix: set response value sent zero
Description:
Commit Message
feat: javascore dapp new message type
see the guidelines for commit messages.
Changelog Entry
Checklist: