Skip to content

Instantly share code, notes, and snippets.

@hdevalence
Created January 20, 2022 20:14
Show Gist options
  • Save hdevalence/5a93afeee0bdadb2c3b1ba951a07d7ce to your computer and use it in GitHub Desktop.
Save hdevalence/5a93afeee0bdadb2c3b1ba951a07d7ce to your computer and use it in GitHub Desktop.
~/c/p/penumbra (env-in-freshstart|✚1…) $ cargo run --release --bin pcli -- -n 127.0.0.1 wallet reset
Compiling pcli v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/pcli)
Compiling penumbra-proto v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/proto)
Compiling penumbra-crypto v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/crypto)
Compiling penumbra-stake v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/stake)
Compiling penumbra-chain v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/chain)
Compiling penumbra-transaction v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/transaction)
Compiling penumbra-wallet v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/wallet)
Finished release [optimized] target(s) in 18.59s
Running `target/release/pcli -n 127.0.0.1 wallet reset`
Jan 20 12:10:47.113 INFO pcli::command::wallet: resetting client state
~/c/p/penumbra (env-in-freshstart|✚1…) [1]$ cargo run --release --bin pcli -- -n 127.0.0.1 balance
Finished release [optimized] target(s) in 0.13s
Running `target/release/pcli -n 127.0.0.1 balance`
Jan 20 12:12:02.728 INFO chain_params: pcli::fetch: saving chain params params=ChainParams { chain_id: "penumbra-thelxinoe", epoch_duration: 60 }
Jan 20 12:12:02.729 INFO sync: pcli::sync: starting client sync
Jan 20 12:12:03.756 INFO sync: pcli::sync: syncing... height=0
Jan 20 12:12:03.825 INFO sync: pcli::sync: finished sync end_height=125
Jan 20 12:12:03.854 INFO assets: pcli::fetch: updated asset registry
Total
100cube
20000gm
20000gn
10000pizza
1000000penumbra
~/c/p/penumbra (env-in-freshstart|✚1…) $ cargo run --release --bin pcli -- -n 127.0.0.1 stake list-validators -d
Finished release [optimized] target(s) in 0.13s
Running `target/release/pcli -n 127.0.0.1 stake list-validators -d`
Jan 20 12:12:19.845 INFO sync{start_height=125}: pcli::sync: starting client sync
Jan 20 12:12:19.873 INFO sync{start_height=125}: pcli::sync: syncing... height=126
Jan 20 12:12:19.874 INFO sync{start_height=125}: pcli::sync: finished sync end_height=141
Jan 20 12:12:19.880 INFO assets: pcli::fetch: updated asset registry
Voting Power Commission Validator Info
~/c/p/penumbra (env-in-freshstart|✚1…) $ cargo run --release --bin pcli -- -n 127.0.0.1 stake list-validators -d --show-inactive
Finished release [optimized] target(s) in 0.15s
Running `target/release/pcli -n 127.0.0.1 stake list-validators -d --show-inactive`
Jan 20 12:12:31.529 INFO sync{start_height=141}: pcli::sync: starting client sync
Jan 20 12:12:31.538 INFO sync{start_height=141}: pcli::sync: syncing... height=142
Jan 20 12:12:31.539 INFO sync{start_height=141}: pcli::sync: finished sync end_height=152
Jan 20 12:12:31.545 INFO assets: pcli::fetch: updated asset registry
Voting Power Commission Validator Info
NaN% 484bps Penumbra Labs CI
penumbravalid1kqctk6dlw9pex0vl7mtmjsflmdy032uv05ekk6uexvcs3l6p8yfq2lhwhr
https://penumbra.zone
This is a validator run by Penumbra Labs, using testnets as a public CI
~/c/p/penumbra (env-in-freshstart|✚1…) $ cargo run --release --bin pcli -- -n 127.0.0.1 stake delegate 500000penumbra --to penumbravalid1kqctk6dlw9pex0vl7mtmjsflmdy032uv05ekk6uexvcs3l6p8yfq2lhwhr
Finished release [optimized] target(s) in 0.13s
Running `target/release/pcli -n 127.0.0.1 stake delegate 500000penumbra --to penumbravalid1kqctk6dlw9pex0vl7mtmjsflmdy032uv05ekk6uexvcs3l6p8yfq2lhwhr`
Jan 20 12:13:10.155 INFO sync{start_height=152}: pcli::sync: starting client sync
Jan 20 12:13:10.166 INFO sync{start_height=152}: pcli::sync: syncing... height=153
Jan 20 12:13:10.194 INFO sync{start_height=152}: pcli::sync: finished sync end_height=188
Jan 20 12:13:10.199 INFO assets: pcli::fetch: updated asset registry
Jan 20 12:13:10.613 INFO submit_transaction: pcli::network: broadcasting transaction...
Jan 20 12:13:10.685 INFO submit_transaction: pcli::network: {"jsonrpc":"2.0","id":-1,"result":{"code":0,"data":"","log":"","codespace":"","mempool_error":"","hash":"2EADD0C66789FE11C655A1AC0C3C3AE04A09F2E12A968DAB8DED74F6C90CDFAA"}}
~/c/p/penumbra (env-in-freshstart|✚1…) $ cargo run --release --bin pcli -- -n 127.0.0.1 balance
Finished release [optimized] target(s) in 0.14s
Running `target/release/pcli -n 127.0.0.1 balance`
Jan 20 12:13:16.724 INFO sync{start_height=188}: pcli::sync: starting client sync
Jan 20 12:13:16.739 INFO sync{start_height=188}: pcli::sync: syncing... height=189
Jan 20 12:13:17.116 INFO sync{start_height=188}: pcli::sync: finished sync end_height=194
Jan 20 12:13:17.123 INFO assets: pcli::fetch: updated asset registry
Total
100cube
20000gm
20000gn
10000pizza
499714.64295delegation_penumbravalid1kqctk6dlw9pex0vl7mtmjsflmdy032uv05ekk6uexvcs3l6p8yfq2lhwhr
500000penumbra
~/c/p/penumbra (env-in-freshstart|✚1…) $ cargo run --release --bin pcli -- -n 127.0.0.1 stake show
Finished release [optimized] target(s) in 0.14s
Running `target/release/pcli -n 127.0.0.1 stake show`
Jan 20 12:13:31.025 INFO sync{start_height=194}: pcli::sync: starting client sync
Jan 20 12:13:31.046 INFO sync{start_height=194}: pcli::sync: syncing... height=195
Jan 20 12:13:31.048 INFO sync{start_height=194}: pcli::sync: finished sync end_height=207
Jan 20 12:13:31.053 INFO assets: pcli::fetch: updated asset registry
Name Value Exch. Rate Tokens
Penumbra Labs CI 499999.999999penumbra 1.0006 499714.64295delegation_penumbravalid1kqctk6dlw9pex0vl7mtmjsflmdy032uv05ekk6uexvcs3l6p8yfq2lhwhr
Unbonded Stake 500000penumbra 1.0000 500000penumbra
Total 999999.999999penumbra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment