States don't get to vote on treaties.
If they violate the constitution, the only way they could take effect is through an ammendment... which would require 2/3 of the states