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: README.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ Bootstrap parameters available to edit:
75
75
## Invite new oracle to the running pool
76
76
77
77
To invite a new oracle the person that bootstrapped the pool need to send one oracle token and one reward token. On bootstrap X oracle and reward tokens are sent to the `oracle_address`, where X is the total oracle token quantity minted on bootstrap.
78
-
Besides the tokens the `oracle_config.yaml`config file that you are running now should be sent as well. Be carefull to cleanup the `node_api_key` and `oracle_address` fields before you send it and instruct the invited oracle to set them to their liking.
78
+
Besides the tokens the config file that you are running now should be sent as well. Run `oracle-core print-safe-config`, send it, and instruct the invited oracle to set `node_ip`, `node_api_key` and `oracle_address` to their liking.
Ensure the new address has enough coins for tx fees to run in a pool.
121
-
As with inviting a new oracle, the `oracle_config.yaml`config file you are running now should also be sent. Again, clean up the `node_api_key` and `oracle_address` fields before you send it and instruct the invited oracle to set them to their liking.
121
+
As with inviting a new oracle, the config file that you are running now should be sent as well. Run `oracle-core print-safe-config`, send it, and instruct the invited oracle to set `node_ip`, `node_api_key` and `oracle_address` to their liking.
122
122
123
123
## Updating the contracts/tokens
124
124
@@ -183,7 +183,9 @@ Where:
183
183
<REWARD_TOKEN_AMOUNT> - reward token amount in the pool box at the time of update transaction is committed
184
184
185
185
This will submit an update tx.
186
-
After the update tx is confirmed, remove `scanIds.json` and use `oracle_config_updated.yaml` to run the oracle (i.e., rename it to `oracle_config.yaml` and restart the oracle). Distribute the new oracle config file (with zeroed credentials - node_api_key, node_ip, oracle_address, etc) to all the oracles and keep in mind that they have to set their own requisites in the received config. Be sure they delete `scanIds.json` before restart.
186
+
After the update tx is confirmed, remove `scanIds.json` and use `oracle_config_updated.yaml` to run the oracle (i.e., rename it to `oracle_config.yaml` and restart the oracle).
187
+
Distribute the new oracle config file to all the oracles. Run `oracle-core print-safe-config`, send it, and instruct the invited oracle to set `node_ip`, `node_api_key` and `oracle_address` to their liking.
188
+
Be sure they delete `scanIds.json` before restart.
Copy file name to clipboardExpand all lines: docs/update_epoch_length.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,4 +80,6 @@ Where:
80
80
were printed at the end of the `prepare-update` command.
81
81
82
82
This will submit an update tx.
83
-
After the update tx is confirmed, remove `scanIds.json` and use `oracle_config_updated.yaml` to run the oracle (i.e., rename it to `oracle_config.yaml` and restart the oracle). Distribute the new oracle config file (with zeroed credentials - node_api_key, node_ip, oracle_address, etc) to all the oracles and keep in mind that they have to set their own requisites in the received config. Be sure they delete `scanIds.json` before restart.
83
+
After the update tx is confirmed, remove `scanIds.json` and use `oracle_config_updated.yaml` to run the oracle (i.e., rename it to `oracle_config.yaml` and restart the oracle).
84
+
Distribute the new oracle config file to all the oracles. Run `oracle-core print-safe-config`, send it, and instruct the invited oracle to set `node_ip`, `node_api_key` and `oracle_address` to their liking.
85
+
Be sure they delete `scanIds.json` before restart.
0 commit comments