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/bor/commands.md
+37-50Lines changed: 37 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,8 @@
1
1
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.
2
2
3
-
## Frequently Used Commands for Bor & Heimdall
3
+
## Frequently used commands
4
4
5
-
Use the tabs below to switch between commands for Bor and Heimdall:
To execute Bor IPC commands, use the following syntax:
17
8
@@ -32,8 +23,7 @@ bor attach .bor/data/bor.ipc <command>
32
23
|`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. |
33
24
||`curl http://YourIP:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'`| Retrieves the `chainID`. |
34
25
35
-
</TabItem>
36
-
<TabItemvalue="heimdall">
26
+
### Heimdall
37
27
38
28
| Command | Description |
39
29
| ------- | ----------- |
@@ -45,87 +35,84 @@ bor attach .bor/data/bor.ipc <command>
45
35
|`heimdalld unsafe-reset-all`| Resets the database in case of issues. |
46
36
|`curl localhost:26657/status`| Provides comprehensive information about Heimdall. |
0 commit comments