Skip to content

UDC: Contract deployment selector mismatch #610

@FabijanC

Description

@FabijanC

Currently starknet.rs uses deployContract (camelCase):

/// Selector for entrypoint `deployContract`.
const SELECTOR_DEPLOYCONTRACT: Felt = Felt::from_raw([

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions