You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pos/architecture/heimdall/key-management.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Each validator uses two keys to manage validator related activities on Polygon. The *signer* key is kept on the node and is generally considered a *hot* wallet, whereas the Owner key is supposed to kept very secure, is used infrequently, and is generally considered a *cold* wallet. The staked funds are controlled by the *owner* key.
1
+
Each validator uses two keys to manage validator related activities on Polygon. The *signer* key is kept on the node and is generally considered a *hot* wallet, whereas the owner key is supposed to kept very secure, is used infrequently, and is generally considered a *cold* wallet. The staked funds are controlled by the *owner* key.
2
2
3
3
This separation of responsibilities has been done to ensure an efficient tradeoff between security and ease of use. Both keys are Ethereum compatible addresses and work exactly the same manner. And yes, it is possible to have same owner and signer keys.
Copy file name to clipboardExpand all lines: docs/pos/concepts/tokens/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
The *Tokens* subsection focuses on the proposed Polygon PoS's native token POL and the soon to be replaced native token MATIC.
1
+
This section focuses on the proposed Polygon PoS's native token POL and the soon to be replaced native token MATIC.
2
2
3
3
The *POL* subsection defines the POL token and continues to present, in a question-and-answer (Q&A) format, all the information that users need to know about the proposed transition.
Copy file name to clipboardExpand all lines: docs/pos/get-started/becoming-a-validator.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ In return for their efforts, validators are rewarded with incentives, encouragin
21
21
Polygon consists of the three following layers:
22
22
23
23
* Ethereum layer: A set of contracts on the Ethereum mainnet.
24
-
* Heimdall layer: A set of proof-of-stake Heimdall nodes running in parallel to the Ethereum mainnet, monitoring the set of staking contracts deployed on the Ethereum mainnet, and committing the Polygon PoS network checkpoints to the Ethereum mainnet. Heimdall is based on Tendermint.
24
+
* Heimdall layer: A set of proof-of-stake Heimdall nodes running in parallel to the Ethereum mainnet, monitoring the set of staking contracts deployed on the Ethereum mainnet, and committing the Polygon PoS network checkpoints to the Ethereum mainnet. Heimdall is based on Tendermint.
25
25
* Bor layer: A set of block-producing Bor nodes shuffled by Heimdall nodes. Bor is based on Go Ethereum.
26
26
27
27
To be a validator on the Polygon PoS network, you must do the following:
@@ -67,7 +67,7 @@ Bor is the block producing node and layer for the Polygon PoS network. It is bas
67
67
68
68
Keep up with the latest node and validator updates from the Polygon team and the community by keeping an eye on the [announcements posed to Polygon forums](https://forum.polygon.technology/c/announcement/6).
69
69
70
-
A blockchain validator is someone who is responsible for validating transactions within a blockchain. On the Polygon PoS network, any participant can be qualified to become a Polygon's validator by running a **Validator Node (Sentry + Validator)** to earn rewards and collect transaction fees. To ensure the good participation by validators, they lock up at least 1 MATIC token as a stake in the ecosystem.
70
+
A blockchain validator is someone who is responsible for validating transactions within a blockchain. On the Polygon PoS network, any participant can be qualified to become a Polygon's validator by running a validator node (sentry + validator) to earn rewards and collect transaction fees. To ensure the good participation by validators, they lock up at least 1 MATIC token as a stake in the ecosystem.
71
71
72
72
!!! info "Active validator limit"
73
73
@@ -119,7 +119,7 @@ The following technical node operations are **done automatically by the nodes:**
119
119
120
120
The node uptime on the Polygon PoS network is based on the number of checkpoint transactions that the validator node has signed.
121
121
122
-
Approximately every 34 minutes a proposer submits a checkpoint transaction to the Ethereum mainnet. The checkpoint transaction must be signed by every validator on the Polygon PoS network. **Failure to sign a checkpoint transaction results in the decrease of your validator node performance**.
122
+
Approximately every 34 minutes a proposer submits a checkpoint transaction to the Ethereum mainnet. The checkpoint transaction must be signed by every validator on the Polygon PoS network. Failure to sign a checkpoint transaction results in the decrease of your validator node performance.
123
123
124
124
The process of signing the checkpoint transactions is automated. To ensure your validator node is signing all valid checkpoint transactions, you must maintain and monitor your node health.
Copy file name to clipboardExpand all lines: docs/pos/how-to/bridging/ethereum-polygon/ethereum-to-matic.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The sender and receiver contracts are required to be mapped on Ethereum — [Sta
12
12
13
13
---
14
14
15
-
In the following walkthrough, we'll be deploying a sender contract on Sepolia (Ethereum testnet) and a Receiver contract on Amoy (Polygon testnet). Then, we'll be sending data from the sender and reading data on the receiver via web3 calls in a node script.
15
+
In the following walkthrough, we'll be deploying a sender contract on Sepolia (Ethereum testnet) and a receiver contract on Amoy (Polygon testnet). Then, we'll be sending data from the sender and reading data on the receiver via web3 calls in a node script.
16
16
17
17
### 1. Deploy sender contract
18
18
@@ -51,7 +51,7 @@ In the above function, `stateSenderContract` is the address of the `StateSender`
51
51
52
52
It is recommended to use constructors to pass in variables, but for the purpose of this demo, we'll simply hardcode these two addresses:
53
53
54
-
Following is how our `Sender.sol` looks like:
54
+
Following is what our `Sender.sol` looks like:
55
55
56
56
```jsx title="Sender.sol"
57
57
@@ -84,7 +84,7 @@ Use Remix to deploy the contract and keep a note of the address and ABI.
84
84
85
85
The receiver contract is the one that is invoked by a validator when the `StateSynced` event is emitted. The validator invokes the function `onStateReceive`on the receiver contract to submit the data. To implement it, we first import [StateReceiver](https://github.com/maticnetwork/contracts/blob/release-betaV2/contracts/child/bor/StateReceiver.sol) interface and write down our custom logic — to interpret the transferred data inside onStateReceive.
86
86
87
-
Following is how our `Receiver.sol` looks like:
87
+
The following is what our `Receiver.sol` looks like:
- You need to call `_sendMessageToChild()` internally in your root contract and pass the data as an argument to be sent to Polygon. Example: [0x00a1aa71593fec825b4b1ce1081b5a9848612fb21f9e56def2914b483f5f34f5](https://sepolia.etherscan.io/tx/0x00a1aa71593fec825b4b1ce1081b5a9848612fb21f9e56def2914b483f5f34f5)
48
48
- In your child contract, implement `_processMessageFromRoot()` virtual function in `FxBaseChildTunnel` to retrieve data from Ethereum. The data will be received automatically from the state receiver when the state is synced.
49
49
50
-
## State Transfer from Polygon to Ethereum
50
+
## State transfer from Polygon to Ethereum
51
51
52
52
1. Call `_sendMessageToRoot()` internally in your child contract with data as a parameter to be sent to Ethereum. Note down the transaction hash as it will be used to generate the proof after the transaction has been included as a checkpoint.
Copy file name to clipboardExpand all lines: docs/pos/how-to/full-node/full-node-ansible.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ An [Ansible playbook](https://docs.ansible.com/ansible/latest/user_guide/playboo
6
6
7
7
## Prerequisites
8
8
9
-
- Install Ansible on your local machine with Python3.x. The setup will not work if you have Python 2.x.
9
+
- Install Ansible on your local machine with Python3.x. The setup doesn't run on Python 2.x.
10
10
- To install Ansible with Python 3.x, you can use pip. If you do not have pip on your machine,
11
11
follow the steps outlined [here](https://pip.pypa.io/en/stable/). Run `pip3 install ansible` to install
12
12
Ansible.
13
13
- Check the [Polygon PoS Ansible repository](https://github.com/maticnetwork/node-ansible#requirements) for
14
14
requirements.
15
-
- You will also need to ensure that Go is *not installed* in your environment. You will run into issues if you attempt to set up your full node through Ansible with Go installed as Ansible requires specific packages of Go to be installed.
15
+
- You also need to ensure that Go is *not installed* in your environment. You will run into issues if you attempt to set up your full node through Ansible with Go installed as Ansible requires specific packages of Go.
16
16
- You will also need to make sure that your VM / Machine does not have any previous setups for Polygon Validator or Heimdall or Bor. You will need to delete them as your setup will run into issues.
0 commit comments