Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos #1094

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion builders/get-started/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ To override the balance of a particular account, you can override the account st

Remember that the values are Little Endian encoded. To convert the Hexidecimal Little Endian encoded values to decimal, you can use [this converter](https://www.shawntabrizi.com/substrate-js-utilities/){target=_blank}, using the `Balance to Hex (Little Endian)` converter.

In this example, the existing free balance of `1,278,606,392,142,175,328,676` wei or approximately `1278.60` DEV is `a4d92a6a4e6b3a5045`. The following example will change the value to `500,000` DEV, which is `500,000,000,000,000,000,000,000` wei or `0x000080d07666e70de169` encoded as a hexidecimal Little Endian value. When properly padded to fit into the SCALE encoded storage value, it becomes `69e10de76676d08000000000000000000`, such that the table now looks like:
In this example, the existing free balance of `1,278,606,392,142,175,328,676` wei or approximately `1278.60` DEV is `a4d92a6a4e6b3a5045`. The following example will change the value to `500,000` DEV, which is `500,000,000,000,000,000,000,000` wei or `0x000080d07666e70de169` encoded as a hexadecimal Little Endian value. When properly padded to fit into the SCALE encoded storage value, it becomes `69e10de76676d08000000000000000000`, such that the table now looks like:

```
0x460c0000 // nonce (u32): 3,142
Expand Down
4 changes: 2 additions & 2 deletions builders/interoperability/mrl.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The Guardian signatures and the message form a proof called a [Verified Action A

A relayer's only job is to pass the transactions approved by Wormhole Guardians to the destination chain. MRL is supported by some relayers already, but anyone can run one. Furthermore, users can manually execute their transaction in the destination chain when bridging through Wormhole and avoid relayers altogether.

![Transfering wormhole MRL](/images/builders/interoperability/mrl/mrl-1.webp)
![Transferring wormhole MRL](/images/builders/interoperability/mrl/mrl-1.webp)

### Send Tokens From a Parachain Back Through Wormhole {: #sending-tokens-back-through-wormhole }

Expand All @@ -81,7 +81,7 @@ As an example, a brief overview of the entire process of sending MRL tokens from
2. The Guardian Network will pick up on the Wormhole transaction and sign it
3. A Wormhole relayer will relay the tokens to the destination chain and destination account

![Transfering Wormhole MRL out](/images/builders/interoperability/mrl/mrl-2.webp)
![Transferring Wormhole MRL out](/images/builders/interoperability/mrl/mrl-2.webp)

Now that you have a general idea of the game plan, you can begin implementing it. The example in this guide will show you how to transfer assets from a parachain to Moonbase Alpha and back through Wormhole to the destination chain, but this guide can be adapted for Moonbeam.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ The complete options that can be used with the script are as follows:
| Flag | Type | Description |
| :------------------: | :---------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| account-priv-key | string | (Required for send-proposal-as, send-preimage-hash) The private key of the account to send a transaction with |
| sudo | boolean | Whether to wrap the extrinsic calldata inside of a `sudo.sudo` extrinsic. If `account-priv-key` is present, it will attempt to send the transaciton |
| sudo | boolean | Whether to wrap the extrinsic calldata inside of a `sudo.sudo` extrinsic. If `account-priv-key` is present, it will attempt to send the transaction |
| send-preimage-hash | boolean | Whether to submit the encoded calldata as a preimage and retrieve its hash |
| send-proposal-as | democracy/council-external/v2 | Whether to send the encoded calldata through democracy or Council (Governance v1), or OpenGov (Governance v2) |
| collective-threshold | number | (Required for council-external) The threshold for the Council deciding the proposal |
Expand Down