mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Use explicit call indices (#6449)
* cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use explicit call indices Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
b9a55985bd
commit
d387338fb0
@@ -305,6 +305,7 @@ pub mod pallet {
|
||||
///
|
||||
/// Total Complexity: O(1)
|
||||
/// </weight>
|
||||
#[pallet::call_index(0)]
|
||||
#[pallet::weight(T::WeightInfo::claim())]
|
||||
pub fn claim(
|
||||
origin: OriginFor<T>,
|
||||
@@ -337,6 +338,7 @@ pub mod pallet {
|
||||
///
|
||||
/// Total Complexity: O(1)
|
||||
/// </weight>
|
||||
#[pallet::call_index(1)]
|
||||
#[pallet::weight(T::WeightInfo::mint_claim())]
|
||||
pub fn mint_claim(
|
||||
origin: OriginFor<T>,
|
||||
@@ -384,6 +386,7 @@ pub mod pallet {
|
||||
///
|
||||
/// Total Complexity: O(1)
|
||||
/// </weight>
|
||||
#[pallet::call_index(2)]
|
||||
#[pallet::weight(T::WeightInfo::claim_attest())]
|
||||
pub fn claim_attest(
|
||||
origin: OriginFor<T>,
|
||||
@@ -420,6 +423,7 @@ pub mod pallet {
|
||||
///
|
||||
/// Total Complexity: O(1)
|
||||
/// </weight>
|
||||
#[pallet::call_index(3)]
|
||||
#[pallet::weight((
|
||||
T::WeightInfo::attest(),
|
||||
DispatchClass::Normal,
|
||||
@@ -436,6 +440,7 @@ pub mod pallet {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[pallet::call_index(4)]
|
||||
#[pallet::weight(T::WeightInfo::move_claim())]
|
||||
pub fn move_claim(
|
||||
origin: OriginFor<T>,
|
||||
|
||||
Reference in New Issue
Block a user