Skip to content

Bump the version to 2.2.0 #1853

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

Merged
merged 46 commits into from
Nov 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
02a5d44
Try to unlock account only when it is imported
remagpie Sep 26, 2019
74222cc
Check mutation of votes_received automatially
foriequal0 Sep 26, 2019
1ff7713
Cleanup vote functions
foriequal0 Sep 26, 2019
f7bd749
Add VoteRegressionChecker
foriequal0 Sep 26, 2019
caee5c1
Rename VoteCollector::vote to collect
foriequal0 Sep 26, 2019
b48c907
Fix to use Err(DoubleVote) from VoteCollector
foriequal0 Sep 26, 2019
896af49
Fix assertions to clarify the intention
foriequal0 Sep 30, 2019
e6db547
Enable IPC in production build
majecty Oct 2, 2019
c9f36b1
Merge pull request #1803 from sgkim126/crypto
Oct 7, 2019
a56bdca
Use rust 1.37.0
Oct 7, 2019
2b0ce4f
trait objects without an explicit `dyn` are deprecated
Oct 7, 2019
16f206a
`...` range patterns are deprecated
Oct 7, 2019
59b6cbd
Do not generate a seal if the block is generated from a past view
majecty Oct 7, 2019
3024b33
Recover TendermintState when empty proposal timer is fired in a wrong…
majecty Oct 7, 2019
2c84f76
Inline submit_proposal_block function in Tendermint
majecty Oct 7, 2019
d7c2683
Extract secp256k1
Oct 7, 2019
6545948
Upgrade url
Oct 10, 2019
dc99575
Fix typo meatdata
majecty Oct 11, 2019
6a8a1d9
Add comment of can_change_canon_chain function
majecty Oct 10, 2019
821114c
Fix the condition to check whether the new block could change the bes…
majecty Oct 10, 2019
6f32723
Fix typos
Apr 2, 2019
12fef05
Block malicious users who generated runtime errors
Apr 2, 2019
1322733
Block malicious users who generated syntax errors
Apr 2, 2019
7b05d57
Add a new type of users called immune users
HoOngEe Oct 1, 2019
33fc421
Implement new RPCs related banned users
Apr 8, 2019
a27c07c
Add newly implemented RPCs to spec file
Apr 16, 2019
64e9de0
Enable all grandchild of the best block to become a best proposal block
majecty Oct 14, 2019
210551a
Disable tests for IoService on macos
foriequal0 Oct 15, 2019
cb6e2b3
Use github actions for lint and unit test tasks
foriequal0 Sep 26, 2019
0e4dc69
Upgrade jsonrpc versions to v14.0.0
foriequal0 Oct 10, 2019
d20c30c
Update bytes(v0.4.12), parking_lot_core(0.6.2), toml(0.5.3), tokio(0.…
foriequal0 Oct 15, 2019
bfdeb85
Fix to wait jsonrpc-server closing
foriequal0 Oct 11, 2019
8168956
Update jsonrpc with the fixes on race condition on `wait()`
foriequal0 Oct 14, 2019
3753659
Add get_version and set_version
majecty Oct 22, 2019
b4494eb
Save finalized_view_of_previous_block and finalized_view_of_current_b…
majecty Oct 22, 2019
f25160c
Split last_confirmed_view variable
majecty Oct 22, 2019
a9893a9
Rename views to author_view and finalized_view
majecty Oct 18, 2019
73588e9
Use correct view when creating a Commit message
majecty Oct 18, 2019
1364355
Update clippy and rustfmt
Oct 21, 2019
6de0af1
Update README to correspond to rust toolchains
Oct 25, 2019
5054203
Distinguish BlockHash from H256
Oct 26, 2019
4d082bf
Distinguish Tracker from H256
Oct 26, 2019
5c7535b
Distinguish TxHash from H256
Oct 26, 2019
e5f0af9
Bump the jsonrpc version
majecty Oct 28, 2019
28a0ff4
Remove CHANGELOG.md file
foriequal0 Nov 8, 2019
e9d214d
Bump the version 2.2.0
foriequal0 Nov 8, 2019
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
47 changes: 47 additions & 0 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
on: [push, pull_request]

name: Actions - cargo

jobs:
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2019-10-13
override: true
- run: rustup component add clippy
- run: cargo fetch --verbose
- run: cargo clippy --all --all-targets -- -D warnings

rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2019-10-13
override: true
- run: rustup component add rustfmt
- run: cargo fmt -- --check

build:
name: unit test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.37.0
override: true
- run: cargo fetch --verbose
- run: cargo build
- run: cargo test --verbose --all
env:
RUST_BACKTRACE: 1
18 changes: 18 additions & 0 deletions .github/workflows/yarn-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: [push, pull_request]

name: Actions - yarn

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: npm install yarn
- working-directory: ./test
run: yarn
- working-directory: ./test
run: yarn lint
1 change: 1 addition & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pull_request_rules:
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- "status-success~=^Actions - "
- status-success=continuous-integration/travis-ci/pr
- base=master
- label!=do-not-merge
Expand Down
53 changes: 13 additions & 40 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: rust
rust:
- 1.36.0
- 1.37.0
stages:
- name: test
if: branch != docker-build
Expand All @@ -15,96 +15,69 @@ jobs:
before_install:
- SKIP=`.travis/check-mergify-merge` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '(^spec/|\.md$)'` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^test/'` && if [[ "$SKIP" = "noskip" ]]; then RUN_UNIT_TEST=1; fi
install:
- nvm install 10
- nvm use 10
- npm install -g yarn
before_script:
- cargo fetch --verbose
- cargo build
- cd test && yarn
script:
- if [[ $RUN_UNIT_TEST ]]; then RUST_BACKTRACE=1 cargo test --verbose --all; fi
- cargo build || exit 1
- cd test && yarn || exit 1
- INT_TEST_FLAG=true && yarn start-short
- yarn start-short
- yarn start-long
after_failure:
- test $INT_TEST_FLAG && ./upload_logs.sh
- ./upload_logs.sh
- os: linux
name: linux
before_install:
- SKIP=`.travis/check-mergify-merge` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^spec/|\.md$'` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^test/'` && if [[ "$SKIP" = "noskip" ]]; then RUN_UNIT_TEST=1; fi
install:
- nvm install 10
- nvm use 10
- npm install -g yarn
before_script:
- cargo fetch --verbose
- cargo build
- cd test && yarn
script:
- if [[ $RUN_UNIT_TEST ]]; then RUST_BACKTRACE=1 cargo test --verbose --all; fi
- cargo build || exit 1
- cd test && yarn || exit 1
- INT_TEST_FLAG=true && yarn start-short
- yarn start-short
- yarn start-long
after_failure:
- test $INT_TEST_FLAG && ./upload_logs.sh
- ./upload_logs.sh
- os: linux
name: dynamic-validator-1
before_install:
- SKIP=`.travis/check-mergify-merge` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^spec/|\.md$'` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^test/'` && if [[ "$SKIP" = "noskip" ]]; then RUN_UNIT_TEST=1; fi
install:
- nvm install 10
- nvm use 10
- npm install -g yarn
before_script:
- cargo build --verbose
- cd test && yarn
script:
- cd test && yarn || exit 1
- yarn start-dyn-val-1
after_failure:
- test $INT_TEST_FLAG && ./upload_logs.sh
- ./upload_logs.sh
- os: linux
name: dynamic-validator-2
before_install:
- SKIP=`.travis/check-mergify-merge` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^spec/|\.md$'` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^test/'` && if [[ "$SKIP" = "noskip" ]]; then RUN_UNIT_TEST=1; fi
install:
- nvm install 10
- nvm use 10
- npm install -g yarn
before_script:
- cargo build --verbose
- cd test && yarn
script:
- cd test && yarn || exit 1
- yarn start-dyn-val-2
after_failure:
- test $INT_TEST_FLAG && ./upload_logs.sh
- os: linux
name: static
before_install:
- SKIP=`.travis/check-mergify-merge` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^spec/|\.md$'` && if [[ "$SKIP" = "skip" ]]; then exit 0; fi
- SKIP=`.travis/check-change '^test/'` && if [[ "$SKIP" = "noskip" ]]; then CHECK_RUST=1; fi
install:
- if [[ $CHECK_RUST ]]; then
rustup toolchain install nightly-2019-05-17 || exit 1;
rustup component add rustfmt --toolchain nightly-2019-05-17 || exit 1;
rustup component add clippy --toolchain nightly-2019-05-17 || exit 1;
fi
- nvm install 10
- nvm use 10
- npm install -g yarn
script:
- if [[ $CHECK_RUST ]]; then
cargo +nightly-2019-05-17 fmt -- --check || FAILED=1;
cargo +nightly-2019-05-17 clippy --all --all-targets -- -D warnings || FAILED=1;
fi; test ! $FAILED
- cd test && yarn && yarn lint
- ./upload_logs.sh
- stage: deploy
name: deploy
script: skip
Expand Down
29 changes: 0 additions & 29 deletions CHANGELOG.md

This file was deleted.

Loading