Alexander Kim
Alexander Kim
How would this look when converted down to Aleo instructions? Would there be a reserved struct name in Leo to be used only for packaging inputs/outputs? And how would it...
This also occurs with `leo deploy` as well. The methods I've found so far that cause this: 1. User has invalid balance 2. User passed in the `--base-fee` option with...
This would be very nice from a readability perspective and for lowering the barrier to entry for newer Leo devs. Two questions/concerns off the top of my head: 1. I'm...
Unfortunately, if you have a `struct` with array fields, then unrolling the conditional for every function call becomes far too expensive ```leo // 72 Edges, 54 Nodes, 19 Tiles struct...
That makes sense. Maybe as a stopgap the compiler could automatically do the dynamic-to-static index conversion mentioned above? I realize it's only pseudo-dynamic and causes a huge blowup in computational...
Agreed. Unfortunately there doesn’t seem to be a good solution possible at the moment. At the very least, mentioning the reasoning and “workaround” in the docs would be a good...
Afaik, both structs and records are represented in the compiler as the Composite type, so there will probably need to be some separation to prevent external records from being initialized...
That makes sense. A couple of notes: - Instead of an error, maybe just an explicit warning message stating that a struct is unused. I think this makes more sense...