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
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
b66a5cc853
Merge PR #1455 : tools: Add make format
...
This adds a command to automatically fix gofmt and misspell errors.
2018-06-29 09:37:16 +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
2755c66545
Merge PR #1424 : tools: add unconvert linter
...
unconvert checks for unnecessary type conversions
2018-06-28 18:08:29 +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
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
15bba919e2
Merge PR #1341 : Switch gometalinter to stable
...
* Switch gometalinter to stable
* Delete empty folder
2018-06-22 22:08:50 +02:00
Dev Ojha
7f1169db4d
Merge PR #1337 : tools: Fix makefile install scripts
...
Previously, the install scripts weren't installing golint and gometalinter.
This commit fixes this, and installs tendermints linter, and the HEAD of
the gometalinter repository. Now make all should work.
2018-06-22 20:01:44 +02:00
Dev Ojha
0292a3b4d9
Merge PR #1291 : Delete unused tests
...
* Tweak retry logic on waitForHeight
* Add HTTP retry logic to LCD tests
* Simplify waitForHeight changes
* Update changelog
* Add 'make test_cli_retry', 'make test_unit_retry'
* Run test_cli_retry in CI
* Delete unused tests
2018-06-20 00:29:54 +02:00
Greg Szabo
1d568d1706
Added -tags netgo flag to statically link binary
2018-06-15 12:18:26 -07:00
Greg Szabo
73b0b489cf
Merge branch 'develop' into greg/testnet-command-2
2018-06-13 09:28:04 -07:00
Ethan Buchman
522042fd12
gaiadebug tool
2018-06-12 22:41:33 -07:00
Greg Szabo
4c5e536b31
Added testnet command and localnet targets
...
Finished testnet command and introduced localnet targets in Makefile, together with gaiadnode Docker image
Fixed function parameter list - now starts with ctx
Separated GenTxConfig into a server/config package so both the server package and the mock package can use it
Adding server/config to app package
gaiadnode Docker image
Separated GenTxConfig into a server/config package so both the server package and the mock package can use it
Adding server/config to app package
Fixes requested by Rigel
Removed commented code
Global flag fixes
2018-06-12 11:25:03 -07:00
Rigel
1b20adcd22
Merge PR #1191 : LCD cleanup / add LCD gas field
...
* remove global variables from lcd
* added make race, fix lcd race condition
* cleanup
* Five-character changelog update
2018-06-12 03:12:37 +02:00
Adrian Brink
17ab868af5
Correct graphviz command in Makefile
2018-06-01 22:50:41 -07:00
Greg Szabo
7b64a9466a
Added binary check to Makefile
2018-05-25 03:03:18 +02:00
Greg Szabo
220afc7cf4
Remotenet start/status/stop added to Makefile to create a DO validator network
2018-05-25 03:02:54 +02:00
rigelrozanski
cd689ce2c1
remove experimental bash tests from ci
...
int
Fix typo
...
2018-05-07 19:12:45 -04:00
rigelrozanski
e970dce841
circle/makefile upgraaade
2018-05-02 23:07:05 -04:00
Sunny Aggarwal
9ccee0770f
switched test to test_nopcli
2018-05-01 23:33:23 -04:00
rigelrozanski
bffb0132a5
lint fix, add make test_lint
2018-04-27 15:20:12 -04:00
rigelrozanski
3a4813ff01
added test_nocli for fast non-cli tests
2018-04-26 14:26:39 -04:00
Sunny Aggarwal
b500cfcf44
added to Makefile
2018-04-22 14:47:12 -07:00
rigelrozanski
e584d5acac
ci build -> install
...
pubkey issue
...
rebase fixes
...
2018-04-18 12:19:35 -04:00
rigelrozanski
abce3850ec
build fixes
2018-04-18 12:18:28 -04:00
rigelrozanski
179caa5768
refactor gaia with stake
2018-04-18 12:18:28 -04:00
Ethan Buchman
1f93e965fb
add log_level flag
2018-04-05 14:16:20 +03:00
Ethan Buchman
02a2008c0d
move gaia to cmd, update makefile
2018-04-05 13:08:19 +03:00
Ethan Buchman
24e1bb4f24
make install
2018-03-31 19:13:34 +03:00
Ethan Buchman
e226cb7a35
Merge branch 'develop' into cwgoes/misc-minor-fixes
2018-03-31 18:54:06 +03:00
Christopher Goes
f1af53fe30
Move 'sketchy' and 'cool' modules to democoin, which is separate from basecoin
2018-03-30 20:13:22 +02:00
Christopher Goes
bb66b852ef
Move keybase DB to ~/.basecoind/data ( closes #644 )
2018-03-29 12:04:52 +02:00
Fabian
2da9025bd3
switched delete statement and filenames
2018-03-26 11:44:13 +02:00
Adrian Brink
75674a9ec3
Implement Simple Staking as a module
...
The simple staking module allows validators to bond and add more stake
to their bond. It doesn't allow partial unbond and has no delegation.
The staking power per validator though is correctly reflected within the
consensus.
2018-03-20 12:14:35 +01:00
mossid
df3a7095f0
modify server/start_test.go and Makefile to pass ci
2018-03-19 13:29:32 +01:00
Ethan Buchman
f25c9fc06a
tools: get_tools
2018-03-08 19:48:17 +00:00
Adrian Brink
c42f036318
Fix build, just tools/ missing
2018-03-08 19:48:17 +00:00
Zaki Manian
ce689ab4f3
Switch dependency resolution to dep and update Makefile to use dep
2018-03-08 19:48:17 +00:00
Ethan Frey
66e6677281
Copy over gaiacli skeleton to basecli
2018-03-01 02:36:57 +00:00
Ethan Buchman
ed88100f15
Merge pull request #515 from cosmos/bugfix/remove-basecoin-extra-vendor
...
Remove errant basecoin vendor mess
2018-02-27 23:57:38 -05:00
Ethan Buchman
a91bcaf4f2
Merge pull request #488 from cosmos/moar-tests
...
REVIEW: baseapp: start TestInfo
2018-02-27 19:11:49 -05:00
Ethan Frey
babbf0635f
Remove errant basecoin vendor mess
2018-02-27 17:44:20 +01:00
Ethan Buchman
e4ba2f83a2
makefile: dont use sub vendor deps
2018-02-21 09:53:14 -05:00
Ethan Buchman
53812a2076
Merge pull request #490 from cosmos/basecoin-install-patch
...
basecoin get_tools
2018-02-21 00:17:46 -05:00
Zach Ramsay
c1b9721f89
coverage recipe
2018-02-20 21:13:27 +00:00
Adrian Brink
9ec5f37a02
Fix installation process for basecoind from top-level folder
...
The make build command only works if you install the dependencies first.
Previously you had to cd into examples/basecoin and run get_vendor_deps
and then cd into cosmos-sdk and then run build.
With this change a user can just run build in the top-level folder and
the dependencies are installed automatically.
2018-02-20 13:00:48 +01:00
zramsay
e1e886a0fc
s/dummy&Dummy/kvstore&KVStore/g
2018-02-19 22:17:06 +00:00
Jae Kwon
1197c6db93
Making basecoind quickly terminate - temporary workaround
2018-02-18 22:09:10 -08:00