referrerpolicy=no-referrer-when-downgrade

Function snowbridge_pallet_system::pallet::dispatchables::upgrade

source ·
pub fn upgrade<T: Config>(
    impl_address: H160,
    impl_code_hash: H256,
    initializer: Option<Initializer>,
)
Expand description

Sends command to the Gateway contract to upgrade itself with a new implementation contract

Fee required: No

  • origin: Must be Root.
  • impl_address: The address of the implementation contract.
  • impl_code_hash: The codehash of the implementation contract.
  • initializer: Optionally call an initializer on the implementation contract.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::upgrade.