Commit Graph

259 Commits

Author SHA1 Message Date
Jeremiah Andrews 43b9cc6df0 Merge PR #1533: Pruning Cleanup 2018-07-13 03:20:26 +02:00
Alexander Bezobchuk 5983a07fb6 Merge PR #1599: Implementation of TraceKVStore 2018-07-13 01:58:51 +02:00
mossid bc12880394 Merge pull request #1379: Account constructor in AccountMaper
fix

fix democoin

fix tests

pass lint

last fix

apply requests

fix build failing

fix docs
2018-07-09 20:29:14 -07:00
sunnya97 7ac220beb6 asdf 2018-07-09 00:59:51 -07:00
Joon 22ec6ad98d Merge pull request #1532 : Add Codec.Seal
fix wire
2018-07-05 12:04:21 -04:00
Aleksandr Bezobchuk e3e58435eb Merge branch 'develop' into bez/1269-basecoind-start-failure 2018-07-02 18:59:34 -04:00
Aleksandr Bezobchuk 61ce80135a Merge pull request #1509: Fix basecoin Example 2018-07-02 18:46:12 -04:00
Ethan Buchman f78f30c67a update for tm v0.22.0. tmlibs->tendermint/libs 2018-07-02 16:34:06 -04:00
Dev Ojha 955a0c9af7 Switch asserts to require (#1483)
* meta: Switch the majority of asserts to require

Switch most assert statements to require, to ease debugging.
Closes #1418

* Fix imports
2018-06-30 03:10:15 +02:00
Dev Ojha 097dd8a164 tools: Add unparam linter (#1443)
* tools: Add unparam linter

unparam detects unused parameters in functions, and a parameter to
a function which only ever takes on one value. The latter is an
indication that more tests are required.

There are many nolints in this PR, as I believe that writing tests
to fix alot of these situations is out of scope for this PR / it
will be changed in future commits. There are some nolints for
when we have to comply to normal api's.

* crypto/keys no longer used by x/gov/client/rest/rest.go
2018-06-29 18:22:24 -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
Dev Ojha ac3adff1e8 Merge PR #1438: Tools: Add errcheck linter
This linter ensures that all errors are checked.
This is disabled in the client directories, since its not needed on
those writes
2018-06-29 00:52:10 +02:00
Dev Ojha 6d9f07dfee tools: Add go vet as a linter (#1421)
* tools: add go vet

* tools: Add go vet as a linter
2018-06-27 20:32:06 -04:00
Aditya 9b4838d96e Merge PR #1367: Set ChainID on InitChain
* Added chain-id to context in InitChain
* Fix bug in test
* fmt
* Appease linter
* updated changelog
* Remove chainID hack
* setCheckState in InitChain
* Fix bug
* Fix initialization errors in example tests
* Initialize app tests with default stake genesis
* fix comments
2018-06-28 00:45:10 +02:00
Rigel 6f140d7296 Merge PR #1119: Unbonding, Redelegation
* stake/fees spec updates
* staking overview.md revisions, moving files
* docs reorganization
* staking spec state revisions
* transaction stake updates
* complete staking spec update
* WIP adding unbonding/redelegation commands
* added msg types for unbonding, redelegation
* stake sub-package reorg
* working stake reorg
* modify lcd tests to not use hardcoded json strings
* add description update
* index keys
* key managment for unbonding redelegation complete
* update stake errors
* completed handleMsgCompleteUnbonding fn
* updated to use begin/complete unbonding/redelegation
* fix token shares bug
* develop docs into unbonding
* got non-tests compiling after merge develop
* working fixing tests
* PrivlegedKeeper -> PrivilegedKeeper
* tests compile
* fix some tests
* fixing tests
* remove PrivilegedKeeper
* get unbonding bug
* only rpc sig verification failed tests now
* move percent unbonding/redelegation to the CLI and out of handler logic
* remove min unbonding height
* add lcd txs
* add pool sanity checks, fix a buncha tests
* fix ante. set lcd log to debug (#1322)
* redelegation tests, adding query functionality for bonds
* add self-delegations at genesis ref #1165
* PR comments (mostly) addressed
* cleanup, added Query LCD functionality
* test cleanup/fixes
* fix governance test
* SlashValidatorSet -> ValidatorSet
* changelog
* stake lcd fix
* x/auth: fix chainID in ante
* fix lcd test
* fix lint, update lint make command for spelling
* lowercase error string
* don't expose coinkeeper in staking
* remove a few duplicate lines in changelog
* chain_id in stake lcd tests
* added transient redelegation
* 'transient' => 'transitive'
* Re-add nolint instruction
* Fix tiny linter error
2018-06-27 04:00:12 +02:00
Sunny Aggarwal c3c570898d Merge PR #1340: Reverted ChangePubKey
* removed msgChangePubKey
* changelog
* removed setPubKey
2018-06-22 21:53:24 +02:00
Sunny Aggarwal 161cb474d4 Account Numbers for Replay Protection with Account Pruning (#1077)
* in progress
* passes current tests
* added tests and got working
* changelog and docs
* removed prints
* oops
* works!
* issue in test_cli
* number 9 number 9 number 9
* at least it does only the 9 issue now
* hallelujah it works!
* removed print statement
* rebased
* gah
2018-06-12 04:30:54 +02:00
rigelrozanski 42def02ae9 pr comments 2018-06-08 10:03:37 -07:00
rigelrozanski 61a510ed08 ... 2018-06-07 21:46:27 -07:00
rigelrozanski b5d847288d move original mock into server 2018-06-07 21:33:06 -07:00
rigelrozanski abab7c2e42 modules test within mock application 2018-06-07 20:55:14 -07:00
Christopher Goes 3fbee11ccc
Merge PR #1142: Export validators to genesis
* Validator export skeleton
* Update export command, add tests, update CHANGELOG
* Rename exportAppState to exportAppStateAndTMValidators
2018-06-06 18:38:13 +02:00
Christopher Goes be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02:00
Christopher Goes f2cf0bee14
Remove commented-out testcode 2018-06-01 23:45:30 +02:00
rigelrozanski 0ef3259a39 revised use of EndBlock/BeginBlock, basecoin updated for staking/slashing 2018-06-01 14:24:48 -07:00
rigelrozanski 952aedc4f1 get rid of candidacy references 2018-05-31 14:57:09 -07:00
Christopher Goes 95c5baf449
Rebase & squash slashing 2018-05-28 21:55:27 +02:00
Sunny Aggarwal d3bdb09ffc passes, needs tests 2018-05-25 20:29:40 -07:00
sunnya97 5d7c3af1b8 works 2018-05-23 22:09:01 -07:00
Christopher Goes 3d5b048444
Remove txGasLimit, update tests 2018-05-16 02:31:52 +02:00
Christopher Goes 4134bf922c
Address PR comments 2018-05-16 02:06:17 +02:00
Christopher Goes 1c4ed7b833
Gas-wrap ctx.KVStore 2018-05-16 01:13:48 +02:00
Christopher Goes 09517056b0
Catch out-of-gas panics 2018-05-16 01:13:48 +02:00
Sunny Aggarwal ea6d3e8efc should work maybe? 2018-05-15 16:52:30 -04:00
Christopher Goes 81ac153e7d
Fix testcase 2018-04-28 02:50:54 +02:00
rigelrozanski f7587f7847 export refactor, lcd tests borken 2018-04-27 20:47:35 -04:00
rigelrozanski 318e924145 refactor 2018-04-27 20:36:11 -04:00
Christopher Goes 67961476b4 Fix testsuite 2018-04-27 20:06:50 -04:00
Christopher Goes ad77affb53 Add IterateAccounts & account export 2018-04-27 20:04:29 -04:00
Christopher Goes 10d2e5ae40 Move generateApp & exportApp to baseapp/helpers 2018-04-27 20:04:29 -04:00
Christopher Goes 88b364d5a0 Minor bugfix 2018-04-27 20:03:43 -04:00
Christopher Goes 724c1eced5 Minor cleanup 2018-04-27 20:03:43 -04:00
Christopher Goes f92e83d2e0 Swap to general `export` command 2018-04-27 20:02:26 -04:00
rigelrozanski 260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
rigelrozanski 201908949a stake init overhaul 2018-04-26 14:26:39 -04:00
rigelrozanski d4c2d6fd4c fix cli tests 2018-04-26 14:26:39 -04:00
rigelrozanski 55c1e1dcfc init refactor 2018-04-26 14:26:39 -04:00
Christopher Goes 56ac948dc6
REST folder restructure & cleanup 2018-04-25 16:18:06 +02:00
Sunny Aggarwal 016a1c8ec9 removed seal 2018-04-22 23:36:15 -07:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00