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

Breaking change #2

Merged
merged 262 commits into from
Mar 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
380afaa
docs: update ecosystem.json: add Rust ABCI (#2945)
melekes Nov 29, 2018
44b769b
types: ValidatorSet.Update preserves Accum (#2941)
ebuchman Nov 29, 2018
725ed79
Add some ProposerPriority tests (#2946)
liamsi Nov 29, 2018
dc2a338
Bucky/v0.27.0 (#2950)
ebuchman Nov 30, 2018
c4d93fd
explicitly type MaxTotalVotingPower to int64 (#2953)
liamsi Nov 30, 2018
8ef0c26
check if deliverTxResCh is still open, return an err otherwise (#2947)
melekes Dec 3, 2018
d9a1aad
docs: add client#Start/Stop to examples in RPC docs (#2939)
melekes Dec 3, 2018
222b897
Minor log changes (#2959)
ebuchman Dec 4, 2018
1bb7e31
p2p: panic on transport error (#2968)
ebuchman Dec 5, 2018
a14fd8e
p2p: fix peer count mismatch #2332 (#2969)
ebuchman Dec 5, 2018
5413c11
kv indexer: add separator to start key when matching ranges (#2925)
melekes Dec 5, 2018
9f8761d
update changelog and upgrading (#2974)
ebuchman Dec 5, 2018
9c236ff
Merge pull request #2975 from tendermint/release/v0.27.0
ebuchman Dec 5, 2018
0f96bea
Merge pull request #2976 from tendermint/master
ebuchman Dec 5, 2018
c4a1cfc
don't ignore key when executing CONTAINS (#2924)
melekes Dec 7, 2018
2f64717
return an error if validator set is empty in genesis file and after I…
leo-xinwang Dec 7, 2018
68b4678
docs: relative links in docs/spec/readme.md, js-amino lib (#2977)
zramsay Dec 7, 2018
41eaf0e
turn off strict routability every time (#2983)
melekes Dec 9, 2018
d5d0d2b
Make mempool fail txs with negative gas wanted (#2994)
ValarDragon Dec 10, 2018
f69e2c6
p2p: set MConnection#created during init (#2990)
melekes Dec 10, 2018
df32ea4
Make testing logger that doesn't write to stdout (#2997)
ValarDragon Dec 11, 2018
2594cec
add UnconfirmedTxs/NumUnconfirmedTxs methods to HTTP/Local clients (#…
danil-lashin Dec 11, 2018
8003786
docs: fixes from 'first time' review (#2999)
zramsay Dec 11, 2018
9e075d8
docs: enable full-text search (#3004)
zramsay Dec 12, 2018
bc2a9b2
mempool: add a comment and missing changelog entry (#2996)
ValarDragon Dec 12, 2018
f7e463f
circleci: add a job to automatically update docs (#3005)
Dec 12, 2018
3fbe9f2
docs: add edit on Github links (#3014)
zramsay Dec 14, 2018
f5cca9f
docs: update DOCS_README (#3019)
zramsay Dec 15, 2018
ae275d7
mempool: notifyTxsAvailable if there're txs left, but recheck=false (…
melekes Dec 15, 2018
f82a8ff
During replay, when appHeight==0, only saveState if stateHeight is al…
james-ray Dec 15, 2018
7c9e767
2980 fix cors (#3021)
ebuchman Dec 15, 2018
a75dab4
#2980 fix cors doc (#3013)
hleb-albau Dec 15, 2018
b53a271
docs: networks/docker-compose: small fixes (#3017)
melekes Dec 15, 2018
e4806f9
Bucky/v0.27.1 (#3022)
ebuchman Dec 15, 2018
1f09818
Merge pull request #3023 from tendermint/release/v0.27.1
ebuchman Dec 16, 2018
9fa9596
Merge pull request #3026 from tendermint/master
ebuchman Dec 16, 2018
9a6dd96
Revert to using defers in addrbook. (#3025)
jaekwon Dec 16, 2018
b3141d7
makeNodeInfo returns error (#3029)
ebuchman Dec 16, 2018
4a568fc
Merge pull request #3030 from tendermint/release/v0.27.2
ebuchman Dec 16, 2018
1beb455
Merge pull request #3031 from tendermint/master
ebuchman Dec 16, 2018
0533c73
crypto: revert to mainline Go crypto lib (#3027)
ebuchman Dec 16, 2018
0138530
Merge pull request #3032 from tendermint/release/v0.27.3
ebuchman Dec 16, 2018
385977d
Merge pull request #3033 from tendermint/master
ebuchman Dec 16, 2018
0ff7151
fix docs / proxy app (#2988)
zramsay Dec 17, 2018
a06912b
mempool: move tx to back, not front (#3036)
melekes Dec 17, 2018
2182f6a
update go version & other cleanup (#3018)
zramsay Dec 17, 2018
4d8f29f
set allow_duplicate_ip to false (#2992)
melekes Dec 17, 2018
30f346f
docs: add rpc link to docs navbar and re-org sidebar (#3041)
zramsay Dec 17, 2018
daddeba
circleci: update go version (#3051)
zramsay Dec 19, 2018
c510f82
mempool: move tx to back, not front (#3036)
melekes Dec 17, 2018
c6604b5
changelog and version
ebuchman Dec 21, 2018
1e1ca15
Merge pull request #3062 from tendermint/release/v0.27.4
ebuchman Dec 21, 2018
a88e283
Merge pull request #3063 from tendermint/master
ebuchman Dec 21, 2018
41e2eee
R4R: Split immutable and mutable parts of priv_validator.json (#2870)
yutianwu Dec 21, 2018
2348f38
Update node_info.go (#3059)
needkane Dec 21, 2018
6a80412
Remove privval.GetAddress(), memoize pubkey (#2948)
liamsi Dec 22, 2018
49017a5
3070 [docs] unindent text as it is supposed to behave the same as the…
srmo Jan 1, 2019
56a4fb4
add signing spec (#3061)
ebuchman Jan 3, 2019
04e97f5
fix build scripts (#3085)
husio Jan 6, 2019
616c3a4
cs: prettify logging of ignored votes (#3086)
srmo Jan 6, 2019
764cfe3
Don't use pointer receivers for PubKeyMultisigThreshold (#3100)
alessio Jan 10, 2019
7644d27
Ensure multisig keys have 20-byte address (#3103)
alessio Jan 10, 2019
51094f9
update README (#3097)
ebuchman Jan 11, 2019
81c51cd
rpc: include peer's remote IP in `/net_info` (#3052)
melekes Jan 11, 2019
7f607d0
docs: fix p2p readme links (#3109)
kmlroot Jan 11, 2019
ef94a32
Make SecretConnection thread safe (#3111)
ebuchman Jan 13, 2019
a6011c0
Close and retry a RemoteSigner on err (#2923)
liamsi Jan 13, 2019
be00cd1
Hotfix/validating query result length (#3053)
gianfelipe93 Jan 13, 2019
1895cde
[WIP] Fill in consensus core details in ADR 030 (#2696)
milosevic Jan 13, 2019
fc031d9
Bucky/v0.28.0 (#3119)
ebuchman Jan 13, 2019
1ccc091
More ProposerPriority tests (#2966)
liamsi Jan 13, 2019
1f68318
fix order of BlockID and Timestamp in Vote and Proposal (#3078)
liamsi Jan 13, 2019
ec53ce3
Simple merkle rfc compatibility (#2713)
ValarDragon Jan 13, 2019
5f93220
Adds tests for Unix sockets
thanethomson Jan 14, 2019
7b2c4bb
update ADR-020 (#3116)
ebuchman Jan 14, 2019
5f4d8e0
[log] fix year format (#3125)
melekes Jan 14, 2019
bc00a03
makefile: fix build-docker-localnode target (#3122)
melekes Jan 14, 2019
4daca1a
return maxPerPage (not defaultPerPage) if per_page is greater than ma…
melekes Jan 14, 2019
ca00cd6
Make privval listener testing generic
thanethomson Jan 15, 2019
d1afa0e
privval: fixes from review (#3126)
ebuchman Jan 15, 2019
73ea5ef
docs: update link for rpc docs (#3129)
kunaldhariwal Jan 15, 2019
308b7e3
Merge branch 'release/v0.28.0' into release/v0.28.0
thanethomson Jan 15, 2019
3191ee8
Dropping "construct" prefix as per #3121
thanethomson Jan 15, 2019
a2a62c9
Merge pull request #3121 from thanethomson/release/v0.28.0
thanethomson Jan 15, 2019
dcb8f88
add "chain_id" label for all metrics (#3123)
melekes Jan 15, 2019
d4e6720
Expanding tests to cover Unix sockets version of client (#3132)
thanethomson Jan 16, 2019
0cba0e1
update changelog and upgrading (#3133)
ebuchman Jan 16, 2019
239ebe2
fix changelog fmt (#3134)
ebuchman Jan 16, 2019
6d6d103
fixes from review (#3137)
ebuchman Jan 16, 2019
aa40cfc
Merge pull request #3135 from tendermint/release/v0.28.0
ebuchman Jan 16, 2019
4a037f9
Merge pull request #3138 from tendermint/master
ebuchman Jan 16, 2019
55d7238
Add comment to simple_merkle get_split_point (#3136)
ValarDragon Jan 16, 2019
bc88740
docs: fix broken link (#3142)
gauthamzz Jan 17, 2019
c69dbb2
Consolidates deadline tests for privval Unix/TCP (#3143)
thanethomson Jan 17, 2019
8799105
docs: fix RPC links (#3141)
melekes Jan 17, 2019
8fd8f80
Bucky/fix evidence halt (#34)
ebuchman Jan 18, 2019
4d36647
Add ParadigmCore to ecosystem.json (#3145)
hrharder Jan 18, 2019
f5f1416
json2wal: increase reader's buffer size (#3147)
bradyjoestar Jan 18, 2019
5a2e69d
changelog and version
ebuchman Jan 18, 2019
0726329
Merge pull request #3153 from tendermint/release/v0.28.1
ebuchman Jan 18, 2019
d17969e
Merge pull request #3154 from tendermint/master
ebuchman Jan 18, 2019
d3e8889
update btcd fork for v0.1.1 (#3164)
ebuchman Jan 19, 2019
40c887b
Normalize priorities to not exceed total voting power (#3049)
liamsi Jan 19, 2019
4f87691
[types] hash of ConsensusParams includes only a subset of fields (#3165)
ebuchman Jan 19, 2019
da95f4a
mempool: enforce maxMsgSize limit in CheckTx (#3168)
ebuchman Jan 20, 2019
de5a601
fix DynamicVerifier for large validator set changes (#3171)
ebuchman Jan 21, 2019
7a8aeff
update spec for Merkle RFC 6962 (#3175)
ebuchman Jan 21, 2019
d9d4f3e
Prepare v0.29.0 (#3184)
ebuchman Jan 22, 2019
a97d699
fix changelog indent (#3190)
ebuchman Jan 22, 2019
4514842
Merge pull request #3185 from tendermint/release/v0.29.0
ebuchman Jan 22, 2019
3362da0
Merge pull request #3191 from tendermint/master
ebuchman Jan 22, 2019
2449bf7
p2p: file descriptor leaks (#3150)
melekes Jan 22, 2019
98b42e9
docs: explain how someone can run his/her own ABCI app on localnet (#…
gauthamzz Jan 24, 2019
1efacaa
docs: update pubsub ADR (#3131)
melekes Jan 24, 2019
fbd1e79
docs: fix lite client formatting (#3198)
nilathedragon Jan 24, 2019
c415754
only log "Reached max attempts to dial" once (#3144)
melekes Jan 24, 2019
c20fbed
[WIP] fix halting issue (#3197)
milosevic Jan 24, 2019
8992596
update changelog
melekes Jan 24, 2019
bb0a9b3
bump version
melekes Jan 24, 2019
90970d0
fix changelog
ebuchman Jan 24, 2019
4d7b29c
Merge pull request #3203 from tendermint/release/v0.29.1
ebuchman Jan 24, 2019
27c1563
Merge pull request #3205 from tendermint/master
ebuchman Jan 24, 2019
75cbe4a
R4R: Config TestRoot modification for LCD test (#3177)
mossid Jan 25, 2019
d6dd43c
adr: style fixes (#3206)
liamsi Jan 25, 2019
ddbdffb
add design philosophy doc (#3034)
jaekwon Jan 25, 2019
a58d589
note about TmCoreSemVer
ebuchman Jan 25, 2019
57af99d
types: comments on user vs internal events
ebuchman Jan 25, 2019
9b6b792
pubsub: comments
ebuchman Jan 25, 2019
d91ea9b
adr-033 update
ebuchman Jan 25, 2019
71e5939
start eventBus & indexerService before replay and use them while repl…
ackratos Jan 28, 2019
8d2dd7e
refactor TestListenerConnectDeadlines to avoid data races (#3201)
melekes Jan 28, 2019
ff3c4bf
add go-deadlock tool to help detect deadlocks (#3218)
melekes Jan 28, 2019
a335caa
alias amino imports (#3219)
thanethomson Jan 28, 2019
9a0bfaf
docs: fix links (#3220)
thanethomson Jan 28, 2019
e1edd2a
hardcode rpc link (#3223)
zramsay Jan 28, 2019
0b3a87a
mempool: correct args order in the log msg (#3221)
rickyyangz Jan 29, 2019
6dd817c
secret connection: check for low order points (#3040)
liamsi Jan 29, 2019
8985a1f
pubsub: fixes after Ethan's review (#3212)
melekes Jan 29, 2019
d470945
update gometalinter to 3.0.0 (#3233)
melekes Jan 30, 2019
6485e68
Use ethereum's secp256k1 lib (#3234)
liamsi Feb 4, 2019
eb4e23b
fix FlushStop (#3247)
ebuchman Feb 4, 2019
39eba4e
WAL: better errors and new fail point (#3246)
ebuchman Feb 4, 2019
1809efa
Introduce CommitSig alias for Vote in Commit (#3245)
ebuchman Feb 4, 2019
d8f0bc3
Revert "quick fix for CircleCI (#2279)"
melekes Feb 6, 2019
da33dd0
switch to golangci-lint from gometalinter :speedboat:
melekes Feb 6, 2019
ffd3bf8
remove or comment out unused code
melekes Feb 6, 2019
3c8156a
preallocating memory when we can
melekes Feb 6, 2019
23314da
comment out clist tests w/ depend on runtime.SetFinalizer
melekes Feb 6, 2019
6941d1b
use nolint label instead of commenting
melekes Feb 6, 2019
1a35895
remove gotype linter
melekes Feb 6, 2019
1386707
rename TestGCRandom to _TestGCRandom
melekes Feb 6, 2019
4429826
cmn: GetFreePort (#3255)
ebuchman Feb 6, 2019
45b70ae
fix non deterministic test failures and race in privval socket (#3258)
ebuchman Feb 6, 2019
9e90264
p2p/conn: don't hold stopMtx while waiting (#3254)
ebuchman Feb 6, 2019
fcebdf6
Merge pull request #3261 from tendermint/anton/circle
melekes Feb 7, 2019
e70f27c
Add remote signer test harness (KMS) (#3149)
thanethomson Feb 7, 2019
354a08c
p2p: fix infinite loop in addrbook (#3232)
ebuchman Feb 7, 2019
11e36d0
addrbook_test: preallocate memory for bookSizes (#3268)
melekes Feb 7, 2019
f571ee8
prepare v0.29.2 (#3272)
ebuchman Feb 8, 2019
ad4bd92
secp256k1: change build tags (#3277)
ebuchman Feb 8, 2019
af6e6cd
remove MixEntropy (#3278)
ebuchman Feb 8, 2019
a8dbc64
Merge pull request #3276 from tendermint/release/v0.29.2
ebuchman Feb 8, 2019
44a89a3
Merge pull request #3282 from tendermint/master
ebuchman Feb 8, 2019
c1f7399
review comment: cleaner constant for N/2, delete secp256k1N and use (…
liamsi Feb 8, 2019
cce4d21
treat validator updates as set (#3222)
ancazamfir Feb 8, 2019
90ba639
Sec/bucky/35 commit duplicate evidence (#36)
ebuchman Feb 8, 2019
87bdc42
Reject blocks with committed evidence (#37)
liamsi Feb 8, 2019
6b1b595
Merge pull request #3286 from tendermint/bucky/fix-duplicate-evidence
ebuchman Feb 8, 2019
4f2ef36
types.NewCommit (#3275)
ebuchman Feb 8, 2019
792b125
Prepare v0.30.0 (#3287)
ebuchman Feb 8, 2019
28d75ec
Merge pull request #3288 from tendermint/release/v0.30.0
ebuchman Feb 9, 2019
021b5cc
Merge pull request #3290 from tendermint/master
ebuchman Feb 9, 2019
966b5bd
fix failure in TestProposerFrequency (#3293)
ancazamfir Feb 11, 2019
7fd51e6
make govet linter pass (#3292)
melekes Feb 11, 2019
b089587
make gosec linter pass (#3294)
liamsi Feb 12, 2019
8a9eecc
test blockExec does not panic if all vals removed (#3241)
ancazamfir Feb 12, 2019
08dabab
types: validator set update tests (#3284)
ebuchman Feb 12, 2019
dc6567c
consensus: flush wal on stop (#3297)
ebuchman Feb 12, 2019
d32f7d2
update codeowners (#3305)
zramsay Feb 13, 2019
cf737ec
return an error on `show_validator` (#3316)
alexanderbez Feb 16, 2019
af3ba51
fix test-vectors to actually match the sign bytes: (#3312)
liamsi Feb 16, 2019
7ced9e4
rpc/net_info: change RemoteIP type from net.IP to String (#3309)
melekes Feb 16, 2019
0b0a8b3
cs/wal: refuse to encode msg that is bigger than maxMsgSizeBytes (#3303)
melekes Feb 18, 2019
af8793c
cs: reset triggered timeout precommit (#3310)
milosevic Feb 18, 2019
59cc6d3
improve ResetTestRootWithChainID() concurrency safety (#3291)
alessio Feb 18, 2019
8283ca7
3291 follow-up (#3323)
melekes Feb 18, 2019
d2c7f8d
p2p: check secret conn id matches dialed id (#3321)
liamsi Feb 18, 2019
9d4f59b
update changelog and bump version
melekes Feb 18, 2019
dff3deb
cs: sync WAL more frequently (#3300)
thanethomson Feb 20, 2019
db5d760
docs: fix rpc Tx() method docs (#3331)
danil-lashin Feb 20, 2019
f2351dc
update changelog
ebuchman Feb 20, 2019
e0f8936
Merge pull request #3326 from tendermint/release/v0.30.1
ebuchman Feb 20, 2019
4f83eec
Merge pull request #3339 from tendermint/master
ebuchman Feb 20, 2019
ed1de13
cs: update wal comments (#3334)
melekes Feb 21, 2019
f22ada4
refactor decideProposal in common_test (#3343)
melekes Feb 22, 2019
67fd428
fix TestWALPeriodicSync (#3342)
melekes Feb 22, 2019
2137ecc
pubsub 2.0 (#3227)
melekes Feb 23, 2019
e0adc5e
secret connection check all zeroes (#3347)
liamsi Feb 23, 2019
41f9131
bound mempool memory usage (#3248)
melekes Feb 23, 2019
cdf3a74
Unclean shutdown on SIGINT / SIGTERM (#3308)
melekes Feb 23, 2019
6797d85
p2p: fix comment in secret connection (#3348)
liamsi Feb 25, 2019
ec9bff5
rename WAL#Flush to WAL#FlushAndSync (#3345)
melekes Feb 25, 2019
d6e2fb4
update docs (#3349)
melekes Feb 28, 2019
853dd34
privval: improve Remote Signer implementation (#3351)
jleni Feb 28, 2019
37a5484
docs: fix typo (#3373)
svenstaro Mar 2, 2019
d958941
fix dirty data in peerset,resolve #3304 (#3359)
Mar 2, 2019
976b1c2
fix pool timer leak bug, resolve#3353 (#3358)
Mar 2, 2019
3421e4d
make lightd availbe (#3364)
Mar 2, 2019
8a962ff
deps: update gogo/protobuf from 1.1.1 to 1.2.1 and golang/protobuf fr…
melekes Mar 4, 2019
f39138a
remove RoundState from EventDataRoundState (#3354)
melekes Mar 4, 2019
52771e1
make BlockTimeIota a consensus parameter, not a locally configurable …
melekes Mar 4, 2019
8c9df30
libs/db: Add cleveldb.Stats() (#3379)
jackzampolin Mar 5, 2019
1eaa42c
golang 1.12.0 (#3376)
liamsi Mar 5, 2019
858875f
Copy secp256k1 code from go-ethereum to avoid GPL vendoring issues in…
Mar 6, 2019
411bc5e
types: followup after validator set changes (#3301)
ancazamfir Mar 6, 2019
f25d727
make dupl linter pass (#3385)
melekes Mar 7, 2019
91b488f
docs: fix the reverse of meaning in spec (#3387)
siburu Mar 7, 2019
3ebfa99
do not pin repos without releases to exact revisions (#3382)
melekes Mar 7, 2019
28e9e9e
update levigo to 1.0.0 (#3389)
liamsi Mar 7, 2019
e415c32
update golang.org/x/crypto (#3392)
liamsi Mar 8, 2019
b6a510a
make ineffassign linter pass (#3386)
melekes Mar 8, 2019
9079426
circleci: removed complexity from docs deployment job (#3396)
Mar 9, 2019
b021f1e
libs/db: close batch (#3397)
Stumble Mar 10, 2019
36d7180
libs/db: close batch (#3397)
Stumble Mar 10, 2019
f996b10
update changelog and bump version to 0.30.2
melekes Mar 10, 2019
100ff08
p2p: do not panic when filter times out (#3384)
melekes Mar 11, 2019
9768195
Merge pull request #3399 from tendermint/release/v0.30.2
ebuchman Mar 11, 2019
dc359bd
types: remove check for priority order of existing validators (#3407)
ancazamfir Mar 11, 2019
15f6211
remove TimeIotaMs from ABCI consensus params (#3403)
melekes Mar 11, 2019
d741c7b
limit number of /subscribe clients and queries per client (#3269)
melekes Mar 11, 2019
3035572
cs: comment out log.Error to avoid TestReactorValidatorSetChanges tim…
melekes Mar 11, 2019
676212f
cmd: make sure to have 'testnet' create the data directory for nonval…
srmo Mar 11, 2019
ad3e990
fix GO_VERSION in installation scripts (#3411)
melekes Mar 11, 2019
e42f833
Merge master back to develop (#3412)
melekes Mar 12, 2019
4cbd36f
Merge pull request #3415 from tendermint/master
melekes Mar 12, 2019
85c023d
Prep release v0.31.0:
liamsi Mar 12, 2019
a59930a
localnet: fix $LOG variable (#3423)
melekes Mar 13, 2019
7457133
grpcdb: close Iterator/ReverseIterator after use (#3424)
melekes Mar 14, 2019
5483ac6
minor changes / fixes to release 0.31.0 (#3422)
liamsi Mar 14, 2019
52c4e15
changelog: more review fixes/release/v0.31.0 (#3427)
liamsi Mar 14, 2019
551b632
Update v0.31.0 release notes (#3434)
ebuchman Mar 16, 2019
4162ebe
types: refactor PB2TM.ConsensusParams to take BlockTimeIota as an arg…
melekes Mar 19, 2019
48aacca
Merge in develop and update CHANGELOG.md
liamsi Mar 19, 2019
8e62a3d
Add #3421 to changelog and reorder alphabetically
liamsi Mar 19, 2019
e276f35
remove 3421 from changelog
liamsi Mar 19, 2019
5f68fba
Merge pull request #3449 from tendermint/ismail/merge_develop_into_re…
ebuchman Mar 19, 2019
1e34697
Ensure WriteTimeout > TimeoutBroadcastTxCommit (#3443)
liamsi Mar 19, 2019
0d985ed
Merge pull request #3417 from tendermint/release/v0.31.0
ebuchman Mar 19, 2019
766275f
Merge tag 'v0.31.0' into breakingChange
pinkiebell Mar 20, 2019
40d5f3d
rpc: fix SetReadonly
pinkiebell Mar 26, 2019
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
  •  
  •  
  •  
203 changes: 63 additions & 140 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ version: 2
defaults: &defaults
working_directory: /go/src/github.com/tendermint/tendermint
docker:
- image: circleci/golang:1.10.3
- image: circleci/golang:1.12.0
environment:
GOBIN: /tmp/workspace/bin

docs_update_config: &docs_update_config
working_directory: ~/repo
docker:
- image: tendermintdev/jq_curl
environment:
AWS_REGION: us-east-1

jobs:
setup_dependencies:
<<: *defaults
Expand Down Expand Up @@ -41,10 +48,10 @@ jobs:
key: v3-pkg-cache
paths:
- /go/pkg
# - save_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
# paths:
# - /go/src/github.com/tendermint/tendermint
- save_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
paths:
- /go/src/github.com/tendermint/tendermint

build_slate:
<<: *defaults
Expand All @@ -53,23 +60,8 @@ jobs:
at: /tmp/workspace
- restore_cache:
key: v3-pkg-cache
# https://discuss.circleci.com/t/saving-cache-stopped-working-warning-skipping-this-step-disabled-in-configuration/24423/2
# - restore_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: tools
command: |
export PATH="$GOBIN:$PATH"
make get_tools
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint

- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: slate docs
command: |
Expand All @@ -84,29 +76,14 @@ jobs:
at: /tmp/workspace
- restore_cache:
key: v3-pkg-cache
# - restore_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: tools
command: |
export PATH="$GOBIN:$PATH"
make get_tools
make get_dev_tools
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint

- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: metalinter
command: |
set -ex
export PATH="$GOBIN:$PATH"
make metalinter
make lint
- run:
name: check_dep
command: |
Expand All @@ -121,22 +98,8 @@ jobs:
at: /tmp/workspace
- restore_cache:
key: v3-pkg-cache
# - restore_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: tools
command: |
export PATH="$GOBIN:$PATH"
make get_tools
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint

- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Run abci apps tests
command: |
Expand All @@ -152,22 +115,8 @@ jobs:
at: /tmp/workspace
- restore_cache:
key: v3-pkg-cache
# - restore_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: tools
command: |
export PATH="$GOBIN:$PATH"
make get_tools
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint

- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Run abci-cli tests
command: |
Expand All @@ -181,22 +130,8 @@ jobs:
at: /tmp/workspace
- restore_cache:
key: v3-pkg-cache
# - restore_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: tools
command: |
export PATH="$GOBIN:$PATH"
make get_tools
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint

- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends bsdmainutils
- run:
name: Run tests
Expand All @@ -210,30 +145,16 @@ jobs:
at: /tmp/workspace
- restore_cache:
key: v3-pkg-cache
# - restore_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: tools
command: |
export PATH="$GOBIN:$PATH"
make get_tools
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint

- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run: mkdir -p /tmp/logs
- run:
name: Run tests
command: |
for pkg in $(go list github.com/tendermint/tendermint/... | circleci tests split --split-by=timings); do
id=$(basename "$pkg")

GOCACHE=off go test -timeout 5m -race -coverprofile=/tmp/workspace/profiles/$id.out -covermode=atomic "$pkg" | tee "/tmp/logs/$id-$RANDOM.log"
go test -v -timeout 5m -race -coverprofile=/tmp/workspace/profiles/$id.out -covermode=atomic "$pkg" | tee "/tmp/logs/$id-$RANDOM.log"
done
- persist_to_workspace:
root: /tmp/workspace
Expand All @@ -249,22 +170,8 @@ jobs:
at: /tmp/workspace
- restore_cache:
key: v3-pkg-cache
# - restore_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: tools
command: |
export PATH="$GOBIN:$PATH"
make get_tools
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint

- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Run tests
command: bash test/persist/test_failure_indices.sh
Expand All @@ -285,9 +192,7 @@ jobs:
name: run localnet and exit on failure
command: |
set -x
make get_tools
make get_vendor_deps
make build-linux
docker run --rm -v "$PWD":/go/src/github.com/tendermint/tendermint -w /go/src/github.com/tendermint/tendermint golang:1.11.4 make build-linux
make localnet-start &
./scripts/localnet-blocks-test.sh 40 5 10 localhost

Expand All @@ -310,22 +215,10 @@ jobs:
steps:
- attach_workspace:
at: /tmp/workspace
# - restore_cache:
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- checkout
- run:
name: tools
command: |
export PATH="$GOBIN:$PATH"
make get_tools
- run:
name: dependencies
command: |
export PATH="$GOBIN:$PATH"
make get_vendor_deps
- run: mkdir -p $GOPATH/src/github.com/tendermint
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint

- restore_cache:
key: v3-pkg-cache
- restore_cache:
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: gather
command: |
Expand All @@ -339,10 +232,40 @@ jobs:
name: upload
command: bash .circleci/codecov.sh -f coverage.txt

deploy_docs:
<<: *docs_update_config
steps:
- checkout
- run:
name: Trigger website build
command: |
curl --silent \
--show-error \
-X POST \
--header "Content-Type: application/json" \
-d "{\"branch\": \"$CIRCLE_BRANCH\"}" \
"https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$WEBSITE_REPO_NAME/build?circle-token=$TENDERBOT_API_TOKEN" > response.json

RESULT=`jq -r '.status' response.json`
MESSAGE=`jq -r '.message' response.json`

if [[ ${RESULT} == "null" ]] || [[ ${RESULT} -ne "200" ]]; then
echo "CircleCI API call failed: $MESSAGE"
exit 1
else
echo "Website build started"
fi

workflows:
version: 2
test-suite:
jobs:
- deploy_docs:
filters:
branches:
only:
- master
- develop
- setup_dependencies
- lint:
requires:
Expand Down
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
* @ebuchman @melekes @xla

# Precious documentation
/docs/ @zramsay
/docs/README.md @zramsay
/docs/DOCS_README.md @zramsay
/docs/.vuepress/ @zramsay
57 changes: 57 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
run:
deadline: 1m

linters:
enable-all: true
disable:
- gocyclo
- golint
- maligned
- errcheck
- staticcheck
- interfacer
- unconvert
- goconst
- unparam
- nakedret
- lll
- gochecknoglobals
- gocritic
- gochecknoinits
- scopelint
- stylecheck

# linters-settings:
# govet:
# check-shadowing: true
# golint:
# min-confidence: 0
# gocyclo:
# min-complexity: 10
# maligned:
# suggest-new: true
# dupl:
# threshold: 100
# goconst:
# min-len: 2
# min-occurrences: 2
# depguard:
# list-type: blacklist
# packages:
# # logging is allowed only by logutils.Log, logrus
# # is allowed to use only in logutils package
# - github.com/sirupsen/logrus
# misspell:
# locale: US
# lll:
# line-length: 140
# goimports:
# local-prefixes: github.com/golangci/golangci-lint
# gocritic:
# enabled-tags:
# - performance
# - style
# - experimental
# disabled-checks:
# - wrapperFunc
# - commentFormatting # https://github.com/go-critic/go-critic/issues/755
Loading