Replaces the class hash of the current contract, instantly modifying its entrypoints.
The new class becomes effective only after the current function call completes.
The remaining code in the current function will continue executing from the old class.
The new class will be used:
In subsequent transactions
If the contract is called via call_contract syscall later in the same transaction