mircea-c
a55f4490f9
changed docs deployment to trigger on every push to master/develop ( #2962 )
...
* changed docs deployment to trigger on every push to master/develop
* updated PENDING.md
2018-11-30 07:15:04 -08:00
Christopher Goes
b2b026b5e0
Merge PR #2930 : Simulation spring cleaning
...
* Update PENDING.md
* Add simple period for expensive invariants
* Remove individual module simulations
* Simulate a few more blocks
* Add README explaining reason for shell scripts
* Deduplicate scripts, log exact replication command on failure
* Refactor invariants to take sdk.Context instead of baseapp.BaseApp
* Reference all issues in PENDING.md entry
* Remove no longer used simulation.RandSetup
* Bug fixes
* Address @rigelrozanski comments
* Fix typo
2018-11-29 16:17:10 +01:00
Christopher Goes
ad121f1498
Add a flag to export for zero-height start ( #2827 )
...
Closes #2812
This PR adds the flag --for-zero-height to gaiad export, which runs several alterations to the application state to prepare for restarting a new chain in a consistent fashion.
It also:
* Moves Gaia's export code to cmd/gaia/app/export.go for cleaner separation.
* Fixes an inconsistency where we treated the initChainer as happening at height -1 - it should now happen at height 0, since the first header sent by Tendermint has height 1.
* Runs the runtime invariant checks on start (in initChainer)
* Adds a few auxiliary functions to clear slashing periods
* Removes the Height field from Delegation objects in x/stake, which was not used anywhere
2018-11-26 04:21:23 -08:00
mircea-c
45b0e3a7ac
Build docs in CircleCI ( #2810 )
...
* error checking the API call
* added docs build trigger to circleci job
2018-11-14 13:11:34 -08:00
Christopher Goes
94f45311a0
Fix state export/import, add to CI ( #2690 )
...
* Update slashing import/export
* More slashing.WriteGenesis
* Add test import/export to CI
* Store equality comparison.
* Fix validator bond intra-tx counter
* Set timeslices for unbonding validators
* WriteGenesis => ExportGenesis
* Delete validators from unbonding queue when re-bonded
* Hook for validator deletion, fix staking genesis tests
2018-11-08 16:28:28 -08:00
ValarDragon
176ea763c4
Fix circle ci
2018-10-10 23:34:00 -07:00
Christopher Goes
fa3b459314
Actually run multi-seed simulation
2018-10-05 14:41:12 +02:00
Christopher Goes
fdc7b4d7a5
Add default CI multi-seed sim
2018-10-05 14:33:46 +02:00
Christopher Goes
f6e3e61e07
Merge PR #2440 : Fix CircleCI
2018-10-04 15:59:04 +02:00
HaoyangLiu
9f67e8af20
Merge PR #2215 : Add swagger-ui for gaiacli lite-server
2018-10-04 13:00:24 +02:00
Alessio Treglia
10b916eb28
Merge PR #2318 : Simplify version handling, rely on git describe
2018-09-20 00:03:04 +08:00
Alessio Treglia
ceb33ca464
Rename test_cli to integration_tests
...
Move `make test_examples` into integraton_tests.
2018-08-23 08:55:05 +01:00
Alessio Treglia
56a98cb047
Simple integration tests for {base,demo}coind
...
Closes : #1632
2018-08-22 18:17:15 +01:00
Jack Zampolin
937bc8ade0
Fix issue with branches and circle
2018-08-21 14:01:17 -07: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
ValarDragon
f04deea358
CI: Reduce log output
...
This commit makes it such that circle CI only shows the module whose
tests it is currently running in the log, unless a test fails. For each
failing test, it will display all of the log output. This is done to make
our log output far more scrollable. We lose no information in debugging.
2018-07-29 14:12:38 -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
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
05ceff5212
Deterministic 'make test_sim' on CircleCI; bank test fix
2018-07-18 09:37:14 +02:00
Christopher Goes
405bb538fc
Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake
2018-07-14 02:09:41 +02:00
Rigel
3231daa4d8
remove global shares ( #1644 )
...
* wip removing pool shares
* remove PoolShares/Tokens entirely
* worked through stake/type compile error
* work through a bunch of keeper errors
* worked through compile errors
* debugging tests
* resolve compilation error
* resolved types errors
* ...
* move inflation to pool type
* ...
* stumped problem
* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation
* Rounding changed
* Update x/slashing tests for sdk.Rat BondedTokens
* testing fixes
* resolved test fixes
* cwgoes comments, changelog, lint
* cli bugfixes
* ..
* cli fixed
* spec update
* 'make format'
* cwgoes comments
* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
Christopher Goes
4623923fb8
Add 'test_sim' to CircleCI
2018-07-11 22:44:21 +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
feb3acdbe9
Merge PR #1491 : client/lcd: fix tests
...
* client/lcd: fix tests
* circle: drop test_unit. store artifacts in test_cover
* hack fix in TestUnrevoke
2018-07-01 01:32:52 +02: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
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
Sunny Aggarwal
4effa6f8d4
Merge PR #1357 : RESTful governance endpoints
...
* get deposit rest endpoint
* query proposals
* changelog
* fixed commented out headers
* fixed undeterministic tests
* increase circle test timeout
* MustBech32ifyAcc
* asdf
2018-06-28 01:49:59 +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
Christopher Goes
b098c0da74
Merge PR #1344 : Swap parallelism: 4 to parallelism: 1
2018-06-22 22:58:48 +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
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
Dev Ojha
1f88b0bf8f
Merge PR #1281 : Don't run defers if it would result in an NPE
...
* Don't run defers if it would result in an NPE
* Nuke CircleCI caches
2018-06-16 09:49:55 +02:00
Christopher Goes
364bb0813f
Merge PR #1282 : Fix CircleCI
2018-06-16 05:36:01 +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
Christopher Goes
ec5fd99fc4
Move metalinter installation to lint step
2018-06-13 20:02:08 +02:00
Christopher Goes
7de746127e
Fix minor typo
2018-06-01 04:03:40 +02:00
rigelrozanski
89df36e1d4
...
2018-05-31 15:39:42 -07:00
rigelrozanski
0b6aa3c047
add test_cli to ci
2018-05-31 14:57:09 -07:00
Zach Ramsay
8b02a595f3
CI: run 'make install_examples'
2018-05-21 15:18:56 -04: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
rigelrozanski
44140a8d9e
re-enable race check for cli test
2018-04-30 23:00:49 -04:00
rigelrozanski
566563f666
ci gometalinter, also add linter failing function to test
2018-04-19 13:20:45 -04:00
Christopher Goes
4662674580
Add Golint to CircleCI
2018-04-19 14:44:23 +02:00
rigelrozanski
6f65867154
comment out go-bash race condition
2018-04-18 14:06:49 -04:00
rigelrozanski
be93b760e7
circle make install
...
int
2018-04-18 13:23:47 -04:00
Adrian Brink
303a8e86a4
Upgrade to Circle 2.0
2018-03-21 00:55:55 +01:00