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
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
49f421db19
Merge PR #1332 : benchmarks: Add benchmark for block time to bank module
...
* benchmarks: Add benchmark folder, and single benchmark for block time
* Move benchmark into module
* Fix merge conflict errors
* Fix spelling
* Add instructions to run benchmark
* Update auth_app_test.go
2018-06-28 00:33:56 +02:00
Christopher Goes
8bdf06b9f6
Remove Viper from ante handler
2018-06-26 23:45:31 +02:00
Dev Ojha
893bb4027d
Merge PR #1377 : types: remove GetMemo from Tx
...
This method is an unneccessary requirement on Tx. Auth casts the Tx
to StdTx, so the memo can be obtained in previous usecases from
StdTx. This also makes it more clear for when something is
implementing StdTx vs Tx.
Resolves #1375
2018-06-26 04:37:21 +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
Sunny Aggarwal
c3c570898d
Merge PR #1340 : Reverted ChangePubKey
...
* removed msgChangePubKey
* changelog
* removed setPubKey
2018-06-22 21:53:24 +02:00
Joon
ec6acda6a4
Merge PR #1331 : Remove TxBytes from NewContext
2018-06-22 03:03:05 +02:00
Sunny Aggarwal
dc2c8f900b
Merge PR #1168 : Governance MVP
2018-06-22 02:19:14 +02:00
Aditya
f049a56376
Merge PR #1266 : Multiple messages
...
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Added ante tests for multisigner
* Remove validatorUpdates from tx result
* Better error logs
* Put Memo in StdSignBytes and formatting
* Updated changelog
2018-06-22 00:05:25 +02:00
Dev Ojha
e2d23040a8
Merge PR #1325 : Refactor Complete Setup to not take in a testing parameter
...
* Refactor Complete Setup to not take in a testing parameter
* Update changelog
2018-06-21 18:55:08 +02:00
Christopher Goes
918e217e1f
Merge PR #1280 : Implement simple transaction memos
...
* AltBytes -> Memo, memo CLI support & thread-through
* Check memo size, update changelog
* Update existing testcases
* Nuke CircleCI caches
* Charge gas proportional to memo size
* Fix gas allocations in ante handler testcases
* Add testcases
* Update changelog
* Fix tiny CLI bug & add to CLI tests
* Add '--memo' to gaiacli
* Add testcase for large memos
* Address PR comments
2018-06-20 21:27:36 +02:00
Joon
314b5a854d
Merge PR #1218 : sdk.Int in sdk.Coin
...
implement Int, Int256, Uint256
pass ci
pass ci
add to changelog, add boundcheck to test
add comments, fix cli_test.go
fix errors
apply requested changes
panics on New*WithDecimal
fix Int.BigInt()
fix stake tests
* Panic on uint division-by-zero
* Set ok=false on NewIntFromString, NewUintFromString failure
* Nuke CircleCI caches
2018-06-15 23:16:45 +02:00
Fabian
42e72956f4
Merge PR #1252 : Query node version
...
introduce non store queries
add version query
update lcd spec
changelog
moved version query into baseapp
2018-06-14 07:49:21 +02:00
David Kajpust
ec2fedd36c
Merge PR #1227 : Set all Error strings 1st letters to lowercase. Fixes issue #1154
2018-06-13 21:13:22 +02:00
Christopher Goes
5bf58ee444
Merge PR #1210 : Fix testcases (another fast-forward merge issue)
2018-06-12 09:47:59 +02:00
Rigel
dc62279ae1
Merge pull request #1200 from cosmos/cwgoes/slashing-bugfixes
...
Slashing bugfixes (start height, handler registration)
2018-06-11 20:12:02 -07: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
Fabian
8ece807301
Merge PR #1085 : Re-enable tx history in LCD
...
* reenable tx search
* removed not needed argument
* register types for decoding
* trying to fix indexing tests
* added tx hash query test
* Fix x/bank tagging
* remove dead code
* remove print
* extended tests for tx querying
* changelog
* added txs address querying
* linted
* rename
* use prefix for bech32 addresses in tags
* changed error message
* Fix tiny linter issue
2018-06-11 22:09:29 +02:00
Christopher Goes
b9c1bcbd74
Tiny linter fix
2018-06-11 03:22:38 +02:00
Christopher Goes
a4865ef6aa
Add mock.SignCheck, update testcase to assert error code
2018-06-11 03:14:20 +02:00
Dev Ojha
9c4bbf7dfd
Merge PR #1195 : gaiacli - Add error message for when account isn't found
2018-06-09 08:40:22 +02:00
Rigel
0b9751ac98
Merge pull request #1170 from cosmos/rigel/test_framework
...
mock test framework for modules
2018-06-08 13:30:24 -07:00
rigelrozanski
6af81fc62e
cleanup
2018-06-08 13:13:51 -07:00
rigelrozanski
17948ccf04
auth-mock simulate block now commits, stake app_test cleanup
2018-06-08 11:28:07 -07:00
rigelrozanski
42def02ae9
pr comments
2018-06-08 10:03:37 -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
34ec53a761
Update CHANGELOG.md, update x/auth to avoid base64
2018-06-08 01:50:59 +02:00
Fabian
5f409ce832
Merge PR #1086 : Bech32Cosmos output/input for the LCD
...
* refactored bech32ization
* updated keys endpoints for bech32
* bech32 for sending and querying
* trying to change output of validator addresses
* fixed validator output
* linted
* fixed merge conflict
* added bech32 to staking endpoints
* removed some logging statements
* added GetAccPubKeyBech32Cosmos
* fixed cli tests
* updated swagger
* merged standard bech32 change
* renamed bech32cosmos to bech32
* bech32ify json output for key add
* readded changelog
* fixed changelog merge issue
* Update CHANGELOG.md
2018-06-06 06:53:04 +02:00
Zaki Manian
ce850dca3b
Switch from bech32cosmos to bech32
2018-06-01 16:23:58 +02:00
Christopher Goes
12a7c0373a
Merge pull request #1072 from ValarDragon/dev/tx_encoding
...
Change to go-wire UnmarshalJSON for bank transactions
2018-05-31 23:51:27 +02:00
ValarDragon
0371109039
Register crypto on amino codecs, update changelog
2018-05-31 12:55:21 -07:00
ValarDragon
e9545d69ed
Switch the default modules to use wire.codec's MarshalJSON instead of json.Marshal
2018-05-31 11:51:15 -07:00
Zaki Manian
f33f49a840
Almost from scratch reimplementation of bech32cosmos integration.
2018-05-27 13:47:23 +02:00
Sunny Aggarwal
bf02cdcf97
address Chris review
2018-05-25 21:14:49 -07:00
Sunny Aggarwal
4f6c77d8cb
antehandler tests
2018-05-25 21:10:09 -07:00
Sunny Aggarwal
f81a70b315
added keeper tests
2018-05-25 20:48:27 -07: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
sunnya97
56d1c48812
in progress
2018-05-23 19:49:35 -07:00
sunnya97
cb52712660
in progress
2018-05-23 19:49:35 -07:00
rigelrozanski
e70249b631
more bucky comments, single status validator, only one store now for core validator object
2018-05-20 17:39:04 -04:00
rigelrozanski
26be2a231b
working addressed bucky comments
2018-05-18 18:57:47 -04:00
rigelrozanski
e145676fcc
revert absent validator changes
2018-05-17 10:47:25 -04:00
rigelrozanski
750cbc53ec
stake cleanup, functionality for total prevote power
2018-05-17 09:17:14 -04:00