Dev Ojha
e5e7c4fa0f
Merge PR #2303 : simulation: Add weighted operation
2018-09-12 15:16:52 +08:00
Dev Ojha
173ed6a63d
Merge PR #2282 : simulation: Switch the log method from a single string to string builders
2018-09-09 23:34:09 +08:00
ValarDragon
5ed24e44d2
simulation: Minor changes
...
Now that we properly initialize governance, a ton of governance slashing
doesn't happen in the first few blocks. Because of this, we can run through
blocks in the range (0,200) quite rapidly. This PR acknowledges that and
increases many of the default block heights.
2018-09-03 19:15:51 -07:00
ValarDragon
8a452b940a
simulation: display db size at end of simulation, add makefile entries
2018-09-01 19:09:27 -07:00
Dev Ojha
946e24d7bf
Merge PR #2152 : Make CI not update the lock file
...
* CI: Make CI not update the lock file
We want CI to be running the lock in the repo, not generating a new one.
Linting now ensures that the lock file is up to date.
* Switch to Chris' comment
* Update pending to indicate this new command
2018-08-28 12:53:56 -04:00
Christopher Goes
c37ae1d563
50 blocks now
2018-08-23 15:25:00 +02:00
Christopher Goes
efa820b8f4
Try printing output instead
2018-08-23 15:14:12 +02:00
Christopher Goes
435f0d5f8f
Decrease 'make test_sim_gaia_fast' to 100 blocks
2018-08-23 14:08:02 +02:00
Alessio Treglia
56a98cb047
Simple integration tests for {base,demo}coind
...
Closes : #1632
2018-08-22 18:17:15 +01:00
Matthew Slipper
5ce9b9af5a
Merge PR #2015 : Change gaiad testnet example output flag
...
Closes #1960 .
2018-08-21 23:28:16 -04:00
Christopher Goes
d8d17df2c5
Correctly set variables in Makefile
2018-08-21 14:22:41 +02:00
Christopher Goes
98a5844310
Makefile phony; Gopkg.lock
2018-08-20 17:06:18 +02:00
Ethan Buchman
af73b885e7
Merge branch 'develop' into bucky/merge-master
2018-08-19 16:24:45 -04:00
Christopher Goes
b8cfc1e19f
Merge PR #2068 : Minor simulation changes
2018-08-17 16:19:33 +02:00
Jack Zampolin
45bd414fc2
Run localnet on every commit ensure network reaches at least 10 blocks ( #2067 )
2018-08-16 20:23:57 +02:00
Christopher Goes
3d50567034
Merge PR #1783 : Slashing, validator set, and governance simulation
2018-08-16 17:36:15 +02:00
Avi Saranga
0adbd60dfa
Merge PR #1989 : Openbsd support
2018-08-14 10:39:27 +02:00
Dev Ojha
9997ea2243
Merge PR #2016 : dep: Fix error with scratch directory
...
If dep already sees its scratch directory (.vendor-new), dep ensure fails. This rm -rf's that directory so make get_vendor_deps doesn't fail.
2018-08-14 10:35:08 +02:00
Dev Ojha
1854430e7b
makefile: Improve error message when LEDGER_ENABLED=True & no gcc ( #2008 )
...
Closes #2005
2018-08-13 20:42:38 +02:00
ValarDragon
496c75c35a
tests: Move cli tests behind a build flag
...
This is done to make go test ./... work for people using the sdk as a sdk.
Closes #1806
2018-07-25 13:47:00 -07:00
Greg Szabo
75eeaadaae
Merge PR #1234 : Cloud network setup scripts
...
* Remotenet command for AWS and ansible fixes for all remotenet commands
* Ansible for AWS, terraform for AWS
* Moved remotenet commands to networks/ folder, created ansible playbooks and example scripts to set up remote testnets in the cloud
* Added application deployment infrastructure scripts
* Obsoleted DigitalOcean scripts, some cleanup in AWS scripts
* Changelog -> pending, disclaimer
2018-07-24 06:27:39 +02:00
Dev Ojha
6d0da9bc2a
Merge PR #1782 : tools: Re-add get_tools to makefile
2018-07-21 00:12:21 +02:00
Christopher Goes
1e5a7993ed
Environment variables => flags
2018-07-19 08:40:46 +02: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
Rigel
8e26eb73a5
Merge branch 'develop' into svaishnavy/cosmos-sdk-cli
2018-07-18 21:27:04 -04:00
Sridhar Ganesan
fcab14435d
Removing extra space that was accidentally added
2018-07-18 10:52:55 +02:00
Dev Ojha
2c81f4973f
Merge PR #1731 : tools: remove `rm -rf vendor/` from `make get_vendor_deps`
...
We now ensure that the Gopkg.lock is correct, and that the toml
doesn't depend on any branches, so this is no longer necessary.
2018-07-18 10:21:52 +02:00
Dev Ojha
6cfef64382
Merge PR #1732 : tools: add make {get, update, check}_dev_tools
...
This is so that validators can have a more minimal install, but we
can still install linters for developers. (And any other future dev
tools)
2018-07-18 10:20:24 +02:00
Christopher Goes
dcbd13c392
Environment variables
2018-07-18 09:54:41 +02:00
Christopher Goes
6c61577b0b
Misc, environment variables
2018-07-18 07:37:38 +02:00
Christopher Goes
c61b1aa591
Event stats
2018-07-18 01:27:51 +02:00
Christopher Goes
253b82f92a
Makefile changes
2018-07-18 00:04:10 +02:00
Christopher Goes
eda7eb48cd
Gaia simulation needs internal field access
2018-07-17 23:06:30 +02:00
Sridhar Ganesan
1603804ca0
Using basecoin as the template and refactoring the command that creates the workspace setup
...
Removing templates, making changes to makefile to remove dependency on packr
2018-07-17 21:18:55 +02:00
Christopher Goes
a6dd96db4d
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
2018-07-17 02:23:10 +02:00
Sridhar Ganesan
07ddbae7a3
Adding install_cosmos-sdk-cli to target all
2018-07-16 21:48:16 +02:00
Sridhar Ganesan
e3a54f7c28
ignoring template directory in cosmos-sdk-cli
2018-07-16 21:23:27 +02:00
Sridhar Ganesan
c0cf595221
Using packr install instead of go install
2018-07-16 21:16:39 +02:00
Sridhar Ganesan
b952331b22
Including changes to Makefile to build cosmos-sdk-cli and also ignoring linting for cosmos-sdk-cli
2018-07-16 20:45:56 +02:00
Dev Ojha
a2047c5c81
Merge PR #1687 : tools: Ensure Gopkg.lock is correct in linting
...
* tools: Ensure Gopkg.lock is correct in linting
This adds dep status to the lint process. Also fixes linting errors
that existed earlier. (not sure why they didn't show up on CI)
Closes #1574
* Update dep, use the lock file new dep version creates
2018-07-14 23:48:41 +02:00
Alexander Bezobchuk
bb1f1a21bf
Fix Cross Compile Build/Ledger Build Tag ( #1674 )
...
* Merge pull request #1674 : Fix Cross Compile Build/Ledger Build Tag
* Merge pull request #1674 : Fix Cross Compile Build/Ledger Build Tag
* Remove incorrect Ledger test
2018-07-14 04:17:53 +02:00
Christopher Goes
601251d9b8
Update Gopkg.lock & Makefile
2018-07-12 21:31:24 +02:00
Christopher Goes
53138fb36f
'make test_sim', simulation folder
2018-07-11 19:43:25 +02:00
ValarDragon
08e98d3124
tools: Switch gometalinter to use a config file
2018-07-07 12:00:06 -07: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
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