Skip to content

Commit 6ebf49b

Browse files
committed
update PoS - fixed links
2 parents 98713d2 + 299f7cc commit 6ebf49b

File tree

11 files changed

+58
-116
lines changed

11 files changed

+58
-116
lines changed

docs/pos/how-to/operating/validator-node/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Operating a Polygon Validator Node
2-
31
Operating as a validator on the Polygon Network involves playing a pivotal role in validating transactions within the blockchain. This guide provides details on how to run a Validator Node (including Sentry and Validator components) on the Polygon Network, the responsibilities involved, and the technical and operational aspects to consider.
42

53
## Eligibility and responsibilities

docs/pos/how-to/operating/validator-node/rewards.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
---
2-
id: rewards
3-
title: Rewards
4-
sidebar_label: Rewards
5-
description: Learn about the Polygon Network staking incentives.
6-
keywords:
7-
- docs
8-
- matic
9-
- polygon
10-
- rewards
11-
- staking
12-
- incentives
13-
image: https://wiki.polygon.technology/img/polygon-logo.png
14-
---
15-
161
In Polygon, validators stake their MATIC tokens as collateral to work for the security of the network, and in exchange for their service, earn rewards.
172

183
To leverage Polygon's economics, you should either become a validator or a delegator.

docs/pos/reference/commands.md

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
This guide provides a curated list of common commands and Polygon-specific operations essential for node operators. Whether you're setting up a full node, validator node or troubleshooting, these commands will assist you in managing your Polygon PoS environment effectively.
22

3-
## Frequently Used Commands for Bor & Heimdall
4-
5-
Use the tabs below to switch between commands for Bor and Heimdall:
6-
7-
<Tabs
8-
defaultValue="bor"
9-
values={[
10-
{ label: 'Bor Commands', value: 'bor', },
11-
{ label: 'Heimdall Commands', value: 'heimdall', },
12-
]
13-
}>
14-
<TabItem value="bor">
3+
## Frequently used commands for Bor & Heimdall
4+
### Bor
155

166
To execute Bor IPC commands, use the following syntax:
177

@@ -32,8 +22,7 @@ bor attach .bor/data/bor.ipc <command>
3222
| `eth.getBlock("latest").number` | `curl http://YourIP:8545 -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0", "id":1, "method":"bor_getSigners", "params":["0x98b3ea"]}'` | Queries the height of the latest Bor block. |
3323
| | `curl http://YourIP:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'` | Retrieves the `chainID`. |
3424

35-
</TabItem>
36-
<TabItem value="heimdall">
25+
### Heimdall
3726

3827
| Command | Description |
3928
| ------- | ----------- |
@@ -45,10 +34,8 @@ bor attach .bor/data/bor.ipc <command>
4534
| `heimdalld unsafe-reset-all` | Resets the database in case of issues. |
4635
| `curl localhost:26657/status` | Provides comprehensive information about Heimdall. |
4736

48-
</TabItem>
49-
</Tabs>
5037

51-
## Node Management Commands
38+
## Node management commands
5239

5340
| Description | Command |
5441
| ------------------------------------- | ---------------------------------------------- |
@@ -67,33 +54,33 @@ bor attach .bor/data/bor.ipc <command>
6754
| **Check Heimdall bridge logs** | `tail -f heimdalld-bridge.log` |
6855
| **Check Bor logs** | `tail -f bor.log` |
6956

70-
## Useful Configuration Commands
57+
## Useful configuration commands
7158

72-
### Sync Status of Heimdall
59+
### Sync status of Heimdall
7360

7461
To check if Heimdall is synced, run:
7562

7663
```bash
7764
curl http://localhost:26657/status
7865
```
7966

80-
### Latest Block Height on Heimdall
67+
### Latest block height on Heimdall
8168

8269
To check the latest block height on Heimdall, run:
8370

8471
```bash
8572
curl localhost:26657/status
8673
```
8774

88-
### Latest Block Height on Bor
75+
### Latest block height on Bor
8976

9077
To check the latest block height on Bor, use:
9178

9279
```bash
9380
curl http://<your ip>:8545 -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0", "id":1, "method":"bor_getSigners", "params":["0x98b3ea"]}'
9481
```
9582

96-
### Cleanup: Deleting Remnants of Heimdall and Bor
83+
### Cleanup: deleting remnants of Heimdall and Bor
9784

9885
**For Linux package:**
9986

@@ -109,7 +96,7 @@ sudo rm -rf /etc/bor
10996
sudo rm /etc/heimdall
11097
```
11198

112-
### Terminate Bor Process
99+
### Terminate Bor process
113100

114101
**For Linux:**
115102

@@ -125,7 +112,7 @@ cd CS-2003/bor
125112
bash stop.sh
126113
```
127114

128-
### Retrieve Latest Peer Details
115+
### Retrieve latest peer details
129116

130117
To retrieve the latest peer details, run:
131118

@@ -137,7 +124,7 @@ admin.peers.forEach(function(value){
137124
exit
138125
```
139126

140-
### Stop Heimdall and Bor Services
127+
### Stop Heimdall and Bor services
141128

142129
**For Linux packages:**
143130

@@ -146,7 +133,7 @@ sudo service heimdalld stop
146133
sudo service bor stop
147134
```
148135

149-
**For Binaries:**
136+
**For binaries:**
150137

151138
```bash
152139
pkill heimdalld
@@ -155,7 +142,7 @@ cd CS-2001/bor
155142
bash stop.sh
156143
```
157144

158-
### Remove Heimdall and Bor Directories
145+
### Remove Heimdall and Bor directories
159146

160147
**For Linux packages:**
161148

@@ -164,7 +151,7 @@ sudo rm -rf /etc/heimdall/*
164151
sudo rm -rf /etc/bor/*
165152
```
166153

167-
**For Binaries:**
154+
**For binaries:**
168155

169156
```bash
170157
sudo rm -rf /var/lib/heimdalld/

docs/pos/reference/contracts/delegation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ When a validator gets rewarded with more `MATIC` tokens, new tokens are added to
1010

1111
`VATIC`: Validator specific minted validator share tokens (ERC20 tokens)
1212

13-
## Technical Specification
13+
## Technical specification
1414

1515
```solidity
1616
uint256 public validatorId; // Delegation contract for validator
@@ -29,7 +29,7 @@ Exchange rate is calculated as below:
2929
ExchangeRate = (totalDelegatedPower + delegatorRewardPool) / totalDelegatorShares
3030
```
3131

32-
## Methods and Variables
32+
## Methods and variables
3333

3434
### buyVoucher
3535

docs/pos/reference/contracts/genesis-contracts.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
Here you will find a list of contracts deployed on Polygon together with their initial address, that is, their location on the blockchain.
22

3-
<Tabs
4-
defaultValue="mainnet"
5-
values={[
6-
{ label: 'Polygon-Mainnet', value: 'mainnet', },
7-
{ label: 'Mumbai-Testnet', value: 'mumbai', },
8-
]
9-
}>
10-
<TabItem value="mumbai">
3+
### Mumbai
114

12-
Parent Chain: Goerli
5+
Parent chain: Goerli
136

147
| Contracts | Address |
158
|-----------------------|------------------------------------------------------------------------------------------------------------------------------|
@@ -49,11 +42,9 @@ Parent Chain: Goerli
4942
|-----------------------|--------------------------------------------|
5043
| ChildChain | [0x1EDd419627Ef40736ec4f8ceffdE671a30803c5e](https://mumbai.polygonscan.com/address/0x1EDd419627Ef40736ec4f8ceffdE671a30803c5e/) |
5144

52-
</TabItem>
53-
54-
<TabItem value="mainnet">
45+
### Mainnet
5546

56-
Parent Chain: Ethereum Mainnet
47+
Parent chain: Ethereum mainnet
5748

5849
| Contracts | [Address](https://etherscan.io/address/Address) |
5950
|-----------------------|-----------------------------------------------------------------------------------------------------------------------|
@@ -88,7 +79,7 @@ Parent Chain: Ethereum Mainnet
8879
| ERC721Predicate | [0x54150f44c785d412ec262fe895cc3b689c72f49b](https://etherscan.io/address/0x54150f44c785d412ec262fe895cc3b689c72f49b) |
8980

9081

91-
**Child Chain: Polygon Mainnet**
82+
**Child chain: Polygon mainnet**
9283

9384
| Contracts | Address |
9485
|-----------------------|--------------------------------------------|

docs/pos/reference/contracts/stakingmanager.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For the Polygon's Proof of Security based consensus, all the ⅔+1 proof verific
99
From one Ethereum address, a **Staker can only be a validator or delegator** (it's just a design choice, no hard reasons).
1010

1111

12-
## Validator Admissions / Replacement
12+
## Validator admissions / replacement
1313

1414
### Admissions
1515
At present, there are no open validator slots available on Polygon PoS. There is also a waitlist to become a validator. In the future, if slots become available, validators may apply to be considered and removed off of the waitlist.
@@ -23,7 +23,7 @@ PIP4 introduced the concept of showcasing validator performance for community vi
2323
Currently, [<ins>Phase 2 of PART C in PIP4</ins>](https://forum.polygon.technology/t/pip-4-validator-performance-management/9956/24) is being implemented. This is where the community decides on validator prospect evaluation criteria. In time, this exercise will produce an application and admissions process.
2424

2525

26-
## Methods and Variables
26+
## Methods and variables
2727

2828
!!!caution
2929
Slashing Implementation
@@ -182,7 +182,7 @@ function checkSignatures(
182182

183183
Checks if a given validator is active validator for the current epoch.
184184

185-
## Timeline Data Structure
185+
## Timeline data structure
186186

187187
```solidity
188188
struct State {

docs/pos/reference/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
This guide aims to provide solutions for common errors you might encounter while interacting with Polygon PoS. If you come across an error that is not listed here, please consult Polygon Support or community forums for additional help.
22

3-
## Table of Node Errors
3+
## Table of node errors
44

55
| Error | Component | Description | Cause | Solution |
66
|-----------------------------------------------|------------|------------------------------------------------------------------|--------------------------------------------------|----------------------------------------------------------------------------------------------|

docs/pos/reference/mapped-tokens.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@
66
If you want to get your token mapped then please send your mapping request via [<ins>mapper.polygon.technology</ins>](https://mapper.polygon.technology/).
77

88

9-
<Tabs
10-
defaultValue="mainnet"
11-
values={[
12-
{ label: 'PoS mainnet', value: 'mainnet', },
13-
{ label: 'Mumbai testnet', value: 'mumbai', },
14-
]
15-
}>
16-
<TabItem value="mumbai">
9+
### Mumbai
1710

1811
| Token Name | Bridge | Parent Chain Address: Goerli | Child Chain: MUMBAI |
1912
| ----------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
@@ -22,10 +15,10 @@ values={[
2215
| DummyERC721Token | PoS | [0x084297B12F204Adb74c689be08302FA3f12dB8A7](https://goerli.etherscan.io/address/0x084297B12F204Adb74c689be08302FA3f12dB8A7) | [0x757b1BD7C12B81b52650463e7753d7f5D0565C0e](https://mumbai.polygonscan.com/address/0x757b1BD7C12B81b52650463e7753d7f5D0565C0e) |
2316
| DummyERC1155Token | PoS | [0x2e3Ef7931F2d0e4a7da3dea950FF3F19269d9063](https://goerli.etherscan.io/address/0x2e3Ef7931F2d0e4a7da3dea950FF3F19269d9063) | [0xA07e45A987F19E25176c877d98388878622623FA](https://mumbai.polygonscan.com/address/0xA07e45A987F19E25176c877d98388878622623FA) |
2417

25-
</TabItem>
26-
<TabItem value="mainnet">
18+
### Mainnet
19+
20+
| Token name | Bridge | Parent chain address: Ethereum mainnet | Child chain: Polygon network |
2721

28-
| Token Name | Bridge | Parent Chain Address: Ethereum Mainnet | Child Chain: Polygon Network |
2922
| ----------------- | ------ | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
3023
| PoS\-WETH | PoS | [0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE](https://etherscan.io/address/0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) | [0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619](https://polygonscan.com/address/0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619) |
3124
| PoS\-USDC | PoS | [0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48](https://etherscan.io/address/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48) | [0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174](https://polygonscan.com/address/0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174) |
@@ -46,5 +39,3 @@ values={[
4639
| DummyERC1155Token | PoS | [0x556f501CF8a43216Df5bc9cC57Eb04D4FFAA9e6D](https://etherscan.io/address/0x556f501CF8a43216Df5bc9cC57Eb04D4FFAA9e6D) | [0xA0c68C638235ee32657e8f720a23ceC1bFc77C77](https://polygonscan.com/address/0xA0c68C638235ee32657e8f720a23ceC1bFc77C77) |
4740
| WDEV | PoS | [0x4a5df63b0c37b38515e4ee51baf40edd420bf7d5](https://etherscan.io/address/0x4a5df63b0c37b38515e4ee51baf40edd420bf7d5) | [0xa5577d1cec2583058a6bd6d5deac44797c205701](https://polygonscan.com/address/0xa5577d1cec2583058a6bd6d5deac44797c205701) |
4841

49-
</TabItem>
50-
</Tabs>

docs/pos/reference/port-management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
This guide provides a detailed list of default ports used across Polygon nodes, including Bor and Heimdall. Understanding these ports is crucial for network configuration and effective communication between nodes.
22

3-
## Bor Node
3+
## Bor node
44

55
| Name | Port | Tags | Description |
66
|-------------------------|-------|---------------------------|----------------------------------------------------------------------------------------------------------------|
@@ -13,7 +13,7 @@ This guide provides a detailed list of default ports used across Polygon nodes,
1313
| Pprof Server | 7071 | Internal, Monitoring | Pprof server for collecting Bor metrics. |
1414
| UDP Discovery | 30301 | Can be Public, Internal | Default port for Bootnode peer discovery. |
1515

16-
## Heimdall Node
16+
## Heimdall node
1717

1818
| Name | Port | Tags | Description |
1919
|-------------------------|-------|---------------------------|----------------------------------------------------------------------------------------------------------------|

0 commit comments

Comments
 (0)