Skip to content

[OdraCLI] Cant use getters in deploy script. #609

@zie1ony

Description

@zie1ony

I tried to mix deploying contracts and configuring them if they were not configured.

let mut contract = load_or_deploy()
if contract.get_config().is_none() {
    contract.set_config(cfg)
}

But this hangs on get_config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 Discuss

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions