An earmark is only corrupt if it is bought--that is, if a citizen or company bribes the member of Congress to steer an earmark to them.
When earmarks were killed, there was actually little evidence that was happening. Earmarks were killed as a talking point about reducing spending. Which is silly, because earmarks allocated funds, they didn't appropriate them. That is, they typically divvied up the pot, not increased its size.
It's sort of like the debt limit. Politicians lie to people about things work, in order to attract votes. I don't know if that's corruption so much as cynical opportunism.
Only in theory. In practice, they are 1:1 - You initiate pork A here, I help you add pork B there. You own pork B company, I own pork A. We both win money, forget the constituents.
How about less gerrymandering? It results in more extreme candidates on both sides (as you get much more "pure" blue/red districts and fewer purple).
To wit, Merrick Garland would like a word.
As an aside, I happen to think that there is an important difference between "bipartisan" and "deal-making," and the latter is really where it's at in governance. Earmarks are tools for deal-making.
Framing things as "both sides" inappropriately elevates the 2 major political parties as a central feature of our system of government. They're not; in fact the largest political affiliation in the U.S. today is "indepdendent"!
And on any serious legislation, there are typically more than two "sides" with an interest in a particular outcome. That's why making deals is so important.
It sounds like I'm advocating corruption, and I kind of am. But at the same time, earmarks served the purpose of providing a good reason for parties to work together, across the aisle. If a little bit of corruption accomplishes that higher purpose, I'm glad to have it.