Betwewn those 4790k and 6700k, there's actually not much difference. You won't go wrong with both in terms of future proofung
The difference is is in the platform. Z97 vs Z170. The Z170 has new features such as DDR4 support/ more Pcie 3.0 lanes etc.
You can't go wrong with both