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/v0.33.3 0.1 #70

Merged
merged 107 commits into from
Apr 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
2544a5c
noop commit (#4553)
melekes Mar 11, 2020
6d4e0ba
Add lint to CircleCI
zemyblue Mar 24, 2020
19e4c82
Change golangci-lint version
zemyblue Mar 24, 2020
9bd6803
Change golangci-lint option
zemyblue Mar 24, 2020
59cb31f
Change golangci-lint version for checking failure of ci.
zemyblue Mar 24, 2020
0410282
Remove upload_coverage job of circleCI. the reasone is #21.
zemyblue Mar 24, 2020
d86180c
fix circleci config error.
zemyblue Mar 24, 2020
55b8f34
Merge pull request #42 from zemyblue/feature/setup_develop_environment
torao Mar 25, 2020
f69e54e
feat: store proof, round on block
Mar 26, 2020
03554fe
docs: changelog_pending
Mar 26, 2020
0e68d59
chore: print proof to hex
Mar 27, 2020
32f7b1c
chore: for pretty printing of block to hex
Mar 27, 2020
06c1db2
fix: race bug
Mar 27, 2020
50ae22e
fix: error handling
Mar 27, 2020
4f7173e
fix: apply comment
Mar 28, 2020
06f124b
fix: round validation
Mar 30, 2020
7fa8319
fix: remove redundant parameter
Mar 31, 2020
0168be6
Merge pull request #45 from line/feature/proof_in_block
Apr 2, 2020
5fb10ae
* Add `LastProofHash` for genesis seed of first block in the `state.S…
zemyblue Apr 2, 2020
4a07bfc
* Remove `LastProof` of state.
zemyblue Apr 2, 2020
761dc5b
fix lint errors
zemyblue Apr 2, 2020
fddae85
Add changes to `CHANGELOG_PENDING`
zemyblue Apr 2, 2020
b4bc21b
add random sampling function
torao Mar 30, 2020
8c8fae4
apply go fmt & lint
torao Mar 30, 2020
bd09d9d
simplify error message, add test-case for panic
torao Apr 2, 2020
f32ba64
fix changelog
torao Apr 3, 2020
4c9b517
fixed pointer to call-by-value
torao Apr 3, 2020
25d587d
Merge pull request #47 from line/feature/add_random_sampling_function
torao Apr 3, 2020
fc985d4
Merge branch 'develop' into feature/genesis_hash
zemyblue Apr 3, 2020
db5e553
Update state.go
zemyblue Apr 3, 2020
8bef2d9
Merge pull request #51 from zemyblue/feature/genesis_hash
torao Apr 3, 2020
0c0cb9f
mempool: reserve IDs in InitPeer instead of AddPeer
tessr Mar 27, 2020
9821af8
p2p: limit the number of incoming connections
melekes Apr 3, 2020
62c1a13
update changelog and version
melekes Apr 3, 2020
fc48fdc
Fix libsodium build setting bug in the `Makefile`
zemyblue Apr 6, 2020
67c1ee0
fix: round validation
Apr 7, 2020
a73140f
docs: change log
Apr 7, 2020
5ffa395
Fix `localnet` of circleCI
zemyblue Apr 7, 2020
9e40a7d
Add state module log about `create block`.
zemyblue Apr 7, 2020
2f5b118
Fix lint warning
zemyblue Apr 7, 2020
93e27ab
Remove unused mod `certstrap`
zemyblue Apr 7, 2020
1264327
Change `localnet` setting of circleCI
zemyblue Apr 7, 2020
75976ac
add VRF-based proposer election
torao Apr 8, 2020
4256fbf
Move the block creation log from `BlockExecutor` to `consensus.State`
zemyblue Apr 9, 2020
8c28523
Fix lint error.
zemyblue Apr 9, 2020
01ca490
skip failure test-case
torao Apr 8, 2020
eac3daf
fix: revert changelog modification
Apr 9, 2020
13eff7f
Merge pull request from GHSA-v24h-pjjv-mcp6
alessio Apr 9, 2020
d685cd1
Merge pull request #53 from zemyblue/feature/setup_demo_environment
zemyblue Apr 10, 2020
7bc2106
apply validator_set_test.go to VRF
torao Apr 10, 2020
cd63b66
Merge pull request #54 from line/fix/round_validation
Apr 10, 2020
66dc287
fix the points made in the PR
torao Apr 10, 2020
0c104af
fix: remove proposer from ValidatorSet
Apr 13, 2020
747e2f9
apply fix commented points on PR
torao Apr 13, 2020
37f0c66
Merge pull request #55 from line/feature/introduce_vrf_based_proposer…
torao Apr 14, 2020
51820a0
Fix TestReactorRecordsVotesAndBlockParts skip
zemyblue Apr 13, 2020
c07da9d
fix: test failure
Apr 14, 2020
eedce17
Fix `TestByzantine`
zemyblue Apr 14, 2020
04019e9
fix: test failure
Apr 14, 2020
a45a5c7
fix: lint errors
Apr 14, 2020
1453882
fix: increase timeout
Apr 14, 2020
6bd7af7
fix: test failure
Apr 14, 2020
adbd3d6
Merge branch 'develop' of https://github.com/line/tendermint into fix…
Apr 14, 2020
dabb16e
fix: test failure
Apr 14, 2020
6babcbc
fix: test failure
Apr 14, 2020
8b57fe5
fix: lint error
Apr 14, 2020
0870d74
fix: revert timeout
Apr 16, 2020
eb21bfe
fix: apply comment
Apr 16, 2020
670a173
fix: apply comment
Apr 16, 2020
b31cd62
Merge pull request #56 from line/fix/remove_proposer_from_validator_set
torao Apr 16, 2020
b51e202
Merge commit 'b31cd62fd9c2cd4e2ecfebdfb5ec51596e98723b' into feature/…
zemyblue Apr 16, 2020
2133af4
Fix conflicted part of `TestByzantine`
zemyblue Apr 16, 2020
1c60122
Fix data race of `TestReactorRecordsVotesAndBlockParts`
zemyblue Apr 16, 2020
5be98df
Fix skipped `TestStateProposerSelection0`
zemyblue Apr 16, 2020
8c659ae
Fix skipped `TestStateProposerSelection2`, `TestStateBadProposal`, `T…
zemyblue Apr 16, 2020
6e6fdc0
Remove debug comment
zemyblue Apr 17, 2020
f1addc2
Fix skipped `TestReactorWithTimeoutCommit` test
zemyblue Apr 17, 2020
89b0a2a
Fix `TestByzantine`
zemyblue Apr 17, 2020
bbea88d
fix: reactor test failure
Apr 17, 2020
ca7e34a
Modify to find proposer directly on `TestReactorRecordsVotesAndBlockP…
zemyblue Apr 17, 2020
5b42a63
Merge pull request #57 from zemyblue/feature/fix_reactor_test
zemyblue Apr 17, 2020
13d9bf1
set resource for the circleci machine
zemyblue Apr 14, 2020
ed623a2
Merge pull request #60 from line/fix/consensus_failure
Apr 17, 2020
eec3710
Merge pull request #58 from line/feature/circleciresource
zemyblue Apr 20, 2020
373b978
Merge commit '13eff7f7ed80bb5deb8d294998dc429b29bf9fe3' into tendermi…
zemyblue Apr 20, 2020
2c7b847
fix: skipped tests
Apr 21, 2020
4c861f6
fix: fmt error
Apr 21, 2020
555de6b
Merge pull request #65 from zemyblue/apply_0.33.3
zemyblue Apr 21, 2020
2986d21
fix: race bug
Apr 21, 2020
30ada99
fix: remove xxx file
Apr 21, 2020
2bba46d
Merge branch 'tendermint_release' into feature/apply_0.33.3
zemyblue Apr 21, 2020
40befa3
Fix `TestReactorHelperMode` error in the `blockchain/v2/reactor_test.go`
zemyblue Apr 21, 2020
763b7c5
fix lint warnings.
zemyblue Apr 21, 2020
3781f51
fix: apply comment
Apr 21, 2020
44c82d8
chore: remove blank line
Apr 21, 2020
3a4bc02
fix: refine forceProposer
Apr 21, 2020
14feed7
fix: remove hard code
Apr 21, 2020
25edd70
fix: refactoring forceProposer
Apr 21, 2020
11b2a82
fixed skipped testcase
torao Apr 24, 2020
d888a6d
fixed all FIXME, pass all tests
torao Apr 24, 2020
e1349ba
Fix race detection error of `SelectProposer`
zemyblue Apr 24, 2020
5a3a653
Merge pull request #67 from line/fix/skipped_test
Apr 26, 2020
cd9611d
Merge pull request #69 from line/fix/skipped_cases_in_replay_test
torao Apr 27, 2020
f2bcafe
Merge pull request #68 from zemyblue/feature/apply_0.33.3
zemyblue Apr 27, 2020
f78252d
Modify the file name of `CHANGELOG.md` to `CHANGELOG_OF_TENDERMINT.md`
zemyblue Apr 27, 2020
ca91b9b
changelog and version
zemyblue Apr 27, 2020
8c2e304
Disable checking the markdown links.
zemyblue Apr 27, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 44 additions & 55 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ commands:
jobs:
setup_dependencies:
executor: golang
resource_class: large
steps:
- checkout_with_submodules
- restore_cache:
Expand Down Expand Up @@ -117,12 +118,14 @@ jobs:

test_apps:
executor: golang
resource_class: large
steps:
- run_test:
script_path: test/app/test.sh

test_persistence:
executor: golang
resource_class: large
steps:
- run_test:
script_path: test/persist/test_failure_indices.sh
Expand All @@ -140,7 +143,7 @@ jobs:
name: "Restore go module cache"
keys:
- go-mod-v2-{{ checksum "go.sum" }}
- make_libsodium
# - make_libsodium
- run:
name: "Run tests"
command: |
Expand All @@ -158,29 +161,28 @@ jobs:
- store_artifacts:
path: /tmp/logs

# TODO We need to replace the docker image with the image that adds libsodium library.
# localnet:
# working_directory: /home/circleci/.go_workspace/src/github.com/tendermint/tendermint
# machine:
# image: circleci/classic:latest
# environment:
# GOBIN: /home/circleci/.go_workspace/bin
# GOPATH: /home/circleci/.go_workspace/
# GOOS: linux
# GOARCH: amd64
# parallelism: 1
# steps:
# - checkout_with_submodules
# - make_libsodium
# - run:
# name: run localnet and exit on failure
# command: |
# set -x
# docker run --rm -v "$PWD":/go/src/github.com/tendermint/tendermint -w /go/src/github.com/tendermint/tendermint golang make build-linux
# make localnet-start &
# ./scripts/localnet-blocks-test.sh 40 5 10 localhost
localnet:
working_directory: /home/circleci/.go_workspace/src/github.com/tendermint/tendermint
machine:
image: circleci/classic:latest
environment:
GOBIN: /home/circleci/.go_workspace/bin
GOPATH: /home/circleci/.go_workspace/
GOOS: linux
GOARCH: amd64
parallelism: 1
steps:
- checkout_with_submodules
- run:
name: run localnet and exit on failure
command: |
set -x
docker run --rm -v "$PWD":/go/src/github.com/tendermint/tendermint -w /go/src/github.com/tendermint/tendermint golang:1.14.1-alpine /bin/sh -c "apk add --update make && make build-linux"
make localnet-start &
./scripts/localnet-blocks-test.sh 40 5 10 localhost

test_p2p:
resource_class: xlarge
environment:
GOBIN: /home/circleci/.go_workspace/bin
GOPATH: /home/circleci/.go_workspace
Expand All @@ -199,32 +201,6 @@ jobs:
- store_artifacts:
path: /home/circleci/project/test/p2p/logs

# TODO We need to replace the docker image with the image that adds libsodium library.
# upload_coverage:
# executor: golang
# steps:
# - attach_workspace:
# at: /tmp/workspace
# - restore_cache:
# name: "Restore source code cache"
# keys:
# - go-src-v1-{{ .Revision }}
# - checkout
# - restore_cache:
# name: "Restore go module cache"
# keys:
# - go-mod-v2-{{ checksum "go.sum" }}
# - run:
# name: gather
# command: |
# echo "mode: atomic" > coverage.txt
# for prof in $(ls /tmp/workspace/profiles/); do
# tail -n +2 /tmp/workspace/profiles/"$prof" >> coverage.txt
# done
# - run:
# name: upload
# command: bash .circleci/codecov.sh -f coverage.txt

deploy_docs:
executor: docs
steps:
Expand Down Expand Up @@ -299,6 +275,21 @@ jobs:
# - "*.zip"
# - "tendermint_linux_amd64"

lint:
executor: golang
parallelism: 1
steps:
- checkout
- restore_cache:
name: "Restore go modules cache"
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: "Run linter"
command: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.8
make lint

release_artifacts:
executor: golang
steps:
Expand Down Expand Up @@ -423,6 +414,7 @@ workflows:
branches:
only:
- docs-theme-latest
- lint
- setup_dependencies
- test_abci_apps:
requires:
Expand All @@ -440,16 +432,13 @@ workflows:
- test_persistence:
requires:
- setup_dependencies
# - localnet:
# requires:
# - setup_dependencies
- test_p2p
- localnet:
requires:
- setup_dependencies
# - test_p2p
- test_p2p:
name: test_p2p_ipv6
ipv: 6
# - upload_coverage:
# requires:
# - test_cover
- reproducible_builds:
filters:
branches:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Check Markdown links
on: push
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@0.6.0
with:
folder-path: "docs"
#name: Check Markdown links
#on: push
#jobs:
# markdown-link-check:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@master
# - uses: gaurav-nelson/github-action-markdown-link-check@0.6.0
# with:
# folder-path: "docs"
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,8 @@ linters-settings:
# disabled-checks:
# - wrapperFunc
# - commentFormatting # https://github.com/go-critic/go-critic/issues/755

# options for analysis running
run:
# timeout for analysis, e.g. 30s, 5m, default is 1m
timeout: 5m
Loading