adjust signed extension examples

This commit is contained in:
Tadeo hepperle
2024-02-20 18:49:13 +01:00
parent 6f97ca7041
commit d9dac3a190
6 changed files with 22 additions and 14 deletions
@@ -103,6 +103,12 @@ impl<T: Config> DefaultExtrinsicParamsBuilder<T> {
self
}
/// Provide a specific nonce for the submitter of the extrinsic
pub fn nonce(mut self, nonce: u64) -> Self {
self.nonce = Some(nonce);
self
}
/// Provide a tip to the block author using the token denominated by the `asset_id` provided. This
/// is not applicable on chains which don't use the `ChargeAssetTxPayment` signed extension; in this
/// case, no tip will be given.