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
Hello,
I'm using typescript for create a script, and if I'm going to declare an array of parameters for an Atomic Transaction, so composed by heterogeneous types I need to specify any as type for the array, if I don't specify anything, it returns the following error.
Expected Behavior
Should works without any type assigned
Current Behavior
Possible Solution
Steps to Reproduce
Environment
OS: iOS 11.4
Node.js version: 14.17.0
algob version: 1.1.0
The text was updated successfully, but these errors were encountered:
Hi
could you please try with const atomicTransaction: rtypes.ExecParams[] type ?
you can import it using import { rtypes } from '@algorand-builder/runtime';.
Hi
could you please try with const atomicTransaction: rtypes.ExecParams[] type ?
you can import it using import { rtypes } from '@algorand-builder/runtime';.
Hi, now it works, but I've another problem on changing the "fromAccount" in the lines below, because the property fromAccount doesn't exist in ExecParams. I changed it in 'fromAccountAddr = bob.addr;'
Describe the bug
Hello,
I'm using typescript for create a script, and if I'm going to declare an array of parameters for an Atomic Transaction, so composed by heterogeneous types I need to specify any as type for the array, if I don't specify anything, it returns the following error.
Expected Behavior
Should works without any type assigned
Current Behavior
Possible Solution
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: