Both are wrong.
The Eighth Amendment is purposely open-ended, meaning it applies to all entities of the U.S.—federal, state, or local. This is in direct contrast to the First Amendment that specifically applies solely to Congress.
The much-misapplied Fourteenth Amendment has nothing to do with it and never did.