You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new universal deployer contract is a completely different implementation that uses Poseidon hash instead of Pedersen. So no, we should not change this.
Whether we should support the new deployer contract is another question. I don't really see the point though? It does the same thing as the old one as is probably not widely deployed. I mean on the other hand the old one's address is pretty much hard-coded to every single piece of tooling in the ecosystem.
Currently starknet.rs uses
deployContract
(camelCase):starknet-rs/starknet-contract/src/factory.rs
Lines 15 to 16 in 36ec1d6
OpenZeppelin has been using
deploy_contract
(snake_case) as the UDC method name since v0.11.0:https://github.com/OpenZeppelin/cairo-contracts/blob/a83f36b23f1af6e160288962be4a2701c3ecbcda/src/presets/universal_deployer.cairo#L38
Should someone change something?
The text was updated successfully, but these errors were encountered: