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

calls to functions within a contract #3

Open
vd1 opened this issue Mar 27, 2020 · 1 comment
Open

calls to functions within a contract #3

vd1 opened this issue Mar 27, 2020 · 1 comment

Comments

@vd1
Copy link

vd1 commented Mar 27, 2020

It seems that at the moment in a call to a function defined within a contract module, one cannot pass more than one argument:

tx uAlice cA C0.provision (1,true) 

works but not

tx uAlice cA C0.provision 1 true
@adhusson
Copy link
Collaborator

adhusson commented Mar 27, 2020

Yes, multiple arguments should be given as a tuple. I don't know how to let tx accept a varying number of arguments.

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

No branches or pull requests

2 participants