Joon
d46140a392
Merge PR #1481 : Transient Stores
2018-07-27 03:24:18 +02: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
Christopher Goes
4b7f6efd87
Merge PR #1805 : Downtime slashing off-by-one-block fix
...
* Avoid slashing & revoking no longer stored or already revoked validators for downtime
* Add testcase
* Update PENDING.md
2018-07-25 04:12:48 +02:00
Aditya
28cbca7d63
Merge branch 'develop' into aditya/cleanup
2018-07-20 17:05:12 -07:00
rigelrozanski
423d0c4a18
Merge remote-tracking branch 'origin/develop' into cwgoes/a-random-walk-down-proof-of-stake
2018-07-19 01:56:42 -04:00
Aditya Sripal
218c9b3702
Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup
2018-07-18 17:48:15 -07:00
Christopher Goes
cbf432d34c
Merge PR #1746 : Remove ctx.IsCheckTx
...
* Remove ctx.IsCheckTx
* Changelog to Pending
* Typo
* Simulate instead of Check in SignCheckDeliver
* Add descriptive comment
* Change to 'CheckTx implements ABCI'
* Alphabetize changelog
2018-07-19 02:42:19 +02:00
Aditya Sripal
81f3e794fe
make breaking changes
2018-07-18 16:24:16 -07:00
Christopher Goes
dc14eef639
Clarify 'nop', linter fix
2018-07-18 09:47:55 +02:00
Aditya Sripal
aa3a64d289
Test recover in ante
2018-07-13 10:53:12 -07:00
Aditya Sripal
98c19516c5
merge
2018-07-12 18:34:54 -07:00
Aditya Sripal
fa31165438
Refactor BaseApp without breaking change
2018-07-12 18:32:48 -07:00
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
Ethan Buchman
dd429fd5d0
democoin: fix genesis for amino
2018-07-10 23:27:47 -04: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
96bc71404e
asdf
2018-07-09 01:01:29 -07:00
sunnya97
7ac220beb6
asdf
2018-07-09 00:59:51 -07:00
ValarDragon
c708c799fd
Add print-response flag
2018-07-05 22:19:50 -07:00
ValarDragon
2197a9598b
Merge branch 'dev/add_async_flag' of github.com:cosmos/cosmos-sdk into dev/add_async_flag
2018-07-05 20:19:39 -07:00
ValarDragon
8857b69d02
Use async flag directly from context
2018-07-05 20:15:40 -07:00
Dev Ojha
be9ae47b0a
Merge branch 'develop' into dev/add_async_flag
2018-07-05 20:06:52 -07:00
ValarDragon
27a31cae44
add Async to context
2018-07-05 20:05:17 -07:00
Christopher Goes
0c47e6ffdf
Merge PR #1568 : cli: deprecate --name in favor of --from
2018-07-06 04:37:45 +02:00
ValarDragon
6f94dd64c0
cli: Add async flag to all broadcasting txs
...
closes #1436
2018-07-05 19:15:37 -07:00
Ismail Khoffi
abce54ea60
Merge branch 'develop' into sort_getsignbytes
2018-07-06 01:31:34 +01:00
ValarDragon
bf8cde1d3a
cli: deprecate --name in favor of --from
2018-07-05 17:24:02 -07:00
Liamsi
b7f902fba5
sort *all* GetSignBytes:
...
- call MustSortJSON before return JSON bytes to guarantee alphabetic
ordering
- moved SortJSON and MustSortJSON to types package to avoid cyclic
package dep
2018-07-06 01:12:57 +01:00
Christopher Goes
908fb39a65
Merge PR #1559 : Fix genesis JSON key ordering
...
Inconsistent Genesis Generation Key Order
2018-07-05 23:05:05 +02:00
Aleksandr Bezobchuk
51fdc9db2f
Merge pull request #1559 : Inconsistent Genesis Generation Key Order
2018-07-05 14:15:00 -04:00
Joon
22ec6ad98d
Merge pull request #1532 : Add Codec.Seal
...
fix wire
2018-07-05 12:04:21 -04:00
Christopher Goes
7a9bca5f33
Merge branch 'develop' into zach/docs-and-links
2018-07-04 20:32:38 +02:00
Zach Ramsay
557e652530
docs: fix dead links, closes #1508
2018-07-04 09:23:01 -04:00
Alexander Bezobchuk
0b9e0f2afc
Merge PR #1492 : Improve Module Test Coverage
...
* Merge pull request #1492 : Improve Module Test Coverage
* Revert renaming of SignCheckDeliver [#1492 ]
* Remove named fields from stake unit tests & fix comments [#1492 ]
* update for tmlibs->tendermint/libs
* Remove tmlibs dependency
2018-07-04 06:21:36 +02:00
Ethan Buchman
d388036454
Merge PR #1520 : various fixes for test_cli
...
* various fixes for test_cli
* linting
2018-07-03 06:33:53 +02: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
Christopher Goes
3654579ea7
Merge PR #1278 : Slashing v2
...
Implement semifinal Gaia slashing spec (#1263 ), less #1348 , #1378 , and #1440 which are TBD.
2018-06-30 05:34:55 +02: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
Dev Ojha
0d28eda146
Merge PR #1463 : docs: Fix dependencies, from monorepo merge
...
Closes #1456
2018-06-29 22:02:45 +02: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
3e14868bd6
Merge PR #1429 : tools: Add ineffassign linter
...
* tools: Add ineffassign linter
This errors on assignments that don't actually do anything. i.e.
x, err := myFunc(1)
y, err = myFunc(2)
This will call out that the first function's call error was never
used.
* Fix makefile, add misspell to makefile
2018-06-28 19:12:02 +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
Joon
6018e719d2
Merge PR #1069 : Oracle Module
...
fix prefixstore iterator
in progress
fix mock validator
fix NewContext
add to changelog
apply requests
fix mock
2018-06-27 19:21:12 +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
Dev Ojha
2e97baabf6
Merge PR #1358 : Fix typos and gofmt files
...
* Fix typos
* gofmt -s files
* Add mispellings and gofmt checks to circle CI
* circleci: Install misspell in the linting step
2018-06-25 20:23:17 +02:00