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

feat(network): Move network info -> network show native-token and gas-costs #79

Merged
merged 1 commit into from May 26, 2023

Conversation

matevz
Copy link
Member

@matevz matevz commented May 26, 2023

network info seems out of place and ambiguous to network show.

This PR:

  • splits network info and moves it under network show native-token and network show gas-costs,
  • some minor pretty printing fixes

Example:

$ oasis network show native-token
Network:                  testnet
Token's ticker symbol:    TEST
Token's base-10 exponent: 9
Total supply:             9999999997.0 TEST
Common pool:              1387287547.112344642 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
$ oasis network show gas-costs
Gas costs for network testnet:
  - reclaim_escrow:            1000
  - amend_commission_schedule: 1000
  - burn:                      1000
  - allow:                     1000
  - transfer:                  1000
  - withdraw:                  1000
  - add_escrow:                1000

@matevz matevz requested a review from kostko May 26, 2023 10:47
@matevz matevz force-pushed the matevz/feature/move-info-show-native-token branch from 7cb58ba to db39fa6 Compare May 26, 2023 10:50
@matevz matevz force-pushed the matevz/feature/move-info-show-native-token branch from db39fa6 to 990ffba Compare May 26, 2023 13:29
@matevz matevz force-pushed the matevz/feature/move-info-show-native-token branch from 990ffba to 8603a1d Compare May 26, 2023 13:31
@matevz matevz enabled auto-merge May 26, 2023 13:32
@matevz matevz merged commit 6a49b35 into master May 26, 2023
2 checks passed
@matevz matevz deleted the matevz/feature/move-info-show-native-token branch May 26, 2023 13:33
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

Successfully merging this pull request may close these issues.

None yet

2 participants