-
Notifications
You must be signed in to change notification settings - Fork 14
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 interface validation method for dynamic link functions #245
Conversation
f1952a9
to
64c9263
Compare
64c9263
to
dea61a1
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.
@loloicci, the method that currently implemented interface detection function in this dynamic link is not rustLang specialized, is it? In other words, if smart contract can be developed in other development languages, it can be linked, right?
Exactry, yes. |
As for the design, LGTM |
This PR upgrade Rust to 1.57.0 in some part of CI. When CI uses rust 1.51, error: linking with `cc` failed: exit code: 1 is caused in mac OS v12.
e7278ae
to
045ac42
Compare
It looks good, but this PR is only for interface validation. So I will leave it on another issue. |
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.
How can I check the code coverage?
now we do not have features to check code coverage... |
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.
LGTM
Could you add codecov checking as CI later? |
Description
Add
validate_dynamic_link_interface
todeps.api
.contracts/dynamic-caller-contract/src/contract.rs is an example of how to use this.
Types of changes
Checklist