Heat the olive oil in a large pot over medium heat. Add the onion and cook until it softens.
Stir in the garlic, chipotle peppers, cumin, and chili powder. Cook for one minute until fragrant.
Pour in the diced tomatoes and vegetable broth. Bring the mixture to a simmer.
Add the chickpeas, pinto beans, and corn. Season with salt and pepper.
Simmer uncovered for 20 minutes, stirring occasionally, until the stew thickens.