When allocating an extra space for the current value do not create a redundant input variable to be used in the state update. Rely on the fact that the TappedDelay will be emitted (and the current value stored in the extra space in the array) before the state update is called. Extend the shift logic to use the value stored in the extra space instead of relying on a redundant temporary variable.
When allocating an extra space for the current value do not create a redundant input variable to be used in the state update. Rely on the fact that the TappedDelay will be emitted (and the current value stored in the extra space in the array) before the state update is called. Extend the shift logic to use the value stored in the extra space instead of relying on a redundant temporary variable.