Commit Graph

84 Commits

Author SHA1 Message Date
Jae Kwon 5b74e1d0b6
Bez/tm0.26 update pt 2 redux (#2684)
* Update to TM v0.26.0
* Update TODOs
* Proof and verification updates
* Fix linting
* Fix key path creation
* Temporarily fix tendermint revision to make tests pass
2018-11-04 19:36:35 -08:00
Alexander Bezobchuk 50926fffff Update to TM v0.26.0 - Part I (#2679)
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
Alessio Treglia 593921d04d 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
2018-10-19 20:00:27 +02:00
Ethan Buchman 1ee8deed2b Merge PR #2090: Improve crypto/keys and add `keys mnemonic` and `keys new` commands
* crypto/keys/hd: use btcec to remove dep on tendermint

* crypto/keys/bcrypt: improve comment about fork

* crypto/keys/bip39 -> crypto/keys/bip39/fundraiser

* crypto/keys/bip39: bring in fork of tyler-smith

* crypto/keys/hd: update dep

* crypto/keys: update deps

* crypto/keys: move mintkey.go into new crypto/keys/mintkey

* crypto/keys/hd: NewParamsFromPath

* crypto/keys: keybase.Derive takes a bip39 passphrase too

* crypto/keys/hd: BIP44Params.DerivationPath

* gaiacli keys: add commands new and mnemonic

* fix lints

* minor fixes from review

* update Gopkg.toml

* add tendermint fork of golang.org/x/crypto
* pin some transitive deps

* crypto/keys/bcrypt: remove

* remove in favour of fork of golang.org/x/crypto/bcrypt at github.com/tendermint/crypto/bcrypt

* crypto/keys/bip39: remove completely

* use fork cosmos/go-bip39 instead

* Gopkg.toml: dont use master

* Pull in changes from my PR

* fixes from review

* enforce min len for --unsafe-entropy

* lint fix

* feedback from review

* fix dep
2018-10-17 13:37:58 -04:00
Dev Ojha 869d85fba5 Merge PR #2453: Update to tm version v0.25.0 2018-10-08 06:08:20 +02:00
HaoyangLiu 9f67e8af20 Merge PR #2215: Add swagger-ui for gaiacli lite-server 2018-10-04 13:00:24 +02:00
Christopher Goes 17983460b8
Merge PR #2219: Update to Tendermint 0.24 (except NextValSet offsets) 2018-10-03 17:48:23 +02:00
Matthew Slipper 2fb3493ff5 Merge PR #2223: Gaia CLI Config Command
* Allow a gaia-cli config file to be created

Closes #1613.
Closes #1275.
Closes #1956.

* Add homedir to Gopkg.toml

* Updates from code review

* Post-rebase fixes

* Update test

* Code review refactor

* Fixes from code review

* Fix import

* Fix broken test

* Fixes from rebase

* Fix formatting
2018-09-25 17:36:42 -04:00
Dev Ojha 43ccbd4185 Merge PR #2281: Update to iavl 0.11.0 2018-09-09 23:13:17 +08:00
Juan Leni a450bf7ae4 Upgrading ledger-goclient 2018-09-07 15:33:24 +02:00
Jeremiah Andrews b72f87a027 Update IAVL dependency for v0.10.0 2018-09-03 07:57:15 -07:00
Ethan Buchman 0bf061b707 update to tm v0.23.1
- fixes unbounded WAL growth
2018-08-22 16:04:26 -04:00
Juan Leni 61b49d560f Merge PR #2003: Update upstream Ledger Go client 2018-08-13 18:16:41 +02:00
Christopher Goes a56117ee74 Stage onto release/v0.24.0 (#1999)
* Set SignedBlocksWindow back to 1000

* Merge PR #1995: upgrading ledger goclient lib

* Update version/version.go
2018-08-13 09:41:53 -04:00
Ethan Buchman 0ab00c8e87 update go-amino dep 2018-08-12 20:10:40 -04:00
Dev Ojha b2a4aecc44 Upgrade to tm version 23.0. (#1927)
* Start upgrade. Currently go test ./... hangs.

* (squash this) Fix staking tests

* wip

* note what changes need to be made to make this work on tm v0.23.0

* Fix addr -> pubkey map

* cleanup code

* Fix slashing test failures except for begin blocker

* fix all slashing tests

* fix lcd tests

* Address PR comments

* add link to changelog.

* (wip) start making addrToPubkey map persisted. Since amino can't handle maps,
we have to change from what this commit is doing.

* Use the correct method of storing a map

* (squash this) address PR comments

* Did you run 'make'?

* remove gaiadebug binary
2018-08-12 03:33:48 -04:00
Christopher Goes 8f05d052f2 Merge branch 'master' into cwgoes/stage 2018-08-11 15:04:28 +02:00
Jae Kwon 23e3d5ac12 Release 0.23.1 2018-07-26 19:07:33 -07:00
Jae Kwon 55562fbaca Bump tendermint to 0.22.8. 2018-07-26 18:18:39 -07:00
Christopher Goes 02d52e4326 Hotfix/0.23.1: Tendermint 0.22.7 (#1844)
* Tendermint 0.22.7; bump patch version

* 0.23.0 -> 0.23.1; update CHANGELOG.md
2018-07-26 19:24:51 -04:00
Dev Ojha bac91f7a7b Update to tendermint v0.22.6 (#1798)
* Update to tendermint v0.22.6

- This was cherry-picked and fixed from develop
- Updates all crypto imports for changes from v0.22.5
2018-07-25 17:13:30 -04:00
Dev Ojha 5d02a743fb Update to tendermint v0.22.6-rc0 (#1798)
* Update to tendermint v0.22.6-rc0

This is comprised of updating the crypto imports / API

* (squash this) switch to v0.22.6

If this passes tests, I'll squash this commit and update the PR.
2018-07-25 16:43:37 -04:00
Ethan Buchman 90ed178c2b
Merge pull request #1685 from cosmos/bucky/fix-lcd-tests
update to tm0.22.4-rc0 and bring back lcd test
2018-07-16 16:16:55 +01:00
Dev Ojha a2047c5c81 Merge PR #1687: tools: Ensure Gopkg.lock is correct in linting
* tools: Ensure Gopkg.lock is correct in linting

This adds dep status to the lint process. Also fixes linting errors
that existed earlier. (not sure why they didn't show up on CI)

Closes #1574

* Update dep, use the lock file new dep version creates
2018-07-14 23:48:41 +02:00
Ethan Buchman f4ee940989 update to tm0.22.4-rc0 and bring back lcd test 2018-07-14 19:47:42 +01:00
Alexander Bezobchuk db7407f96e Fix Cross Compile Build/Ledger Build Tag (#1674)
* Merge pull request #1674: Fix Cross Compile Build/Ledger Build Tag
* Merge pull request #1674: Fix Cross Compile Build/Ledger Build Tag
* Remove incorrect Ledger test
2018-07-14 04:19:23 +02:00
Alexander Bezobchuk bb1f1a21bf Fix Cross Compile Build/Ledger Build Tag (#1674)
* Merge pull request #1674: Fix Cross Compile Build/Ledger Build Tag
* Merge pull request #1674: Fix Cross Compile Build/Ledger Build Tag
* Remove incorrect Ledger test
2018-07-14 04:17:53 +02:00
Ethan Buchman 3f44589861 Merge branch 'develop' 2018-07-10 20:31:05 -04:00
Ethan Buchman 080dd5b97a update protobuf to 1.1.0 2018-07-10 15:00:00 -04:00
Ethan Buchman aed1ca89aa update dep 2018-07-10 12:20:22 -04:00
Christopher Goes d26dbbd5f5 Remove unnecessary tmlibs in Gopkg.toml 2018-07-03 23:10:26 +02:00
Ethan Buchman fe7a5a01bd update iavl to remove tmlibs dep 2018-07-02 17:22:25 -04:00
Ethan Buchman f78f30c67a update for tm v0.22.0. tmlibs->tendermint/libs 2018-07-02 16:34:06 -04:00
Ethan Buchman dbabc2e79f update tendermint to fix stopping WAL 2018-07-02 14:47:58 -04:00
Ethan Buchman fa293f3a3e update dep for tm v0.22.0 2018-07-02 14:47:58 -04:00
Christopher Goes 59aadf42aa
Ledger integration (#931)
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
Christopher Goes ff09c76471
Merge PR #1383: Pin exact versions 2018-06-26 09:03:27 +02:00
Ethan Buchman 12f71876e8 update dep 2018-06-25 16:42:29 -04:00
Ethan Buchman 0ec599d634 update to tendermint v0.21.0 2018-06-25 16:03:17 -04:00
Dev Ojha 0fa28cac3b Merge PR #1248: Sync to tendermint develop's latest revision 2018-06-13 23:44:41 +02:00
Ethan Buchman 5ddcf23aca update godep 2018-06-08 21:34:26 -07:00
Ethan Buchman 2913d14239 Merge branch 'master' into develop 2018-06-08 19:31:48 -07:00
Ethan Buchman f3f2729b11 update for tm v0.19.9 2018-06-05 18:04:16 -07:00
Christopher Goes be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02:00
Zaki Manian ce850dca3b Switch from bech32cosmos to bech32 2018-06-01 16:23:58 +02:00
Christopher Goes d82683ace5
Pin to upstream versions 2018-05-31 19:54:36 +02:00
Ethan Buchman 36b3e530ab update tm to 0.17.4 2018-05-31 09:31:42 -04:00
Christopher Goes f32093e9e3
Use evidence type constants from Tendermint 2018-05-31 05:43:54 +02:00
Christopher Goes 3d37d51795
Switch to evidence type enum 2018-05-31 01:47:24 +02:00
Christopher Goes 91f14e1b48
Merge branch 'develop' into cwgoes/slashing 2018-05-29 21:39:45 +02:00