Skip to content

Commit 0354c73

Browse files
authored
docs: update docs to reflect au and PoS changes (#4878)
2 parents b94f9c7 + 0c26e3c commit 0354c73

File tree

3 files changed

+38
-12
lines changed

3 files changed

+38
-12
lines changed

docs/src/content/docs/infrastructure/node-operators/node-configuration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ Located in `config/app.toml`, this file is host to app settings.
4747

4848
Located under the "Base Configuration" section of `config/app.toml`.
4949

50-
The [skip-mev/feemarket](https://github.com/skip-mev/feemarket/) module sets a global gas price/fee. To ensure consistency with the rest of the network, set this to `"0muno"`.
50+
The [skip-mev/feemarket](https://github.com/skip-mev/feemarket/) module sets a global gas price/fee. To ensure consistency with the rest of the network, set this to `"0au"`.
5151

5252
```toml
5353
# The minimum gas prices a validator is willing to accept for processing a
5454
# transaction. A transaction's fees must meet the minimum of any denomination
5555
# specified in this config (e.g. 0.25token1;0.0001token2).
56-
minimum-gas-prices = "0muno"
56+
minimum-gas-prices = "0au"
5757
```
5858

5959
### Pruning

docs/src/content/docs/joining-testnet/creating-validators.mdx

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Add the following content to the file:
4646
```json title="validator.json"
4747
{
4848
"pubkey": <PUBKEY>,
49-
"amount": "1000000muno",
49+
"amount": "1000000au",
5050
"moniker": "<MONIKER>",
5151
"identity": "optional identity signature (ex. UPort or Keybase)",
5252
"website": "validator's (optional) website",
@@ -65,14 +65,40 @@ Replacing:
6565
- `<MONIKER>` with your moniker
6666
- And the optional content with your preferred details
6767

68-
### 2) Run the Create Validator Command
68+
### 2) Create a Proof of Possession
69+
70+
:::note
71+
72+
This step is specific to the Union network, other Cosmos based chains do not currently replicate this process.
73+
74+
:::
75+
76+
Assuming your private validator key is in the default location:
77+
78+
<Tabs>
79+
<TabItem label='uniond-release'>
80+
```sh frame="none"
81+
export PRIV_KEY=$(jq -r '.priv_key.value' ~/.union/config/priv_validator_key.json)
82+
export POSSESSION_PROOF=$(uniond prove-possession "$PRIV_KEY")
83+
```
84+
</TabItem>
85+
<TabItem label='Unionvisor'>
86+
```sh frame="none"
87+
export PRIV_KEY=$(jq -r '.priv_key.value' ~/.unionvisor/home/config/priv_validator_key.json)
88+
export POSSESSION_PROOF=$(uniond prove-possession "$PRIV_KEY")
89+
```
90+
</TabItem>
91+
</Tabs>
92+
93+
94+
### 3) Run the Create Validator Command
6995

7096
Then you can submit this file using the `create-union-validator` sub-command:
7197

7298
```sh frame="none"
73-
uniond tx poa create-validator path/to/validator.json \
74-
--from $KEY_NAME \
75-
--chain-id union-testnet-10
99+
uniond tx union-staking create-union-validator $VALIDATOR_JSON_PATH $POSSESSION_PROOF \
100+
--from $KEY_NAME \
101+
--chain-id union-testnet-10
76102
```
77103

78104
_Where `VALIDATOR_JSON_PATH` is the path to your `validator.json`_
@@ -90,7 +116,7 @@ touch ~/.unionvisor/validator.json
90116

91117
# Then after editing the json content
92118

93-
uniond tx poa create-validator /.unionvisor/validator.json \
119+
uniond tx union-staking create-union-validator /.unionvisor/validator.json $POSSESSION_PROOF \
94120
--from $KEY_NAME \
95121
--chain-id union-testnet-10
96122
```

docs/src/content/docs/joining-testnet/getting-tokens.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ sidebar:
44
order: 3
55
---
66

7-
To participate in the Union Testnet, you will first need an account with a UNO balance.
7+
To participate in the Union Testnet, you will first need an account with a U balance.
88

9-
UNO is the primary token denom for the Union Testnet. We technically represent UNO as `muno` a fixed point representation of UNO with six digits of precision. This means that a balance of `1000000muno` is equivalent to 1 UNO.
9+
U is the primary token for the Union Testnet. We technically represent U as `au`, a fixed point representation of U with 18 digits of precision. This means that a balance of `1000000000000000000au` is equivalent to 1 U.
1010

11-
To ensure a fair initial distribution of Testnet tokens to validators, we will be supplying your accounts with an UNO balance.
11+
To ensure a fair initial distribution of Testnet tokens to validators, we will be supplying your accounts with a U balance.
1212

1313
## Getting a Testnet Account
1414

@@ -52,7 +52,7 @@ Take note of your `address` here and continue to [Receiving Testnet Tokens](#rec
5252

5353
### Finding your Union Address
5454

55-
To ensure your account will have an UNO balance, please submit the address from your newly created or recovered account.
55+
To ensure your account will have a U balance, please submit the address from your newly created or recovered account.
5656

5757
If you haven't already noted down your address, you can retrieve it with the following command:
5858

0 commit comments

Comments
 (0)