I’m currently looking at DAML efficiency and storage calculations, and I got around to thinking about the inputs to a choice versus the outputs.
Say, for example, I have a choice that takes in a list, and I exercise that choice with a list containing 1k elements, but the choice logic does
lookupByKey using those elements, finding 10 contracts to be archived and updated.
Will the list with 1k entries be stored as part of the transaction, dramatically increasing the transaction size on ledger? I thought the answer would be no, but I’m getting an odd transaction size for one of my workflows so I wanted to double check. And will all 1k lookups affect the transaction size, or just the 10 that produced a result?
Thanks in advance!