If using dried beans and corn: soak in water overnight, then drain; if using canned beans and corn, skip this step.
Optional advance prep (up to 1 week before): clean and cut the chilli peppers in half or into quarters, then soak them in the 100 ml of oil.
On meal day: peel the 2 cassava tubers and cut into small pieces.
In a pot, bring enough salted water to cover the cassava pieces to a boil, add cassava, and simmer for at least 20 minutes until soft; drain and set aside.
While cassava cooks: peel the 3 sweet potatoes and cut into dice.
Peel the 4 large carrots and cut into dice.
Cut the 8 cabbage leaves into small pieces.
Dice the 1 kg of tomatoes.
Finely chop or press the 3 cloves of garlic.
Cut the 600 g of fish, chicken, or other meat into small pieces.
In a large saucepan, combine the diced sweet potatoes, carrots, cabbage, tomatoes, garlic, and meat; add water (roughly enough to cover most of the vegetables) and salt to taste.
Bring to a boil over high heat, then reduce to medium heat and simmer for 20-30 minutes until the vegetables are tender.
Add the 250 g of corn and 250 g of beans (drained if soaked), stir, and simmer for another 5 minutes to heat through.
In a separate pan over medium-high heat, chop the 2 onions and fry for 5-7 minutes until golden brown.
Add the fried onions and the cooked cassava to the cachupa stew.
Divide into bowls and serve with the chilli-infused oil and piri-piri sauce on the side for guests to add to taste.