Did we really discover pain in insects? Maybe... but we can't be sure they feel it like we do
Studies have shown insects can detect negative stimuli that we would register as pain, but we can't assume that's the same as feeling pain.
Source: skeptic.org.uk