I have an extrinsic with multiple calls to other pallet functions. As it calls other internal functions, more than one of them access the same storage value (either an actual
StorageValue or the same key in a
Will this add to the total weight of the extrinsic, i.e., is there an additional cost to reading a storage value more than once? Should I refactor my code to read the storage value once and pass it around to avoid re-reading it?