You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated canister will look something like this:
// Create variables for each init param letinitParam0;letinitParam1;exportdefaultCanister{init: ([bool,text],(param0)=>{// check that they are the right order/length// store the params in the global variables initParam0=param0;initParam1=param1;}),// create a method to retrieve the stored valuesgetInitValues: query([],Tuple(bool,text),()=>{return[initParam0,initParam1]})}
The Tests should also run with 0-20 query and update methods.
You'll also need to figure out how to pass params to the deploy command.
Subtasks
Support an init method with 0 parameters
Support multiple params passed across the CLI to dfx deploy
Update CandidValueAndMeta, combining agentArgumentValue, agentResponseValue into a new values object
Add a CandidTypeObject to the new values object in CandidValueAndMeta
Collect the params and call valueToString and pass them to dfx deploy
Figure out what's wrong with float32s and get seeds -2020534984 and -210693065 to pass.
The text was updated successfully, but these errors were encountered:
The generated canister will look something like this:
The Tests should also run with 0-20 query and update methods.
You'll also need to figure out how to pass params to the deploy command.
Subtasks
init
method with 0 parameters-2020534984
and-210693065
to pass.The text was updated successfully, but these errors were encountered: