should I try formula?

Baby is only 8 weeks old. We have done good with breastfeeding since day one. The problem is since week 2 we have been dealing with bad gas. I have been on Dr. Sears elimination diet for 10 days. Since my change in diet we don't have random screaming wake ups from her gas 🙌. But while I thought things were getting better, around day 6 of the diet she started nursing constantly. Every 1-2 hours. Even at night. I thought maybe my milk supply dropped, but she didn't have any drops in output, except she went from pooping at every feeding to about 3-4 times a day. Now it's not only the constant feedings but also she will not lay in her rock and play without constant grunting and squirming (this is where she sleeps)
I can't help but think this has to do with her gas and therefore my milk. Do I try formula to see if it makes her feel better?