-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #2524: Replace GenTx with StdTx
Rework the process of loading a genesis.json file to load a starting app state and set of initial transactions to process. * New function to create genesis account from MsgCreateValidator * Add arg to PrintUnsignedStdTx() to actually operate in offline mode * New func processStdTxs() * Remove gen-tx command * Cleanup, return validators as they need to be written into genesis.json * Modify gaiad init to allow auto-create of stdTx * Remove server/testnet.go * Don't load node_key.json, which might not be available * Get the txs through DeliverTx * Add app.slashingKeeper.AddValidators at the end of genesis * On InitChain(), Signature's account number must be 0 * Add (tentative?) command to generate {node_key,priv_validator}.json files * Reintroduce gaiad testnet * Prompt user for passwords * Update gaia to work with auth.StdTx * Remove test_utils, NewTestGaiaAppGenState is now deprecated * Combine --genesis-format and --generate-only * Improve sign command's --offline flag documentation * Moniker must be set * Call app.slashingKeeper.AddValidators() even if len(txs) == 0 * Refactoring, introduce gaiad init --skip-genesis, code cleanup * Drop unnecessary workaround to make lcd_tests pass * Reintroduce gentx * Simple name changes, GenesisState.Txs -> .GenTxs; OWK -> OverwriteKey; OverwriteKeys -> OverwriteKey
- Loading branch information
Showing
39 changed files
with
977 additions
and
701 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.