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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing args to the contract's init function #84

Merged
merged 2 commits into from
Sep 16, 2024
Merged

Conversation

virgil-serbanuta
Copy link
Member

@virgil-serbanuta virgil-serbanuta commented Sep 13, 2024

Fixes #57
Fixes #55

@virgil-serbanuta virgil-serbanuta merged commit 2571d71 into main Sep 16, 2024
1 check passed
@virgil-serbanuta virgil-serbanuta deleted the init-args branch September 16, 2024 08:49
ACassimiro added a commit that referenced this pull request Sep 16, 2024
* Allow passing args to the contract's init function

* Contract call tests

Co-authored-by: Virgil <[email protected]>
ACassimiro added a commit that referenced this pull request Sep 24, 2024
* Allow passing args to the contract's init function (#84) (#87)

* Allow passing args to the contract's init function

* Contract call tests

Co-authored-by: Virgil <[email protected]>

* First implementation of for loops and implementing initial test

* Fixing int operations not working for variables and introducing first draft of for loops

* Adding test functions and corner case rule

* Adding tests and correcting scope

* Fixing range pattern definition working only for integer literals

* Removing wrong unnecessary definition and for loops with multiple patterns

* Removing empty spaces

* Removing unnecessary variable creation

* Properly handling the range expression for loops

* changing function name and enabling different integer types on for loops

* Addressing review

* Organizing the rules and addressing review

* Add missing token

* Removing return from stack on tests

---------

Co-authored-by: Virgil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mx - Contract creation - Rust + Mx Mx - Endpoints - Rust + Mx
2 participants