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

Unable to deploy contracts having multiple-line init params #223

Open
SnowyField1906 opened this issue Jul 27, 2023 · 0 comments
Open

Unable to deploy contracts having multiple-line init params #223

SnowyField1906 opened this issue Jul 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SnowyField1906
Copy link

SnowyField1906 commented Jul 27, 2023

Problem

when deploying contracts which have init params with deployContract or deployContractByName
it will throws Error: Type Error: type is not a string if the params are multiple-line like this:

init(
   a: Int,
   b: Int
 )

but it still works with single-line params like this:

init(a: Int, b: Int)
@SnowyField1906 SnowyField1906 added the bug Something isn't working label Jul 27, 2023
@SnowyField1906 SnowyField1906 changed the title Unable to deploy contract with multiple-line init params Unable to deploy contracts having multiple-line init params Jul 27, 2023
@MaxStalker MaxStalker self-assigned this Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants