From 18f8f4a9ba8750819a82a968504d1b7537a4cb20 Mon Sep 17 00:00:00 2001 From: carloscip <98537833+carloscip@users.noreply.github.com> Date: Fri, 3 Nov 2023 09:06:13 -0300 Subject: [PATCH 1/2] added suffix .testnet and .mainnet in order to match previous docs format --- docs/validator/compile-and-run-a-node.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/validator/compile-and-run-a-node.md b/docs/validator/compile-and-run-a-node.md index 0348a5e..bcf7473 100644 --- a/docs/validator/compile-and-run-a-node.md +++ b/docs/validator/compile-and-run-a-node.md @@ -304,7 +304,7 @@ $ sed -i -e 's/private_key/secret_key/g' ~/.near/validator_key.json To create a staking pool on the network, we need to call the create_staking_pool contract with required parameters and deploy it to the indicated accountId: ```bash -$ near call pool.f863973.m0 create_staking_pool '{"staking_pool_id": "", "owner_id": "", "stake_public_key": "", "reward_fee_fraction": {"numerator": , "denominator": 100}}' --accountId="" --amount=30 --gas=300000000000000 +$ near call pool.f863973.m0 create_staking_pool '{"staking_pool_id": "", "owner_id": ".testnet", "stake_public_key": "", "reward_fee_fraction": {"numerator": , "denominator": 100}}' --accountId=".testnet" --amount=30 --gas=300000000000000 ``` From the command above, you need to replace: @@ -345,7 +345,7 @@ To note, a ping also updates the staking balances for your delegators. A ping sh Deposit token to a pool (can be done using any account, not necessary the one created/used in steps above): ```bash -$ near call deposit_and_stake --amount --accountId --gas=300000000000000 +$ near call deposit_and_stake --amount --accountId .mainnet --gas=300000000000000 ``` #### Ping @@ -353,7 +353,7 @@ A ping issues a new proposal and updates the staking balances for your delegator Command: ```bash -$ near call ping '{}' --accountId --gas=300000000000000 +$ near call ping '{}' --accountId .testnet --gas=300000000000000 ``` Once above is completed, verify your validator proposal status: @@ -543,7 +543,7 @@ $ sed -i -e 's/private_key/secret_key/g' ~/.near/validator_key.json To create a staking pool on the network, we need to call the create_staking_pool contract with required parameters and deploy it to the indicated accountId: ```bash -$ near call poolv1.near create_staking_pool '{"staking_pool_id": "", "owner_id": "", "stake_public_key": "", "reward_fee_fraction": {"numerator": , "denominator": 100}}' --accountId="" --amount=30 --gas=300000000000000 +$ near call poolv1.near create_staking_pool '{"staking_pool_id": "", "owner_id": ".mainnet", "stake_public_key": "", "reward_fee_fraction": {"numerator": , "denominator": 100}}' --accountId=".mainnet" --amount=30 --gas=300000000000000 ``` From the command above, you need to replace: @@ -584,7 +584,7 @@ To note, a ping also updates the staking balances for your delegators. A ping sh Deposit token to a pool (can be done using any account, not necessary the one created/used in steps above): ``` -$ near call deposit_and_stake --amount --accountId --gas=300000000000000 +$ near call deposit_and_stake --amount --accountId .mainnet --gas=300000000000000 ``` #### Ping @@ -592,7 +592,7 @@ A ping issues a new proposal and updates the staking balances for your delegator Command: ```bash -$ near call ping '{}' --accountId --gas=300000000000000 +$ near call ping '{}' --accountId .mainnet --gas=300000000000000 ``` Once above is completed, verify your validator proposal status: From 5e5c29783c2082eeb853fd53b126d8721a2ed1c9 Mon Sep 17 00:00:00 2001 From: carloscip <98537833+carloscip@users.noreply.github.com> Date: Fri, 3 Nov 2023 09:12:20 -0300 Subject: [PATCH 2/2] fix suffix change --- docs/validator/compile-and-run-a-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/validator/compile-and-run-a-node.md b/docs/validator/compile-and-run-a-node.md index bcf7473..5d4298a 100644 --- a/docs/validator/compile-and-run-a-node.md +++ b/docs/validator/compile-and-run-a-node.md @@ -345,7 +345,7 @@ To note, a ping also updates the staking balances for your delegators. A ping sh Deposit token to a pool (can be done using any account, not necessary the one created/used in steps above): ```bash -$ near call deposit_and_stake --amount --accountId .mainnet --gas=300000000000000 +$ near call deposit_and_stake --amount --accountId .testnet --gas=300000000000000 ``` #### Ping