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

Rc/v0.2.0 #76

Merged
merged 72 commits into from
Dec 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
ef65f8b
chore: delete CHANGELOG from develop
doitian Nov 27, 2018
781d5f5
feat: add get_current_cell rpc for fetching unspent cells
xxuejie Nov 27, 2018
b7d092c
feat: Print full config error instead of just description (#23)
xxuejie Nov 27, 2018
f4644b8
fix: Fix network unexpected connections to self (#21)
jjyr Nov 27, 2018
c7fbc92
fix: fix integration tests
xxuejie Nov 27, 2018
80faf9c
Merge pull request #24 from nervosnetwork/xxuejie/get-current-cell-rpc
xxuejie Nov 27, 2018
d126e51
chore: Update dependency bigint:0.2.3
ashchan Nov 27, 2018
682333d
fix typo
driftluo Nov 28, 2018
8d1daf1
chore: Depend `ckb-vm` via Cargo (#25)
doitian Nov 28, 2018
9962bac
doc: fix typo (#30)
u2 Nov 28, 2018
46e0219
Merge pull request #27 from nervosnetwork/fix-typo
TheWaWaR Nov 28, 2018
f59c030
doc: vm is no longer a submodule (#32)
doitian Nov 28, 2018
ab0649c
chore: move explorer to new repo
quake Nov 28, 2018
7c09312
Merge pull request #34 from nervosnetwork/quake/separate_explorer
Nov 28, 2018
2494aa7
chore: add `make stats` for counting lines of code (#37)
rainchen Nov 28, 2018
4c2c173
Merge pull request #28 from nervosnetwork/update-dep-bigint
zhangsoledad Nov 28, 2018
1ca3090
chore: add `make security-audit` to audit crates with security vulner…
rainchen Nov 28, 2018
d4ca022
feat: add new syscall to fetch current script hash (#42)
xxuejie Nov 30, 2018
2f8cd66
doc: change the RPC verify command in README (#43)
lgn21st Nov 30, 2018
51b1675
fix: fix missing output lock hash (#46)
xxuejie Nov 30, 2018
c314ecd
doc: better description of RPC verification command (#45)
Dec 1, 2018
a81b2b7
doc: add badges (#35)
doitian Dec 1, 2018
26f043a
chore: upgrade crate `jsonrpc-http-server`
doitian Nov 29, 2018
4c9b397
chore: remove dependency on YAML
doitian Nov 29, 2018
f93e1da
feat: dockerfile for hub (#48)
zhangsoledad Dec 4, 2018
5fa2d7f
chore: upgrade outdated deps
zhangsoledad Dec 4, 2018
af64b05
chore: module-level attributes to skip generated code rustfmt clippy
zhangsoledad Dec 4, 2018
be5ca52
Merge pull request #50 from zhangsoledad/zhangsoledad/upgrade_dep
zhangsoledad Dec 4, 2018
f036763
chore: allow CI on all branches (#49)
doitian Dec 4, 2018
62defc8
Merge pull request #51 from zhangsoledad/zhangsoledad/skip_attributes
zhangsoledad Dec 4, 2018
8c8382a
fix: fix IBD sync process
jjyr Dec 5, 2018
2585e0a
chore(typo): correct minor grammar issues in TODO comment (#66)
ashchan Dec 6, 2018
542860c
Merge pull request #64 from nervosnetwork/jjyr/fix-IBD-sync-headers-p…
zhangsoledad Dec 6, 2018
7fef14d
refactor: rpc and miner (#52)
quake Dec 10, 2018
0cd755c
chore: upgrade crossbeam-channel (#69)
quake Dec 10, 2018
2cb8aca
refactor: replace ethereum-types with numext
zhangsoledad Nov 27, 2018
1b55d0d
build: bump rust-toolchain
zhangsoledad Dec 3, 2018
9a02165
Merge pull request #67 from zhangsoledad/zhangsoledad/numext
jjyr Dec 10, 2018
b6ae37a
chore(deps): bump faster-hex from 0.1.0 to 0.1.1
dependabot-support Dec 10, 2018
cfb984c
chore(deps): bump serde_derive from 1.0.80 to 1.0.81
dependabot-support Dec 10, 2018
206edf4
Merge pull request #68 from nervosnetwork/dependabot/cargo/faster-hex…
zhangsoledad Dec 10, 2018
b2f8674
Merge pull request #72 from nervosnetwork/dependabot/cargo/serde_deri…
zhangsoledad Dec 10, 2018
2c9361c
chore(deps): bump serde from 1.0.80 to 1.0.81
dependabot-support Dec 10, 2018
1fa1086
chore(deps): bump indicatif from 0.10.2 to 0.10.3
dependabot-support Dec 10, 2018
2d71b79
Merge pull request #73 from nervosnetwork/dependabot/cargo/serde-1.0.81
zhangsoledad Dec 10, 2018
880d0c7
Merge pull request #65 from nervosnetwork/dependabot/cargo/indicatif-…
zhangsoledad Dec 11, 2018
313b2ea
refactor: embrace Rust 2018 (#75)
zhangsoledad Dec 11, 2018
9573905
refactor: VM syscall refactoring
xxuejie Dec 10, 2018
c9364f2
feat: add LOAD_INPUT_BY_FIELD syscall
xxuejie Dec 11, 2018
7727360
fix: rustfmt
xxuejie Dec 11, 2018
707d661
fix: in case of missing cell, return ITEM_MISSING error instead of ha…
xxuejie Dec 11, 2018
342fb48
fix: Rust 2018 fixes
xxuejie Dec 11, 2018
506410a
Merge pull request #74 from nervosnetwork/xxuejie/syscall-refactoring
xxuejie Dec 11, 2018
c21f5de
fix: fix syscall number
xxuejie Dec 11, 2018
f7ee06e
Merge pull request #77 from nervosnetwork/xxuejie/fix-syscall-number
zhangsoledad Dec 11, 2018
62e784f
fix: fix rpc_url
ashchan Dec 11, 2018
fba929c
Merge pull request #78 from nervosnetwork/fix-rpc-url
zhangsoledad Dec 11, 2018
722b505
fix(build): docker tag (#81)
zhangsoledad Dec 12, 2018
c07b493
fix(build): docker port
zhangsoledad Dec 12, 2018
6d80ea4
fix: fix syscall length calculation (#82)
xxuejie Dec 12, 2018
d248ed4
fix: remove hash caches to avoid JSON deserialization bug (#84)
xxuejie Dec 12, 2018
2c85cba
Merge pull request #85 from zhangsoledad/zhangsoledad/docker_port
zhangsoledad Dec 12, 2018
789f8ca
chore: add script to bump versions
doitian Dec 12, 2018
c4b0a21
chore: run cargo check after bumping version
doitian Dec 12, 2018
1eebf75
fix: remove unsound test
zhangsoledad Dec 12, 2018
edb2658
doc: add link to CHANGELOG in README
doitian Dec 12, 2018
01e02e2
fix: resolve mining old block issue (#87)
quake Dec 12, 2018
2b0976f
fix: uncheck subtract overflow (#88)
zhangsoledad Dec 13, 2018
0be27e4
chore: bump to v0.2.0
doitian Dec 13, 2018
1b49477
chore: CHANGELOG for v0.2.0
doitian Dec 13, 2018
ee446c8
Merge branch 'master' into rc/v0.2.0
doitian Dec 14, 2018
13a6634
chore: amend CHANGELOG for v0.2.0
doitian Dec 17, 2018
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
2 changes: 1 addition & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[cargo-new]
name = "Nervos Core Dev"
email = "[email protected]"

edition = "2018"
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/*.rs
target/
!target/release/ckb
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
language: rust
sudo: true
branches:
only:
- master
- develop
cache:
timeout: 1024
directories:
Expand All @@ -16,12 +12,12 @@ env:
matrix:
include:
- os: osx
rust: 1.29.2
rust: 1.31.0
install:
- cargo fmt --version || rustup component add rustfmt-preview
- cargo clippy --version || rustup component add clippy-preview
- cargo fmt --version || rustup component add rustfmt
- cargo clippy --version || rustup component add clippy
env: SUITE=ci
- rust: 1.29.2
- rust: 1.31.0
addons:
apt:
packages:
Expand Down
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,58 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.


# [v0.2.0](https://github.com/nervosnetwork/ckb/compare/v0.1.0...v0.2.0) (2018-12-17)

In this release, we have upgraded to Rust 2018. We also did 2 important refactoring:

- The miner now runs as a separate process.
- We have revised the VM syscalls according to VM contracts design experiments.

### Bug Fixes

* fix IBD sync process ([8c8382a](https://github.com/nervosnetwork/ckb/commit/8c8382a))
* fix missing output lock hash ([#46](https://github.com/nervosnetwork/ckb/issues/46)) ([51b1675](https://github.com/nervosnetwork/ckb/commit/51b1675))
* fix network unexpected connections to self ([#21](https://github.com/nervosnetwork/ckb/issues/21)) ([f4644b8](https://github.com/nervosnetwork/ckb/commit/f4644b8))
* fix syscall number ([c21f5de](https://github.com/nervosnetwork/ckb/commit/c21f5de))
* fix syscall length calculation ([#82](https://github.com/nervosnetwork/ckb/issues/82)) ([fb23f33](https://github.com/nervosnetwork/ckb/commit/fb23f33))
* in case of missing cell, return `ITEM_MISSING` error instead of halting ([707d661](https://github.com/nervosnetwork/ckb/commit/707d661))
* remove hash caches to avoid JSON deserialization bug ([#84](https://github.com/nervosnetwork/ckb/issues/84)) ([1274b03](https://github.com/nervosnetwork/ckb/commit/1274b03))
* fix `rpc_url` ([62e784f](https://github.com/nervosnetwork/ckb/commit/62e784f))
* resolve mining old block issue ([#87](https://github.com/nervosnetwork/ckb/issues/87)) ([01e02e2](https://github.com/nervosnetwork/ckb/commit/01e02e2))
* uncheck subtract overflow ([#88](https://github.com/nervosnetwork/ckb/issues/88)) ([2b0976f](https://github.com/nervosnetwork/ckb/commit/2b0976f))


### Features

* refactor: embrace Rust 2018 (#75) ([313b2ea](https://github.com/nervosnetwork/ckb/commit/313b2ea))
* refactor: replace ethereum-types with numext ([2cb8aca](https://github.com/nervosnetwork/ckb/commit/2cb8aca))
* refactor: rpc and miner (#52) ([7fef14d](https://github.com/nervosnetwork/ckb/commit/7fef14d))
* refactor: VM syscall refactoring ([9573905](https://github.com/nervosnetwork/ckb/commit/9573905))
* add `get_current_cell` rpc for fetching unspent cells ([781d5f5](https://github.com/nervosnetwork/ckb/commit/781d5f5))
* add `LOAD_INPUT_BY_FIELD` syscall ([c9364f2](https://github.com/nervosnetwork/ckb/commit/c9364f2))
* add new syscall to fetch current script hash ([#42](https://github.com/nervosnetwork/ckb/issues/42)) ([d4ca022](https://github.com/nervosnetwork/ckb/commit/d4ca022))
* dockerfile for hub ([#48](https://github.com/nervosnetwork/ckb/issues/48)) ([f93e1da](https://github.com/nervosnetwork/ckb/commit/f93e1da))
* print full config error instead of just description ([#23](https://github.com/nervosnetwork/ckb/issues/23)) ([b7d092c](https://github.com/nervosnetwork/ckb/commit/b7d092c))


### BREAKING CHANGES

* Miner is a separate process now, which must be started to produce new
blocks.
* The project now uses Rust 2018 edition, and the stable toolchain has to be
reinstalled:

```
rustup self update
rustup toolchain uninstall stable
rustup toolchain install stable
```

If you still cannot compile the project, try to reinstall `rustup`.



# [v0.1.0](https://github.com/nervosnetwork/ckb/compare/v0.1.0-pre10...v0.1.0) (2018-11-26)


Expand Down Expand Up @@ -43,6 +95,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
changed. It may break scripts and integration tests that depends on the
command line interface.



# [v0.1.0-pre10](https://github.com/nervosnetwork/ckb/compare/v0.1.0-pre09...v0.1.0-pre10) (2018-11-01)

In this release, we added syscalls which allow contract reads cells. We are working on contract SDK, and an RPC is added to get the cells. We also did many refactorings to make the code base easier to improve in the future.
Expand Down
Loading