The Marvel Cinematic Universe has been going strong since 2008’s Iron Man, and Jon Favreau has been there through it all. Favreau has worn a ton of hats within the shared universe, directing the first two Iron Man movies, acting onscreen as Happy Hogan, and serving as a producer on a variety of projects. This includes Avengers: Endgame and the rest of the Avengers movies.
Article source: https://www.cinemablend.com/news/2476084/jon-favreau-produced-endgame-but-admits-he-didnt-know-what-was-going-on