-
Notifications
You must be signed in to change notification settings - Fork 15
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): implement IBCModule on xCall app #228
feat(javascore): implement IBCModule on xCall app #228
Conversation
74221f6
to
7bcf7aa
Compare
896661e
to
6a3d347
Compare
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 like a good inital draft of XCall that we can start testing with.
Just some minor comments.
contracts/javascore/xcall/src/main/java/foundation/icon/btp/xcall/CallServiceImpl.java
Outdated
Show resolved
Hide resolved
contracts/javascore/xcall/src/main/java/foundation/icon/btp/xcall/CallServiceImpl.java
Outdated
Show resolved
Hide resolved
contracts/javascore/xcall/src/main/java/foundation/icon/btp/xcall/CallServiceImpl.java
Outdated
Show resolved
Hide resolved
contracts/javascore/xcall/src/main/java/foundation/icon/btp/xcall/CallServiceImpl.java
Outdated
Show resolved
Hide resolved
import foundation.icon.score.client.ScoreInterface; | ||
|
||
@ScoreInterface | ||
public interface IMock { |
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.
Is this used anywhere?
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.
Yes it is used create empty MockContract for contract address.
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.
You can use sm.createScoreAccount for this, MockContracts are only useful to mock and verify method calls.
changes as per IIP52 standards set packet timeout to 0
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 👍
* update build.gradle to implement IBC project * update settings.gradle to implement use xCall * move and update xCall service for IBC * add xCall readme * move and update xCall service for IBC * update xCall to support IBC messages on HandleBTPMessage * remove tests for now * feat(javascore): implement IBCModule on xCall app (#228) * feat(javascore): implement IBCModule on xCall app * feat: IIBC-26-javascore-xcall-contract-code-update-review (#286) * remove commented test files * remove commented lines for ```checkService``` * set destinationChannel from counterPartyChannelId * use sequenceNumber from IBCHandler for IBC specific sequence number for IBC Message. * remove order for ```setTimeoutHeight_unauthorized()``` as they are tested on separate deployments * remove order as they are tested on separate deployments --------- Co-authored-by: redlarva <[email protected]> Co-authored-by: Night Owl <[email protected]>
Description:
Commit Message
see the guidelines for commit messages.
Changelog Entry
Checklist: