gains on inherited roth

I inherited a Roth IRA which was opened 20+ years ago from a non spouse.  The account contains 1 security, and the rest is cash.  For simplicity, lets say the original account contained $10k cash, which I've since placed into an "inherited ROTH" account.   I'm aware that I won't pay tax on the current $10k if I were to take a lump sum today, but what if I were to buy and sell securities at this point (post death of the original account owner)? Are the post death securities transactions taxable? For example, suppose tomorrow I took the entire $10k and bought a security, then 9 years from now (I fall under the 10 year rule) the $10k had grown to $25k.  Would the $15k be tax free or will it be considered income to me since the original account owner wasn't the one that purchased / sold the securities that made the gains?