Cook the beans in boiling salted water for 5 minutes, then drain and refresh under cold running water.
Heat the oil in a saucepan, add the curry paste and ginger and fry gently until the oil separates out. Tip in the pork and stock, bring to the boil, then simmer for 5 minutes.
Add the fish sauce, sugar, coconut milk, palm hearts, lime zest and juice and simmer for a further 5 minutes, adding the beans halfway through. Throw in the basil and coriander and serve with rice noodles.