From f7f399236b09536683dcfacfcbfd02839acaf6a5 Mon Sep 17 00:00:00 2001 From: Daniel Olano Date: Sun, 20 Mar 2022 12:51:18 +0100 Subject: [PATCH 1/2] Generic Transact Using a well known identifiers to dispatch the calls instead of the relying on the pallet and extrinsic index --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5be902c..e079e5f 100644 --- a/README.md +++ b/README.md @@ -330,7 +330,8 @@ Operands: - `origin_type: OriginKind`: The means of expressing the message origin as a dispatch origin. - `max_weight: Weight`: The maximum amount of weight to expend while dispatching `call`. If dispatch requires more weight then an error will be thrown. If dispatch requires less weight, then Surplus Weight Register may increase. -- `call: Vec`: The encoded transaction to be applied. +- `call: ([u8; 32], Vec Date: Sun, 20 Mar 2022 13:08:23 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e079e5f..1a32141 100644 --- a/README.md +++ b/README.md @@ -330,7 +330,7 @@ Operands: - `origin_type: OriginKind`: The means of expressing the message origin as a dispatch origin. - `max_weight: Weight`: The maximum amount of weight to expend while dispatching `call`. If dispatch requires more weight then an error will be thrown. If dispatch requires less weight, then Surplus Weight Register may increase. -- `call: ([u8; 32], Vec)`: A well known interface identifier and the encoded body of the transaction to be applied. - `index: u8`: A disambiguation index in case the call can be dispatched by more than one subsystem. Kind: *Instruction*.