Questions about wash sale

1st question:

In 2021, I have about 20000$ wash-sale (I sold stocks with loss and then bought these stocks back within a month). If I sold these stocks (which triggered wash-sale in 2021) in the future and didn't trigger the wash sale, will the cost basis be the original purchase price or the price I bought in the wash-sale (suppose I originally bought these stock with a cost of 30K; sold these stocks for 20K; and then bought back these stocks for 21K which triggered the wash sale; if I finally sold these stocks, will the cost basis be 30K or 21K?)? How will these information reflected in my tax document obtained from Robinhood (Do I need to manually figure these information out?)?

 

2nd question:

I heard each year the upper limit of capital loss is 3000$. If I lost 20000$ in 2021 and claimed 3000$ capital loss, can I claim the other 17000$ in future years? Will Turbotax remember this information and load this information automatically for me? Or I need to find this information manually from previous years tax return?

Is there a year limit on how long this roll over of capital loss can be?