diff --git a/bridges/snowbridge/pallets/system-v2/src/lib.rs b/bridges/snowbridge/pallets/system-v2/src/lib.rs index 8bea47deb7caa..dbbabb90b7ec3 100644 --- a/bridges/snowbridge/pallets/system-v2/src/lib.rs +++ b/bridges/snowbridge/pallets/system-v2/src/lib.rs @@ -125,7 +125,7 @@ pub mod pallet { /// - `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. - #[pallet::call_index(3)] + #[pallet::call_index(0)] #[pallet::weight((::WeightInfo::upgrade(), DispatchClass::Operational))] pub fn upgrade( origin: OriginFor, @@ -159,7 +159,7 @@ pub mod pallet { /// Fee required: No /// /// - `origin`: Must be `GovernanceOrigin` - #[pallet::call_index(4)] + #[pallet::call_index(1)] #[pallet::weight((::WeightInfo::set_operating_mode(), DispatchClass::Operational))] pub fn set_operating_mode(origin: OriginFor, mode: OperatingMode) -> DispatchResult { let origin_location = T::GovernanceOrigin::ensure_origin(origin)?; @@ -179,7 +179,7 @@ pub mod pallet { /// - `sender`: The original sender initiating the call on AH /// - `asset_id`: Location of the asset (relative to this chain) /// - `metadata`: Metadata to include in the instantiated ERC20 contract on Ethereum - #[pallet::call_index(0)] + #[pallet::call_index(2)] #[pallet::weight(::WeightInfo::register_token())] pub fn register_token( origin: OriginFor,