That's why i added "original spell" to the wording (While wielding a bonded weapon, you can replace any spell attack roll with a weapon attack roll, if the target is within range of both the original spell and the weapon), meaning to use the range of the spell as it is BEFORE it is reduced to touch. It should work, maybe i have to polish the wording a bit.
Hahaha, sorry, English is not my native language^^
That's right, that's why I wasn't able to sleep well tonight thinking about this XD. I think I will temporarily fix it by writing a special cantrip (the most eligible name at the moment is Eldritch Shot), same as Eldritch Blast but with a d6 or a d8 instead of the d10. Anyway, I don't want to build the subclass around a single cantrip or spell, so I want to see if I can come up with an alternative.