What are these things?

What are these things?

I've been eating my weight in them in Peru and Bolivia but have no idea what they're called.

chestnuts?

No.

They look like beans but taste like nuts. They're always fried (sometimes skin off, sometimes on) and they seem to have no shelf life (if they're not fresh from some lady on the street they're inedible garbage).

...

looks like brazil nuts to me

Yes, those are chestnuts, you dingus.

Hey absolutely are not. They're flat and bean shaped.

Also nothing like Brazil nuts.

What's the size? Looks a bit like Portuguese tremocos

Fava beans

This, in México they're called habas but they're the same