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
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
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
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
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
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
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
Geet Kumar
17e5a48b65
Merge PR #1334 : democli: fix account query
...
* democli: fix query account
* Update changelog
2018-06-22 20:50:36 +02:00
Joon
ec6acda6a4
Merge PR #1331 : Remove TxBytes from NewContext
2018-06-22 03:03:05 +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
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
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
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
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
rigelrozanski
952aedc4f1
get rid of candidacy references
2018-05-31 14:57:09 -07:00
Christopher Goes
aed5d94b1c
Remove absent validators from sdk.NewContext
2018-05-29 02:26:17 +02: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
Ethan Buchman
4bdcad572b
remove gasLimit from NewContext
2018-05-15 22:19:09 -04: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
Christopher Goes
f0e4d24ea3
Basic gas impl, quick testcase
2018-05-16 01:13:47 +02:00
Christopher Goes
26991803ee
GasMeter & context updates
2018-05-16 01:13:47 +02:00
Christopher Goes
bef7e44f6d
Example tag implementation for CoinKeeper
2018-05-10 17:36:55 +02:00
Christopher Goes
2376f231c2
Rebase, update changelog & testcase
2018-05-01 14:00:23 +02:00
Christopher Goes
62fc3e2c49
Context-accessible logger field
2018-05-01 13:52:49 +02:00
Christopher Goes
a6589949fb
Remove unnecessary code
2018-05-01 00:19:28 +02:00
Sunny Aggarwal
af0e71fa0d
got rid of Get on Msg interface
2018-05-01 00:15:15 +02: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
5759f6ab60
Use account store key
2018-04-27 20:05:58 -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
f6cef02904
Reorder parameters & remove redundant check
2018-04-27 20:03:43 -04:00
Christopher Goes
9450779bba
InitGenesis & WriteGenesis no longer functions of keepers
2018-04-27 20:03:43 -04:00
Christopher Goes
88b364d5a0
Minor bugfix
2018-04-27 20:03:43 -04:00
Christopher Goes
9746260d1d
Add testcases
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
Christopher Goes
f71191e402
Add simple WriteGenesis for stake & cool modules
2018-04-27 20:00:58 -04:00
Christopher Goes
ff66629b68
Example WriteGenesis implementation
2018-04-27 20:00:58 -04:00
Rigel
ef88ca4c21
Merge pull request #924 from cosmos/rigel/cleanup
...
cleanup, move simplestaking to democoin
2018-04-27 19:00:45 -04:00
rigelrozanski
260ab69e4f
cleanup, move simplestaking to democoin
2018-04-26 22:59:30 -04:00
rigelrozanski
54a5869efd
added used of cobra arg constraints
2018-04-26 17:32:20 -04:00
rigelrozanski
b9477ecbbe
init refactor uses genesis transaction now
2018-04-26 14:26:39 -04:00
rigelrozanski
201908949a
stake init overhaul
2018-04-26 14:26:39 -04:00
rigelrozanski
246e4bdac3
renames
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
Christopher Goes
f8e44b5b00
Error codespacing ( #809 )
...
* Initial codespacing layout (ref #766 )
* Add codespace to Router (ref #766 )
* Implement Codespacer and update modules
* Default codespaces, testcases
* Update error formatting, codespacer tests
* Add RegisterOrPanic testcase
* Update CHANGELOG
2018-04-17 19:16:21 -07:00
Christopher Goes
474fa1dfd1
Switch to BurnFeeHandler
2018-04-17 01:06:07 +02:00
Christopher Goes
3bbb15f454
Add tx to feeHandler, move around in example apps
2018-04-16 14:58:19 +02:00
Christopher Goes
39ee95abe4
Refactor to use FeeHandler function
2018-04-16 14:15:03 +02:00
Christopher Goes
49b8978454
Swap all examples & testcases to use automatic DB namespacing
2018-04-14 17:05:50 -07:00
Christopher Goes
c7b680a545
Address PR comments
2018-04-10 11:16:30 +02:00
Christopher Goes
7383c99026
Add AutoSequence to all transaction-sending commands
2018-04-10 11:16:30 +02:00
Jae Kwon
c4bc888375
Fix almost all tests
2018-04-07 00:02:00 -07:00
Jae Kwon
6c845e4ecd
Comment Capitalization.
2018-04-06 21:48:54 -07:00
Jae Kwon
49fdf80d9d
WIP commit
2018-04-06 17:25:08 -07:00
Christopher Goes
bbda5b43dd
Update mine command usage information
2018-04-05 18:26:09 +02:00
Ethan Buchman
a21eeae5ea
democli: add cool and pow commands
2018-04-05 18:45:38 +03:00
Ethan Buchman
ebe38c91f4
Merge pull request #792 from cosmos/cwgoes/pow-module
...
Add PoW module to Democoin
2018-04-05 16:30:06 +03:00
Christopher Goes
d99f4f3c14
PoW InitGenesis; testcases
2018-04-05 15:16:54 +02:00
Christopher Goes
d47f271459
Mount store; add testcases
2018-04-05 14:13:11 +02:00
Ethan Buchman
9b5babba81
sort coins in genesis
2018-04-05 14:55:10 +03:00
Christopher Goes
21fe81720a
Merge old PoW module into Democoin
2018-04-05 13:45:58 +02:00
Ethan Buchman
1f93e965fb
add log_level flag
2018-04-05 14:16:20 +03:00
Ethan Buchman
4dfc5c0852
fix democoind init. use rootCmd
2018-04-05 13:42:04 +03:00
Ethan Buchman
9fbbdbbe0f
server: consolidate files
2018-04-05 13:31:33 +03:00
Ethan Buchman
609ea0d0f0
more daemon refactoring
2018-04-05 13:24:53 +03:00
Christopher Goes
74a2246b3e
Pass logger and config through CLI context ( closes #725 )
2018-04-05 11:20:05 +02:00