Skip to content

Commit

Permalink
Merge pull request #1249 from cosmos/bucky/updates
Browse files Browse the repository at this point in the history
Bucky/updates
  • Loading branch information
ebuchman authored Jun 13, 2018
2 parents 73d6fc4 + 0180a5b commit 7ebeff1
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
35 changes: 35 additions & 0 deletions cmd/gaia/cmd/gaiadebug/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Gaiadebug

Simple tool for simple debugging.

We try to accept both hex and base64 formats and provide a useful response.

Note we often encode bytes as hex in the logs, but as base64 in the JSON.

## Pubkeys

The following give the same result:

```
gaiadebug pubkey TZTQnfqOsi89SeoXVnIw+tnFJnr4X8qVC0U8AsEmFk4=
gaiadebug pubkey 4D94D09DFA8EB22F3D49EA17567230FAD9C5267AF85FCA950B453C02C126164E
```

## Txs

Pass in a hex/base64 tx and get back the full JSON

```
gaiadebug tx <hex or base64 transaction>
```

## Hack

This is a command with boilerplate for using Go as a scripting language to hack
on an existing Gaia state.

Currently we have an example for the state of gaia-6001 after it
[crashed](https://github.com/cosmos/cosmos-sdk/blob/master/cmd/gaia/testnets/STATUS.md#june-13-2018-230-est---published-postmortem-of-gaia-6001-failure).
If you run `gaiadebug hack $HOME/.gaiad` on that
state, it will do a binary search on the state history to find when the state
invariant was violated.
6 changes: 6 additions & 0 deletions cmd/gaia/testnets/STATUS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# TESTNET STATUS

## *June 13, 2018, 17:00 EST* - Gaia-6002 is making blocks!

- Gaia-6002 is live and making blocks
- Absent validators have been slashed and revoked
- Currently live with 17 validators

## *June 13, 2018, 4:30 EST* - New Testnet Gaia-6002

- After fixing bugs from gaia-6001, especially [issue
Expand Down

0 comments on commit 7ebeff1

Please sign in to comment.