In a large skillet or pot, heat the vegetable oil over medium heat.
Add the finely chopped onion and sauté until translucent, about 5 minutes.
Add the minced garlic and grated ginger, and cook for another minute until fragrant.
Add the chopped green and red bell peppers, and sauté for another 5 minutes until they begin to soften.
Stir in the grated carrots and cook for another 5 minutes.
Stir in the curry powder, ground cumin, ground coriander, smoked paprika, ground turmeric, salt, and black pepper.
Add the chopped tomatoes and cook until they start to break down, about 5 minutes.
Stir in the baked beans in tomato sauce and chopped green chilies (if using).
Mix well to combine all the ingredients.
Let the mixture simmer for about 10-15 minutes, stirring occasionally, until the flavors meld together.
Taste the chakalaka and adjust the seasoning with more salt and black pepper if needed.
Transfer the chakalaka to a serving dish.
Garnish with fresh chopped cilantro or parsley.
Enjoy your meal!