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

Remove automatic call to init function during contract deployment #22

Merged
merged 7 commits into from
Aug 15, 2024

Conversation

bbyalcinkaya
Copy link
Member

@bbyalcinkaya bbyalcinkaya commented Aug 7, 2024

In the initial implementation, the deployContract command automatically called an init function with provided arguments upon deployment. However, in Soroban, there is no concept of init/constructor functions. Instead, the user is responsible for calling the initialization function after deployment.

This PR removes the contract call to init in deployContract.

@bbyalcinkaya bbyalcinkaya marked this pull request as ready for review August 7, 2024 08:46
@rv-jenkins rv-jenkins merged commit d73500d into master Aug 15, 2024
3 checks passed
@rv-jenkins rv-jenkins deleted the no-init branch August 15, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants