Same as [Pallet::create_offence], but it reports the offence directly to a
[Config::ReportOffence], aka pallet-offences first.
This is useful for more accurate testing of the e2e offence processing pipeline, as it
won't skip the pallet-offences step.
It generates an offence of type [TestSpamOffence], with cas a fixed ID, but can have
any time_slot, session_index``, and slash_fraction. These values are the inputs of transaction, int the same order, with an IdentiticationTuple` coming first.
Same as [
Pallet::create_offence], but it reports the offence directly to a [Config::ReportOffence], aka pallet-offences first.This is useful for more accurate testing of the e2e offence processing pipeline, as it won't skip the
pallet-offencesstep.It generates an offence of type [
TestSpamOffence], with cas a fixedID, but can have anytime_slot,session_index``, andslash_fraction. These values are the inputs of transaction, int the same order, with anIdentiticationTuple` coming first.