Yeah, that should left-pad the batch. The shorter sequences should receive zeros.
As far as what would happen with the hidden state, I’m having a hard time visualizing it without actually playing with it. If I were you, I’d probably just try to run a single batch through a test RNN layer and see what comes out the other side.