Subject: Re: The 2A is obsolete
They [the states] have transferred some of their sovereign power to the federal government and have subordinated themselves via the Supremacy Clause - but in areas where the federal government has not exercised its power (or where it doesn't have power), the States are the final and supreme sovereign.

Ok, so in short: the states can do what they want as long as it doesn't violate federal law.