Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bee344 committed Aug 18, 2023
1 parent 3831ff4 commit 71a9f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Example usage for the package can be found in Sidecar's
and Sidecar's [block service](https://github.com/paritytech/substrate-api-sidecar/blob/master/src/services/blocks/BlocksService.ts).

### calc_partial_fee
Tool to calculate an extrinsics `partial_fee` (ie the total fee minus any tip).
Tool to calculate an extrinsics' `partial_fee` (i.e. the total fee minus any tip).
It uses the following formula:

```
Expand Down Expand Up @@ -63,7 +63,7 @@ whether the node changes the weight or decides not to take a fee at all.

To get the correct values for some extrinsic from both endpoints, provide the
extrinsic bytes, and the number of the block **before the block it is included in**
(eg if the extrinsic was in block 100, you'd use block 99 as an argument). This
(e.g. if the extrinsic was in block 100, you'd use block 99 as an argument). This
is very important.

Once you've called these endpoints, access the `ExtrinsicSuccess` event to find
Expand Down

0 comments on commit 71a9f6a

Please sign in to comment.