madara
madara copied to clipboard
dev: update correct UDC class hash in genesis config
Problem Description
Current the Universal Deployer Contract with contract address - 0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf
has a class hash which is taken from starkscan here
This classhash isn't generated by us and might affect madara when we connect with other tools where this value needs to be consistent.
Your mission is to generate this class hash from starknet cli using the same compiler version with which this contract has been compiled and update this in the genesis.json and anywhere in the rust code and docs where this value seems to be hardcoded.
So generate a new contract instance with the class hash?
I think you can just recompile and get the class hash. New instance shouldn't be necessary but yea that works too! Make sure you use starknet-cli version 10.0 to do this otherwise you will get different class hash
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!
#951 should also fix this one
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!
repository archived in favor of https://github.com/madara-alliance/madara