Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ 馃捇 Clarity VM ] Define and implement interface for cross-contract calls #3

Closed
obycode opened this issue Aug 4, 2023 · 4 comments

Comments

@obycode
Copy link
Collaborator

obycode commented Aug 4, 2023

What does the interface look like when one contract calls another? Think about efficiency. This might require importing host functionality like #2, or we may be able to load all of the dependencies and link them together. Clarinet could be a good place to prototype this.

@will-corcoran will-corcoran changed the title Define and implement interface for cross-contract calls [ 馃捇 Clarity VM ] Define and implement interface for cross-contract calls Aug 5, 2023
@obycode
Copy link
Collaborator Author

obycode commented Oct 13, 2023

#116 implements static contract calls. Dynamic contract calls (with traits) are still to be implemented.

@obycode
Copy link
Collaborator Author

obycode commented Oct 13, 2023

There is also remaining work to do on static calls to perform all of the proper checks. The PR was getting large, so I left that work for later. I will switch to print from #64, then come back to this later.

@obycode
Copy link
Collaborator Author

obycode commented Nov 5, 2023

Dynamic contract calls are fixed in #154.

@obycode
Copy link
Collaborator Author

obycode commented Dec 18, 2023

Done!

@obycode obycode closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant