mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
Add pallet names to Events (#10296)
* chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: add pallet names to events * chore: formatted pallet name changes in events * chore: formatted pallet name changes in events * chore: formatted pallet name changes in events * chore: formatted pallet name changes in events * chore: formatted pallet name changes in events * chore: formatted pallet name changes in events * chore: formatted pallet name changes in events * chore: formatted pallet name changes in events * chore: formatted pallet name changes in events * fix: add fix to tests for event variants * chore: modified comments for event variants * chore: modified comments for event variants * chore: modified comments for event variants * chore: modified comments for event variants * chore: modified system pallet event variants * chore: modified system pallet event variants * chore: modified system pallet event variants * chore: modified system pallet event variants * chore: modified system pallet event variants * chore: modified system pallet event variants * chore: modified system pallet event variants * chore: modified system pallet event variants * chore: modified system pallet event variants * chore: updated transaction-storage pallet event variants * chore: updated transaction-storage pallet event variants * chore: formatted contracts pallet * chore: update treasury event variants
This commit is contained in:
@@ -210,7 +210,7 @@ pub mod pallet {
|
||||
});
|
||||
Ok(())
|
||||
})?;
|
||||
Self::deposit_event(Event::Stored(index));
|
||||
Self::deposit_event(Event::Stored { index });
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -251,7 +251,7 @@ pub mod pallet {
|
||||
});
|
||||
Ok(())
|
||||
})?;
|
||||
Self::deposit_event(Event::Renewed(index));
|
||||
Self::deposit_event(Event::Renewed { index });
|
||||
Ok(().into())
|
||||
}
|
||||
|
||||
@@ -313,9 +313,9 @@ pub mod pallet {
|
||||
#[pallet::generate_deposit(pub(super) fn deposit_event)]
|
||||
pub enum Event<T: Config> {
|
||||
/// Stored data under specified index.
|
||||
Stored(u32),
|
||||
Stored { index: u32 },
|
||||
/// Renewed data under specified index.
|
||||
Renewed(u32),
|
||||
Renewed { index: u32 },
|
||||
/// Storage proof was successfully checked.
|
||||
ProofChecked,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user