I saw two different derivations of $E[\hat{\beta}] = \beta$, and they don't appear to be equivalent to me.
Method 1 (from https://www.youtube.com/watch?v=T5kjKqkCvHc)
Method 2 (from https://www.statlect.com/fundamentals-of-statistics/Gauss-Markov-theorem#hid2, under "OLS is linear and unbiased", click on the "Proof")
The latter method first computes $E[\hat{\beta}|X] = \beta$, and then use the law of iterated expectations to obtain $E[\hat{\beta}] = \beta$. The former directly computes this without conditioning on $X$. Are these 2 different ways to arrive at the same answer, or is one of the methods arriving at the right answer using incorrect logic?
Correct me if I'm wrong, but it looks like the latter uses $E[\epsilon |X] = 0$ whereas the former uses $E[\epsilon] = 0$. Why do we need to condition on $X$ in the former case? That doesn't seem to be an assumption made by the gauss-markov theorem.