State lawmakers on both sides take credit for economic gains