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

fetch new #3

Merged
merged 75 commits into from
Sep 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
1e2f55a
Add some kton tests
wuminzhe Jul 2, 2019
643658e
Merge pull request #24 from wuminzhe/poc1-final
hackfisher Jul 3, 2019
b9311a7
rebase on #5bf5e8f5
sekisamu Jul 3, 2019
37b7b46
Merge pull request #30 from hammeWang/poc1-final
Jul 3, 2019
e815522
delete Cargo.lock.bak
sekisamu Jul 3, 2019
f72d419
Merge pull request #31 from hammeWang/poc1-final
Jul 3, 2019
ce48c03
update node/runtime/wasm/Cargo.lock
sekisamu Jul 5, 2019
2fb68f3
update kton tests
sekisamu Jul 5, 2019
d1d6bef
update Storage identifier to be compatible to frontend
sekisamu Jul 5, 2019
60b7239
Merge pull request #39 from darwinia-network/master
Jul 8, 2019
9bedd8a
Merge remote-tracking branch 'upstream/poc1-final' into poc1-final
sekisamu Jul 8, 2019
c703987
update cargo.lock
sekisamu Jul 8, 2019
b2df080
mark bugs in `_IMPL_DECODE_FOR_RewardDestination::_parity_codec::Deco…
sekisamu Jul 8, 2019
9786e5a
add aura and evo-staking
sekisamu Jul 9, 2019
7391c5d
remove unnecessary module for now
sekisamu Jul 11, 2019
50aa83f
add kton tests
sekisamu Jul 12, 2019
c605290
fix bug in kton::make_free_balance_be
sekisamu Jul 13, 2019
8346a3a
add kton tests
sekisamu Jul 13, 2019
c1a2a0e
fix bug in chain_spec
sekisamu Jul 13, 2019
cbea038
add basic tests about staking
sekisamu Jul 13, 2019
0fd5973
remove unnecessary code
sekisamu Jul 16, 2019
c38a722
update runtime version
sekisamu Jul 17, 2019
0085336
mark:update for frontend event decoding
sekisamu Jul 18, 2019
4d5304d
update for test all, temporarily
sekisamu Jul 22, 2019
7c4e258
add kton storage initialization
sekisamu Jul 24, 2019
47c627c
handle errs in staking
sekisamu Jul 24, 2019
d9e464d
add staking tests and fix bugs in wasm buidling
sekisamu Jul 26, 2019
aea03eb
close https://github.com/darwinia-network/darwinia/issues/48
sekisamu Jul 26, 2019
86f8120
fix errs in test after removing depositing in genesis config
sekisamu Jul 26, 2019
b4efa77
modify staking
sekisamu Jul 29, 2019
4be19ec
extract reward module
wuminzhe Jul 26, 2019
2413187
split reward module to two modules: reward and gringotts
wuminzhe Jul 29, 2019
8f54dd4
Merge pull request #49 from wuminzhe/poc1-final
hackfisher Jul 29, 2019
a2451a7
fix typo and compile issue
hackfisher Jul 29, 2019
a9e4230
merge from master and resolve conflict
hackfisher Jul 29, 2019
7390a7c
Merge pull request #50 from darwinia-network/poc1-final
hackfisher Jul 29, 2019
d198495
fix storage prefix in gringotts
Jul 31, 2019
c19b596
remove useless struct code from kton module
hackfisher Aug 1, 2019
c1eb7c5
save for new staking, bond and bond_extra finished
sekisamu Aug 7, 2019
96b3d15
modify slashable_balance, with bugs
sekisamu Aug 8, 2019
8b17f26
saving for front-end testing
sekisamu Aug 9, 2019
a243365
initialize staking tests
sekisamu Aug 9, 2019
f3a0459
complete staking
sekisamu Aug 10, 2019
7c82670
modify settings in staking
sekisamu Aug 10, 2019
a509089
modify types for fronend
sekisamu Aug 12, 2019
7afa3a4
update typs.json
sekisamu Aug 12, 2019
7a9e09e
Merge pull request #62 from freehere107/master
hackfisher Aug 12, 2019
36a32f8
add staking tests and modify some logic
sekisamu Aug 12, 2019
4757e06
fix typo in types.json
sekisamu Aug 12, 2019
e034ad9
fix typo in types.json
sekisamu Aug 12, 2019
03f1d6d
Merge branch 'develop' of https://github.com/darwinia-network/darwini…
hackfisher Aug 12, 2019
56af02f
merge from master and resolve conflict, and one new issue on test-cli…
hackfisher Aug 12, 2019
788a3ed
add unbond_with_punish in staking
sekisamu Aug 13, 2019
5c3410a
modify unbond
sekisamu Aug 13, 2019
a7dfb77
update turning normal bonded ring into promised one
sekisamu Aug 13, 2019
c47c188
update inflation and genesis config
sekisamu Aug 14, 2019
e9bb90d
intialize kton test
sekisamu Aug 14, 2019
fe0bf81
fix logic bug in staking
sekisamu Aug 14, 2019
83861cd
update cargo.toml
sekisamu Aug 14, 2019
133d402
update chain_spec
sekisamu Aug 26, 2019
4fd28c7
mapping controller to nodename
sekisamu Aug 26, 2019
a4db4d5
update slashing bonded balance and fix typo
sekisamu Aug 27, 2019
fd6084d
update staking to remove power
sekisamu Aug 28, 2019
33ecbaf
update docs in staking
sekisamu Aug 28, 2019
8966fd7
shorten bondingduration for testing
sekisamu Aug 29, 2019
ae905c4
add properties in chain_spec
sekisamu Aug 29, 2019
2055020
update validator_payment_ratio type
sekisamu Aug 29, 2019
0f4a2c9
update reward test
sekisamu Aug 30, 2019
615321d
fix bug in slash and add tests
sekisamu Aug 30, 2019
3f16906
fix bug when rewarding
sekisamu Aug 30, 2019
953fc75
fix bug when slashing kton
sekisamu Aug 30, 2019
6308301
remve current_session_reward to fix test error
sekisamu Aug 30, 2019
6e70937
update configs for crayfish testnet
sekisamu Sep 2, 2019
3431dc8
upload config file for cross compile
hackfisher Sep 2, 2019
cd4d244
Merge branch 'develop' of https://github.com/darwinia-network/darwini…
hackfisher Sep 2, 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
.idea
!node/runtime/wasm/target/wasm32-unknown-unknown/release/*.compact.wasm

test-client

.DS_Store
19 changes: 19 additions & 0 deletions .x86_64-unknown-linux-gnu_env_cross_compile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# https://timryan.org/2018/07/27/cross-compiling-linux-binaries-from-macos.html

# brew tap SergioBenitez/osxct
# brew install x86_64-unknown-linux-gnu

# Linker for the target platform
# (cc can also be updated using .cargo/config)
export TARGET_CC="x86_64-unknown-linux-gnu-gcc"

export LINUX_GCC_TARGET_PATH="/usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/lib/gcc/x86_64-unknown-linux-gnu/7.2.0"

# Library headers to link against
export TARGET_CFLAGS="-I $LINUX_GCC_TARGET_PATH/include -isystem /usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/x86_64-unknown-linux-gnu/sysroot/usr/include"
# Libraries (shared objects) to link against
export LD_LIBRARY_PATH="$LINUX_GCC_TARGET_PATH;/usr/local/Cellar/x86_64-unknown-linux-gnu/7.2.0/toolchain/x86_64-unknown-linux-gnu/sysroot/usr/lib"

# openssl-sys specific build flags
export OPENSSL_DIR="/usr/local/Cellar/openssl/1.0.2r"
export OPENSSL_LIB_DIR="/usr/local/Cellar/openssl/1.0.2r/lib"
1,016 changes: 524 additions & 492 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ path = 'node/src/main.rs'

[workspace]
members = [
# "test-client",
"node/cli",
"node/executor",
"node/primitives",
"node/runtime",
"node/rpc-client",
"srml/staking",
"srml/token/ring",
"srml/token/kton",
"srml/kton",
"srml/support",
"srml/aura",
"srml/try",
Expand All @@ -66,9 +66,9 @@ members = [
exclude = ["node/runtime/wasm"]

[package]
authors = ['Parity Technologies <admin@parity.io>']
authors = ['Darwinia Network <hello@darwinia.network>']
build = 'build.rs'
edition = '2018'
name = 'darwinia-poc1'
version = '0.1.0'
name = 'darwinia-crayfish'
version = '0.3.0'

3 changes: 2 additions & 1 deletion node/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tokio = "0.1.7"
futures = "0.1"
exit-future = "0.1"
cli = { package = "substrate-cli", git = 'https://github.com/paritytech/substrate.git' }
parity-codec = { version = "3.3" }
parity-codec = { version = "4.1.1" }
sr-io = { git = 'https://github.com/paritytech/substrate.git' }
client = { package = "substrate-client", git = 'https://github.com/paritytech/substrate.git' }
primitives = { package = "substrate-primitives", git = 'https://github.com/paritytech/substrate.git' }
Expand All @@ -39,6 +39,7 @@ timestamp = { package = "srml-timestamp", git = 'https://github.com/paritytech/s
rand = "0.6"
finality_tracker = { package = "srml-finality-tracker", git = 'https://github.com/paritytech/substrate.git', default-features = false }
srml-support = { git = 'https://github.com/paritytech/substrate.git', default-features = false }
contracts = { package = "srml-contracts", git = 'https://github.com/paritytech/substrate.git', default-features = false }
backtrace = "0.3"
reqwest = "0.9.5"
serde = "1.0"
Expand Down
Loading