Skip to content

Add operator param when invoking the upgrade function #10

@brozorec

Description

@brozorec

If one follows the framework defined in our library (here and here), the upgrade function has an additional param operator which should be, in most of the cases, the source account.

Add —operator which should be the same source account or can be overridden:
stellar contract invoke --id CBK.......BK4E --source alice --network testnet -- upgrade --new_wasm_hash ae9b.......6b89 --operator alice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions