The secession documents all refer to the north as non-slave states, and the south as slave states. Slavery absolutely was the issue of the war. The Corwin Amendment backs this up. Lincoln didn't really promise to get it passed, he just acknowledged its existence.