Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I solve this problem? It keeps showing no hours and that gigabytes. #32

Open
MkMarko opened this issue Jan 4, 2024 · 1 comment

Comments

@MkMarko
Copy link

MkMarko commented Jan 4, 2024

My order
sentinelcli tx node subscribe sentnode1728k2g9e70392gj27hn23sww9tr0uexqu6yw8j 10 1 udvpn --from default_restore

Tips:
Subscribe to a node

Usage:
sentinelcli tx node subscribe [node-addr] [gigabytes] [hours] [denom] [flags]

Error Message.
Error: [gigabytes, hours] cannot be non-empty: invalid message

How can I solve this problem? It keeps showing no hours and that gigabytes.

@OlegShirochenkov
Copy link

Query Subscriptions

Retrieve information regarding the subscriptions.

sentinelcli query subscriptions \
  --home "${HOME}/.sentinelcli" \
  --node https://rpc.sentinel.co:443 \
  --page 1

Example output:


+--------+---------------------------------------------+--------------------------------+------------------+-------------------------------------------------+-----------+-------+-----------------------------------------------------------------------------+------+-------+
|   ID   |                   ADDRESS                   |          INACTIVE AT           |      STATUS      |                      NODE                       | GIGABYTES | HOURS |                                   DEPOSIT                                   | PLAN | DENOM |
+--------+---------------------------------------------+--------------------------------+------------------+-------------------------------------------------+-----------+-------+-----------------------------------------------------------------------------+------+-------+
| 197707 | sent1hcsg2gt4sqsaaq4kr9acalx79rp2zs4m4kgmvq | 2024-03-19 16:00:05.760729582  | active           |                                                 |         0 |     0 |                                                                             |    4 | udvpn |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225272 | sent1e8dvmhck36n3hypk6wf2e37efn2adz58uzv9p8 | 2024-02-10 12:44:58.053198502  | inactive_pending | sentnode1qurf4q46w03hmurt3yrzf5qt7hajf72a8azvk4 |         1 |     0 | 29999999udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225273 | sent1e8dvmhck36n3hypk6wf2e37efn2adz58uzv9p8 | 2024-02-10 12:45:27.840999453  | inactive_pending | sentnode1kpj3al3936n3l9j73ewf4gx5qtdy388lttr8yc |         1 |     0 | 29999999udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225275 | sent1xyaw0asa9u58swppepfvlac524n72g0s3z4jux | 2024-02-10 13:28:36.984433968  | inactive_pending | sentnode1qurf4q46w03hmurt3yrzf5qt7hajf72a8azvk4 |         1 |     0 | 29999999udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225281 | sent1gwce8uc6qr24xku7cgtgu67t6a3jxr6sf68kl5 | 2024-02-10 14:49:44.757550515  | inactive_pending | sentnode1xmvhvmdwg3xhe4afdzvn6hzanucr6rjlkeyv8u |         1 |     0 | 15342624udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225282 | sent1gwce8uc6qr24xku7cgtgu67t6a3jxr6sf68kl5 | 2024-02-10 14:51:25.646322187  | inactive_pending | sentnode1qurf4q46w03hmurt3yrzf5qt7hajf72a8azvk4 |         1 |     0 | 29999999udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225289 | sent1tjqlpj77pan58cu63r533vafwa5kcavgu6e3sq | 2024-02-10 13:52:45.192860639  | active           | sentnode1pf4mjzmjpk9m5dse54vhn9kfu0dmgaesus3sam |         1 |     0 | 1073502ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783 |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |

Query a Subscription

Retrieve information regarding a specific subscription.

sentinelcli query subscription \
  --home "${HOME}/.sentinelcli" \
  --node https://rpc.sentinel.co:443 \
  <subscription_id>

Example output:

+--------+---------------------------------------------+--------------------------------+--------+------+-----------+-------+---------+------+-------+
|   ID   |                   ADDRESS                   |          INACTIVE AT           | STATUS | NODE | GIGABYTES | HOURS | DEPOSIT | PLAN | DENOM |
+--------+---------------------------------------------+--------------------------------+--------+------+-----------+-------+---------+------+-------+
| 197707 | sent1hcsg2gt4sqsaaq4kr9acalx79rp2zs4m4kgmvq | 2024-03-19 16:00:05.760729582  | active |      |         0 |     0 |         |    4 | udvpn |
|        |                                             | +0000 UTC                      |        |      |           |       |         |      |       |
+--------+---------------------------------------------+--------------------------------+--------+------+-----------+-------+---------+------+-------+

Subscribe to a Node

Subscribe to a Node

INFO
Please ensure that you select one option between <gigabytes> and <hours>. The unused option should be assigned a value of 0.

sentinelcli tx node subscribe \
  <sentnode_address> \
  <gigabytes> \
  <hours> \
  udvpn \
  --from test \
  --chain-id=sentinelhub-2 \
  --node https://rpc.sentinel.co:443 \
  --gas-prices=0.5udvpn \
  --gas=300000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants