There are laws and penalties for faithless electors.
These are all state stuff without bearing on the Constitution.