Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(katana): use the exact same UDC class as Starknet (#2949)
The UDC class that is currently being used hash a class hash of `0x035e13e8852c6fc49a9d87f9448079f69d6dae1795fe64e8a737eab8fd24dcb0` while the one that Starknet is officially using has the class hash of [`0x07b3e05f48f0c69e4a65ce5e076a66271a527aff2c34ce1083ec6e1526997a69`](https://voyager.online/class/0x07b3e05f48f0c69e4a65ce5e076a66271a527aff2c34ce1083ec6e1526997a69). The updated UDC class is exactly the same as the one used by Starknet therefore will result in the same class hash when it is computed. It is not an issue currently because we're hardcoding the class hash ourselves when it is inserted in the genesis. But we're moving away from allowing hardcoded class hash to maintain correctness. The reason why we want to use the same version is to maintain compatibility and predictability across libs. --- This doesn't introduce any breaking changes as the hardcoded class hash is the correct one for the new class.
- Loading branch information