Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.25.0 (second try) #2603

Merged
merged 981 commits into from
Oct 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
981 commits
Select commit Hold shift + click to select a range
c973032
...
rigelrozanski Oct 9, 2018
e251088
Merge PR #2452: Fix LCD Validator Initialization
cwgoes Oct 9, 2018
963bcaf
Fix IBC paper link
cwgoes Oct 9, 2018
6d4975e
R4R: Fix simulation proposer (#2460)
cwgoes Oct 9, 2018
fc9bafb
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribu…
rigelrozanski Oct 10, 2018
151a81e
staking changes test_cover fixes
rigelrozanski Oct 10, 2018
ace19d9
Merge branch 'rigel/fee-distribution' of https://github.com/cosmos/co…
rigelrozanski Oct 10, 2018
52316d9
fix initialization of the test
rigelrozanski Oct 10, 2018
22de856
fix distr initialization
rigelrozanski Oct 10, 2018
9e334af
Lock binary dependencies to a specific commits / versions
ValarDragon Oct 10, 2018
58bedad
Update changelog
ValarDragon Oct 10, 2018
0397540
Merge branch 'develop' into joon/paramstore-refactor-base
mossid Oct 10, 2018
5c92a54
rename store subspace, add WithTypeTable
mossid Oct 10, 2018
3b5e57b
ctx with proposer, working through allocation test
rigelrozanski Oct 10, 2018
0f4a03b
Alessio/server refactor (#2472)
alessio Oct 10, 2018
0ef1582
Disable unparam
cwgoes Oct 10, 2018
7d45998
Merge PR #2461: Fix IBC paper link
cwgoes Oct 11, 2018
900a5f4
keeper_test
rigelrozanski Oct 11, 2018
f4f39ae
allocation tests
rigelrozanski Oct 11, 2018
8e378e2
got basic delegation tests working
rigelrozanski Oct 11, 2018
8cb6d10
TestWithdrawDelegationRewardWithCommission
rigelrozanski Oct 11, 2018
176ea76
Fix circle ci
ValarDragon Oct 11, 2018
b921ed2
Merge PR #2248: Fix PrefixIterator
cwgoes Oct 11, 2018
dbd4f30
Merge branch 'develop' into dev/lock_tools
cwgoes Oct 11, 2018
8201c92
fix bugs
ValarDragon Oct 11, 2018
586c191
Merge branch 'dev/lock_tools' of github.com:cosmos/cosmos-sdk into de…
ValarDragon Oct 11, 2018
42c7a09
Merge branch 'develop' into joon/paramstore-refactor-base
mossid Oct 11, 2018
674d3d6
fix gaiadebug
mossid Oct 11, 2018
62feae8
fix missed conflict
mossid Oct 11, 2018
a703e6e
Use tendermint/lint :(
ValarDragon Oct 11, 2018
f6e92df
Create signing info struct on validator bond hook
cwgoes Oct 11, 2018
b55f29f
Update PENDING.md
cwgoes Oct 11, 2018
5fd7297
Count missed blocks instead of signed blocks
cwgoes Oct 11, 2018
8c2c9db
Update block height on validator bonding
cwgoes Oct 11, 2018
6e4a8d9
Update spec
cwgoes Oct 11, 2018
c653053
Merge PR #2468: fix bounds checking and missing return
WALL-E Oct 12, 2018
f3c0496
TestWithdrawDelegationRewardsAll
rigelrozanski Oct 12, 2018
a60b91b
bugfix form TestWithdrawDelegationRewardTwoDelegatorsUneven
rigelrozanski Oct 12, 2018
94731a5
some validator dist tests
rigelrozanski Oct 12, 2018
7b1f4a8
finished off validator tests
rigelrozanski Oct 12, 2018
dba20d1
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribu…
rigelrozanski Oct 12, 2018
06fa518
address @cwgoes comments, add in precommit calculation
rigelrozanski Oct 12, 2018
69b7519
Merge branch 'develop' into cwgoes/fix-signing-info-bugs
cwgoes Oct 12, 2018
a83535a
Greater than to greater than or equal to
cwgoes Oct 12, 2018
bdfb10f
Clarify testcase
cwgoes Oct 12, 2018
1ff2e86
Back to greater than
cwgoes Oct 12, 2018
7e9c39e
Merge PR #2464: Lock binary dependencies to a specific commits / vers…
cwgoes Oct 12, 2018
f8486ae
Add deposits endpoint and tests
Oct 13, 2018
b6a9457
PENDING
Oct 13, 2018
b110918
add header
Oct 13, 2018
dd8b574
Merge PR #2232: Paramstore Refactor Base
cwgoes Oct 13, 2018
fb78f1d
add docs, fix GetSubspace, address comments
mossid Oct 13, 2018
73d83b0
typo
mossid Oct 13, 2018
6c9e71b
Merge PR #2451: implement validator queue
sunnya97 Oct 15, 2018
2ece2ff
address @cwgoes comments
rigelrozanski Oct 15, 2018
5de0c9a
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribu…
rigelrozanski Oct 15, 2018
2b70165
test deposit values
Oct 15, 2018
63f8669
Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into f…
Oct 15, 2018
8e1d0fb
Add option to indent response
Oct 15, 2018
6dc6a78
fix import
Oct 15, 2018
db7b1c8
Merge PR #2488: Add Query Proposal's deposits endpoint
cwgoes Oct 15, 2018
8c978d2
add tests and restriction for TypeTable
mossid Oct 15, 2018
9d809d7
Merge branch 'develop' into joon/2406-move-linear
mossid Oct 15, 2018
2c4d9a0
Merge branch 'develop' into cwgoes/fix-signing-info-bugs
cwgoes Oct 15, 2018
fa372d3
Test correct JailedUntil
cwgoes Oct 15, 2018
27b8322
split test
mossid Oct 15, 2018
c903f39
update PENDING
mossid Oct 15, 2018
6e0f3d6
Update function names to clarify semantics
cwgoes Oct 15, 2018
047c3d1
Merge branch 'develop' into joon/2490-copy-godocs
mossid Oct 15, 2018
096a8bb
Further clarification of nomenclature
cwgoes Oct 15, 2018
9ec35a0
Clear array when validator is jailed
cwgoes Oct 15, 2018
ec53a14
Fix testcases
cwgoes Oct 15, 2018
2f4a01b
address @ValarDragon comments, param store update
rigelrozanski Oct 15, 2018
43e4396
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribu…
rigelrozanski Oct 15, 2018
076053d
proposer reward params to global param
rigelrozanski Oct 15, 2018
eaecde2
test_utils >:(
rigelrozanski Oct 15, 2018
83f7a4c
Bugfix; update slashing spec
cwgoes Oct 15, 2018
03b9260
oh
rigelrozanski Oct 15, 2018
e3fa982
Fix linter warning
cwgoes Oct 15, 2018
7bf8a41
Fix typo
cwgoes Oct 15, 2018
c0c5e29
iter.Close()
cwgoes Oct 15, 2018
f987750
Address @rigelrozanski comments
cwgoes Oct 15, 2018
6164640
Merge PR #2491: Paramstore Followup
cwgoes Oct 15, 2018
1674625
Update PENDING.md
cwgoes Oct 16, 2018
2fff810
This PR now will do something else
cwgoes Oct 16, 2018
c0ce451
Merge #2500: Block conflicting redelegations
cwgoes Oct 16, 2018
32e0f14
rework to correctly use previous vote info
rigelrozanski Oct 16, 2018
d0a00b4
add Google Analytics for documentation pages
nylira Oct 16, 2018
2803830
Merge PR #2236: Distr-PR-5 Implement Distribution
cwgoes Oct 16, 2018
20cc13e
types: Dec.MarshalJSON now marshals as a normal decimal string
ValarDragon Oct 16, 2018
3f59cf1
Merge branch 'develop' into cwgoes/fix-signing-info-bugs
cwgoes Oct 16, 2018
7d46b8b
Alphanumeric parameter keys
cwgoes Oct 16, 2018
0d11043
Fix merge rename
cwgoes Oct 16, 2018
55f4f61
Merge PR #2480: Fix signing info handling bugs & faulty slashing
cwgoes Oct 16, 2018
abef57a
Utilize Tendermint power instead
cwgoes Oct 16, 2018
d8038fc
Update testcases & pending
cwgoes Oct 16, 2018
79ce52a
Merge PR #2458: Move linear to store
cwgoes Oct 16, 2018
b70c26a
Merge PR #2508: Fix validator power key
cwgoes Oct 16, 2018
67258c4
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 16, 2018
b700107
Add simulated distribution msgs
cwgoes Oct 16, 2018
1d4b595
Correctly set power in vote info
cwgoes Oct 16, 2018
8d59b51
fix the weird non-alphanumeric key issue
ValarDragon Oct 17, 2018
070bda3
Merge PR #2515: Fix gov deposit query lcd non-determinism
sunnya97 Oct 17, 2018
e419396
fixed time key marshal (#2516)
sunnya97 Oct 17, 2018
b51d41a
added sdk time format tests, const, and removed duplicate in stake mo…
sunnya97 Oct 17, 2018
e5b664f
fixed naming for proposal id and time
Oct 17, 2018
2514d6d
Merge branch 'develop' into nylira-patch-1
cwgoes Oct 17, 2018
8ea1bbb
Merge PR #2502: Add Google Analytics for documentation pages
cwgoes Oct 17, 2018
c4b9b45
Merge PR #2519: Fixed naming for proposal id and time
cwgoes Oct 17, 2018
c961a68
Merge PR #2517: SDK Sortable Time Format Test
cwgoes Oct 17, 2018
1ee8dee
Merge PR #2090: Improve crypto/keys and add `keys mnemonic` and `keys…
ebuchman Oct 17, 2018
e845569
Merge PR #2496: Add example to Swagger specification for /keys/seed
NodeGuy Oct 17, 2018
2e59e26
Merge PR #2510: Update PRIORITIES.md
jackzampolin Oct 17, 2018
ad05d7c
Merge PR #2523: Remove 'import "C"' from client/utils package
alessio Oct 17, 2018
ce23ad4
Merge PR #2447: Cleanup docs/light
zramsay Oct 18, 2018
74780c6
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 18, 2018
a7e6969
Merge PR #2493: Fix service provider docs
gamarin2 Oct 18, 2018
f527163
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 18, 2018
505c356
Merge PR #2514: Refactor validator deletion
sunnya97 Oct 18, 2018
e099491
Merge PR #2526: Distribution fixes from simulation
cwgoes Oct 18, 2018
06c7e27
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 18, 2018
25ce0de
Update stake module simulation and fix linter errors
cwgoes Oct 18, 2018
42ae267
Simulation fixes work-in-progress
cwgoes Oct 19, 2018
4779359
Linter, enable simulated distribution msgs again
cwgoes Oct 19, 2018
d21f93a
Simulation debugging contd.
cwgoes Oct 19, 2018
ad355d6
Merge PR #2444: Standardize REST error responses
fedekunze Oct 19, 2018
c3d3a79
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 19, 2018
593921d
Merge PR #2524: Replace GenTx with StdTx
alessio Oct 19, 2018
375e821
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 19, 2018
b48d0d5
Merge PR #2527: Minting
rigelrozanski Oct 19, 2018
22cb698
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 19, 2018
d9916f9
bugfix (#2535)
rigelrozanski Oct 19, 2018
4f719d6
Remove the print statement
cwgoes Oct 19, 2018
6c9ad8c
Add sanity checks
cwgoes Oct 19, 2018
2e8f354
Fixup stake hooks (hopefully...)
cwgoes Oct 19, 2018
843ccaf
Remove comment
cwgoes Oct 19, 2018
1afb5bf
Simulate minting, fix bug where pool was not updated
cwgoes Oct 19, 2018
dc13a0c
Use InflateSupply instead
cwgoes Oct 19, 2018
a6ef3c4
use power instead of total tokens
rigelrozanski Oct 19, 2018
7770aec
Withdraw rewards on bonded to unbonding
cwgoes Oct 19, 2018
255a6a5
Cleanup to one hook
cwgoes Oct 19, 2018
57277d1
Merge PR #2537: Staking REST utils refactor and querier tests (pt 1 r…
fedekunze Oct 19, 2018
c88fc48
Fix linter issues
cwgoes Oct 19, 2018
c9e5c32
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 19, 2018
6c623b2
#1255 make keybase opened with readonly option to support better para…
ackratos Oct 13, 2018
15371dc
Validator redelegation endpoint and querier
Oct 20, 2018
9cdd2d0
PENDING and minor querier test
Oct 20, 2018
5e1720b
Added LCD tests
Oct 20, 2018
8999a4d
Add validator unbonds
Oct 20, 2018
864d7b6
Update PENDING
Oct 20, 2018
73bfd6c
Merge branch 'develop' into dev/change_dec_marshaljson
ValarDragon Oct 20, 2018
152b3bd
Split delegator summary endpoint
Oct 20, 2018
fea21ac
PENDING
Oct 20, 2018
debed9c
Fixed exported queriers
Oct 20, 2018
c2d6892
Switch to new Decimal.String() implementation
ValarDragon Oct 20, 2018
864ca4e
Merge branch 'dev/change_dec_marshaljson' of github.com:cosmos/cosmos…
ValarDragon Oct 20, 2018
3af2a09
Delete Delegation
Oct 20, 2018
77d7fb0
add comment
Oct 20, 2018
1a463eb
make more clear
ValarDragon Oct 21, 2018
cca2f9d
Merge PR #2506: types: Dec.MarshalJSON now marshals as a normal decim…
cwgoes Oct 21, 2018
6014089
Rename AccountMapper to AccountKeeper
Oct 21, 2018
17cf2ac
Refresh PENDING.md
Oct 21, 2018
a4c7faa
Mark --to and --amount flags required for gaiacli tx send
Oct 21, 2018
3fa5778
Update naming (BondedValidatorIndex->ValidatorsBondedIndex) and add s…
jaekwon Oct 21, 2018
17b8100
Merge PR #2548: Mark --to and --amount flags required for gaiacli tx …
cwgoes Oct 21, 2018
3e22a36
Merge PR #2545: Rename AccountMapper to AccountKeeper
cwgoes Oct 21, 2018
5aae474
Merge PR #2542: validator outgoing redelegations and unbonding delega…
cwgoes Oct 21, 2018
015b829
GetValidatorsBonded -> LastValidators etc
jaekwon Oct 21, 2018
5416af8
LastValidatorPower -> LastValidator
jaekwon Oct 21, 2018
1cc7432
Replicate Rigel's changes but w/ modifications as discussed + some na…
jaekwon Oct 22, 2018
77177b2
Merge develop and conflicts
Oct 22, 2018
19225fc
Print debugging info
jaekwon Oct 22, 2018
4ed4c99
More redelegation unit tests
Oct 22, 2018
06d0198
Added querier tests
Oct 22, 2018
8415d80
export validator unds and reds queriers
Oct 22, 2018
301fdf4
test cleanup
Oct 22, 2018
471ddee
tweak debug output
jaekwon Oct 22, 2018
278d237
call hook on slashing
rigelrozanski Oct 22, 2018
322a029
Make gaiacli keys show multisig-ready
Oct 22, 2018
a3447cd
debug cleanup
rigelrozanski Oct 22, 2018
c4d7747
Merge remote-tracking branch 'origin/cwgoes/check-supply-in-simulatio…
rigelrozanski Oct 22, 2018
6ae767d
Update PENDING.md
Oct 22, 2018
50a2f96
Refresh Gopkg.lock
Oct 22, 2018
8d24465
Run make format
Oct 22, 2018
ca049fd
Add some docs
Oct 22, 2018
64f2235
Delete comment
Oct 22, 2018
bcc3192
correct LastValidatorPower
rigelrozanski Oct 22, 2018
add15b5
Merge review comments/changes
Oct 22, 2018
44a6c21
Add tests
Oct 22, 2018
e088c8b
Merge pull request #2552 from cosmos/jae/check-supply-in-simulation
rigelrozanski Oct 22, 2018
322d0b7
Fix typo in json output for basecoin and democoin
jackzampolin Oct 22, 2018
c3008d5
Add more useful logging
jaekwon Oct 22, 2018
230c69b
Validate threshold rather than letting it panic
Oct 23, 2018
7f43860
Merge branch 'cwgoes/check-supply-in-simulation' of github.com:cosmos…
cwgoes Oct 23, 2018
ea565ba
WIP intermediate...
jaekwon Oct 23, 2018
48b8775
F1 fee distribution draft 00
ValarDragon Oct 23, 2018
1630c0f
WIP intermediate...
jaekwon Oct 23, 2018
fa3730a
WIP looking for bug...
jaekwon Oct 23, 2018
617c3e8
Merge PR #2561: F1 fee distribution draft 00
rigelrozanski Oct 23, 2018
5a559f7
simulation stop early with no proposers
rigelrozanski Oct 23, 2018
8999ee8
re-enable simulation parameters
rigelrozanski Oct 23, 2018
f82d6a5
Merge pull request #2564 from cosmos/rigel/check-supply-in-simulation2
cwgoes Oct 23, 2018
5790d01
Merge remote-tracking branch 'origin/jae/check-supply-in-simulation2'…
cwgoes Oct 23, 2018
be66a49
Remove debugging print statements
cwgoes Oct 23, 2018
c14fa12
Back to 50 initially bonded
cwgoes Oct 23, 2018
5ba3768
Add query deposits cmds
Oct 23, 2018
b27e743
Update test
Oct 23, 2018
33c8238
Merge branch 'develop' into cwgoes/check-supply-in-simulation
cwgoes Oct 23, 2018
45c9d82
Merge PR #2557: typo fix
rigelrozanski Oct 23, 2018
f587b46
Update PENDING.md
cwgoes Oct 23, 2018
6bf7e02
Back to on-operation=false, update PENDING.md
cwgoes Oct 23, 2018
604de85
Remove unnecessary change, clarify amt in sim_test.go
cwgoes Oct 23, 2018
edd56be
Cleanup, additional item in PENDING.md
cwgoes Oct 23, 2018
5476b1b
Merge PR #2543: Split GET delegator endpoint
cwgoes Oct 23, 2018
990852a
Update PENDING.md
alexanderbez Oct 23, 2018
450873d
Update client/keys/utils.go
alexanderbez Oct 23, 2018
8040a56
update depositer addr
Oct 23, 2018
306fb8f
Address @rigelrozanski comments
cwgoes Oct 23, 2018
cd9373d
Make linter happy
cwgoes Oct 23, 2018
ef8aab8
Update PENDING.md
cwgoes Oct 23, 2018
6ace08b
Remove shorthand
Oct 23, 2018
cd49e97
Make "multi" const
Oct 23, 2018
3d270ba
Store last total power as sdk.Int, not sdk.Dec
cwgoes Oct 23, 2018
701a00c
Merge PR #2570: Cmds for query deposits
cwgoes Oct 23, 2018
a231bd8
Merge PR #2555: Don't acquire lock on read-only keybase
cwgoes Oct 23, 2018
60d188d
Merge PR #2501: Simulate transactions for fee distribution, simulate …
cwgoes Oct 23, 2018
d666658
Merge PR #2553: Renamed msg.Name() and msg.Type() to msg.Type() and m…
sunnya97 Oct 23, 2018
6664cd5
Fix stupid mistake
Oct 23, 2018
68f869a
s/number/weight/
Oct 24, 2018
f756b40
LastValidatorPower is also an Int
jaekwon Oct 24, 2018
9ee9e28
Merge PR #2462: Add swagger-ui for gov, stake and slashing
Oct 24, 2018
c577831
Merge PR #2554: Make `gaiacli keys show` multisig-ready
cwgoes Oct 24, 2018
a9d9eb5
Merge branch 'master' into release/v0.25.0
cwgoes Oct 24, 2018
2342621
'make format'
cwgoes Oct 24, 2018
d33cc7c
Move PENDING to CHANGELOG
cwgoes Oct 24, 2018
075ddce
Linkify changelog
cwgoes Oct 24, 2018
23f62f7
Fix db write perm
Oct 24, 2018
507438b
Additional cleanup
Oct 24, 2018
ebca085
Merge pull request #2593 from cosmos/bez/fix-keys-new-perm
alessio Oct 25, 2018
2a279e9
Remove logs from prior debugging
cwgoes Oct 25, 2018
3ccc06a
Merge pull request #2590 from cosmos/release/v0.25.0
cwgoes Oct 25, 2018
0f1fb17
Merge PR #2599 from cosmos/jae/dist_refactor
jaekwon Oct 26, 2018
d71f38b
Merge PR #2597: Add distribution accum invariants
rigelrozanski Oct 26, 2018
0b51060
PENDING.md => CHANGELOG.md
cwgoes Oct 26, 2018
331b8ee
Manually linkify
cwgoes Oct 26, 2018
08fa597
Manually fix some links
cwgoes Oct 26, 2018
cce48dc
Docs fixes in progress while running through the release process
cwgoes Oct 26, 2018
8288490
More docs fixes
cwgoes Oct 26, 2018
860245e
'--voter' is no longer required
cwgoes Oct 26, 2018
9c28c69
Rectify validator setup documentation
cwgoes Oct 26, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
112 changes: 75 additions & 37 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
defaults: &defaults
working_directory: /go/src/github.com/cosmos/cosmos-sdk
docker:
- image: circleci/golang:1.10.3
- image: circleci/golang:1.11.1
environment:
GOBIN: /tmp/workspace/bin

Expand Down Expand Up @@ -39,62 +39,62 @@ jobs:
paths:
- bin
- profiles
- save_cache:
key: v1-pkg-cache
paths:
- /go/pkg
- save_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
paths:
- /go/src/github.com/cosmos/cosmos-sdk

lint:
<<: *defaults
parallelism: 1
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v1-pkg-cache
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run:
name: Get metalinter
command: |
export PATH="$GOBIN:$PATH"
make get_tools
make get_dev_tools
- run:
name: Lint source
command: |
export PATH="$GOBIN:$PATH"
make test_lint

test_cli:
integration_tests:
<<: *defaults
parallelism: 1
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v1-pkg-cache
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run:
name: Test cli
command: |
export PATH="$GOBIN:$PATH"
make test_cli
make test_examples

test_sim_modules:
<<: *defaults
parallelism: 1
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v1-pkg-cache
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run:
name: Test individual module simulations
command: |
Expand All @@ -107,10 +107,12 @@ jobs:
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v1-pkg-cache
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run:
name: Test individual module simulations
command: |
Expand All @@ -123,32 +125,55 @@ jobs:
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v1-pkg-cache
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run:
name: Test full Gaia simulation
command: |
export PATH="$GOBIN:$PATH"
make test_sim_gaia_fast

test_sim_gaia_multi_seed:
<<: *defaults
parallelism: 1
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run:
name: Test multi-seed Gaia simulation
command: |
export PATH="$GOBIN:$PATH"
make test_sim_gaia_multi_seed

test_cover:
<<: *defaults
parallelism: 4
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v1-pkg-cache
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p /tmp/logs
- run:
name: Run tests
command: |
export PATH="$GOBIN:$PATH"
make install
export VERSION="$(git describe --tags --long | sed 's/v\(.*\)/\1/')"
for pkg in $(go list github.com/cosmos/cosmos-sdk/... | grep -v github.com/cosmos/cosmos-sdk/cmd/gaia/cli_test | grep -v '/simulation' | circleci tests split --split-by=timings); do
id=$(basename "$pkg")
GOCACHE=off go test -timeout 8m -race -coverprofile=/tmp/workspace/profiles/$id.out -covermode=atomic "$pkg" | tee "/tmp/logs/$id-$RANDOM.log"
Expand All @@ -166,8 +191,12 @@ jobs:
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run:
name: gather
command: |
Expand Down Expand Up @@ -196,6 +225,12 @@ jobs:
- run:
name: run localnet and exit on failure
command: |
pushd /tmp
wget https://dl.google.com/go/go1.11.linux-amd64.tar.gz
sudo tar -xvf go1.11.linux-amd64.tar.gz
sudo rm -rf /usr/local/go
sudo mv go /usr/local
popd
set -x
make get_tools
make get_vendor_deps
Expand All @@ -212,7 +247,7 @@ workflows:
- lint:
requires:
- setup_dependencies
- test_cli:
- integration_tests:
requires:
- setup_dependencies
- test_sim_modules:
Expand All @@ -224,6 +259,9 @@ workflows:
- test_sim_gaia_fast:
requires:
- setup_dependencies
- test_sim_gaia_multi_seed:
requires:
- setup_dependencies
- test_cover:
requires:
- setup_dependencies
Expand Down
19 changes: 11 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

- Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/cosmos-sdk/blob/develop/CONTRIBUTING.md#pr-targeting))

- [ ] Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Updated all relevant documentation (`docs/`)
- [ ] Updated all relevant code comments
- [ ] Wrote tests
- [ ] Added entries in `PENDING.md` that include links to the relevant issue or PR that most accurately describes the change.
- [ ] Updated `cmd/gaia` and `examples/`
___________________________________
- [ ] Updated relevant documentation (`docs/`)
- [ ] Added entries in `PENDING.md` with issue #
- [ ] rereviewed `Files changed` in the github PR explorer

______

For Admin Use:
- [ ] Added appropriate labels to PR (ex. wip, ready-for-review, docs)
- [ ] Reviewers Assigned
- [ ] Squashed all commits, uses message "Merge pull request #XYZ: [title]" ([coding standards](https://github.com/tendermint/coding/blob/master/README.md#merging-a-pr))
- Added appropriate labels to PR (ex. wip, ready-for-review, docs)
- Reviewers Assigned
- Squashed all commits, uses message "Merge pull request #XYZ: [title]" ([coding standards](https://github.com/tendermint/coding/blob/master/README.md#merging-a-pr))
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
.DS_Store
*.swp
*.swo
*.swl
*.swm
*.swn
.vscode
.idea

# Build
vendor
.vendor-new
build
tools/bin/*
examples/build/*
Expand All @@ -16,6 +20,7 @@ docs/_build
examples/basecoin/app/data
baseapp/data/*
client/lcd/keys/*
client/lcd/statik/statik.go
mytestnet

# Testing
Expand All @@ -34,3 +39,8 @@ vagrant

# Graphviz
dependency-graph.png

# Latex
*.aux
*.out
*.synctex.gz
Loading