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

paratime show native-token: Also show ROFL staking requirements #290

Open
matevz opened this issue Sep 19, 2024 · 3 comments
Open

paratime show native-token: Also show ROFL staking requirements #290

matevz opened this issue Sep 19, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@matevz
Copy link
Member

matevz commented Sep 19, 2024

Currently the "network show native-token" output looks like

$ oasis net show native-token --network testnet
Network:                  testnet
Token's ticker symbol:    TEST
Token's base-10 exponent: 9
Total supply:             9999999997.0 TEST
Common pool:              1386172230.297244237 TEST
Last block fees:          0.0 TEST
Governance deposits:      0.0 TEST
Debonding interval:       336 epoch(s)

=== STAKING THRESHOLDS ===
  entity:             100.0 TEST
  node-validator:     100.0 TEST
  node-compute:       100.0 TEST
  node-keymanager:    100.0 TEST
  runtime-compute:    10000.0 TEST
  runtime-keymanager: 10000.0 TEST

Similarly, show ParaTime-specific staking thresholds in paratime show native-token (?):

  • extra minimum staking requirement defined inside the ParaTime to become a compute node
  • minimum staking requirement to register ROFL
@matevz matevz added the enhancement New feature or request label Sep 19, 2024
@kostko
Copy link
Member

kostko commented Sep 19, 2024

Not sure if this should go under "network" as that is used for the consensus layer?

In any case the rofl module first needs a query that would return this information so please also open an issue in the SDK and link it here.

@matevz
Copy link
Member Author

matevz commented Sep 19, 2024

In any case the rofl module first needs a query that would return this information so please also open an issue in the SDK and link it here.

Should this also be updated in the genesis document page?

@kostko
Copy link
Member

kostko commented Sep 19, 2024

No, the genesis document is for the consensus layer. The rofl module (and its staking requirements) is in individual runtimes.

@matevz matevz changed the title network show native-token: Also show ROFL staking requirements paratime show native-token: Also show ROFL staking requirements Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants