Fix typos and add GH action that checks them (#311)

* add typos workflow

* fix existing typos

* fix
This commit is contained in:
Gustavo Gonzalez
2024-09-12 09:05:48 -04:00
committed by GitHub
parent 42470b2784
commit a4c6cee4c6
11 changed files with 27 additions and 14 deletions
@@ -52,7 +52,7 @@ The result is equivalent to the dispatched result if the threshold is exactly
TIP: If this is the final approval, you will want to use `as_multi` instead. `approve_as_multi` wont trigger the dispatch, even if there are enough approvals.
The reason is: `as_multi` needs `call` parameter, whereas `approve_as_mutli` needs `call_hash`. `call_hash` is enough to find the multisig operation entry in the storage, and increment the vote count. We dont need the `call` itself to increment the vote count. Whereas, if `call` is supplied, and if we have enough approvals, the logic for execution will be triggered. This is a design choice.
The reason is: `as_multi` needs `call` parameter, whereas `approve_as_multi` needs `call_hash`. `call_hash` is enough to find the multisig operation entry in the storage, and increment the vote count. We dont need the `call` itself to increment the vote count. Whereas, if `call` is supplied, and if we have enough approvals, the logic for execution will be triggered. This is a design choice.
**Params:**