Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
639 commits
Select commit Hold shift + click to select a range
7dc7c46
update: to clarify usage change `clone` to `to_owned`
aurexav Dec 4, 2019
000d0c5
Merge pull request #138 from AurevoirXavier/fe-develop
hackfisher Dec 4, 2019
8e558d9
update: `cargo update`
aurexav Dec 5, 2019
4b9617f
update: extend epoch for develop
aurexav Dec 5, 2019
f72a693
update: cli
aurexav Dec 5, 2019
982905c
fix kton tests
Dec 5, 2019
47444da
Fix kton tests (#139)
aurexav Dec 5, 2019
395f64c
add tests for eth relay
hackfisher Dec 5, 2019
10bd5ad
reciept can be read from proof, removing from parameter, but test fail
hackfisher Dec 5, 2019
12682e4
fix balances tests
Dec 5, 2019
7e94ff7
comment out two tests
readlnh Dec 5, 2019
4aad2f6
fix balances tests (#141)
aurexav Dec 5, 2019
df6284e
remove receipt parameter from call, Fixed #128
hackfisher Dec 5, 2019
efc566a
Eliminate warning, Fixed #136
hackfisher Dec 5, 2019
7dd455c
move #[cfg(test)] to lib.rs
hackfisher Dec 5, 2019
b2c2275
resolve conflicts
hackfisher Dec 5, 2019
6d3a754
rename token migrate module to eth-backing
hackfisher Dec 5, 2019
24e53e1
add relay header tests, leaving genesis total Difficulty settings to do.
hackfisher Dec 5, 2019
914f3f5
add genesis total difficulty and more tests
hackfisher Dec 5, 2019
73f519b
Merge pull request #142 from darwinia-network/denny_fixing_ethereum_b…
hackfisher Dec 6, 2019
159ef1a
no message
aurexav Dec 6, 2019
7eff857
Try fix #145
hackfisher Dec 6, 2019
473863c
add: debug event
aurexav Dec 7, 2019
74f1e69
Patch: try fix #145
aurexav Dec 7, 2019
0ec0801
update: `cargo update`
aurexav Dec 7, 2019
7db32f9
update: format
aurexav Dec 7, 2019
4d8fc9e
update: hide debug info
aurexav Dec 7, 2019
141daf5
Merge branch 'denny_fixing_ethereum_bridge' into develop
hackfisher Dec 7, 2019
0c535a8
Merge pull request #149 from AurevoirXavier/develop
hackfisher Dec 7, 2019
5af318c
Fix ethash compile issue on target wasm32, but test fail due to bare_…
hackfisher Dec 7, 2019
999f2a7
rlp encode and decode for EthHeader
hackfisher Dec 7, 2019
22264dd
disable mixhash verify on ropsten for now
hackfisher Dec 9, 2019
10ffaee
clean the tests
hackfisher Dec 9, 2019
4521f6e
Disable mixhash verification for now. (#150)
aurexav Dec 9, 2019
9cbfb52
update: staking module
aurexav Dec 9, 2019
8b8fac3
update: types
aurexav Dec 9, 2019
d7b2d8e
update: StakingLock
aurexav Dec 9, 2019
2aebb58
patch: try fix #151
aurexav Dec 9, 2019
7751d50
Merge remote-tracking branch 'upstream/develop' into develop
aurexav Dec 9, 2019
588664f
fix: support wasm
aurexav Dec 9, 2019
627c231
update: format
aurexav Dec 9, 2019
ce35fa0
update: handle eth-relay error
aurexav Dec 9, 2019
8804585
Merge pull request #152 from AurevoirXavier/update-eth-relay
hackfisher Dec 9, 2019
9f0c651
Merge remote-tracking branch 'upstream/develop' into develop
aurexav Dec 10, 2019
0ab0118
update: format
aurexav Dec 10, 2019
22b5761
fix: #136
aurexav Dec 10, 2019
7adcf2f
update: format
aurexav Dec 10, 2019
99c80d0
update: develop configuration
aurexav Dec 10, 2019
a00e0d5
update: tests
aurexav Dec 10, 2019
f65a261
fix: `basic_setup_works`
aurexav Dec 10, 2019
a9a3013
add: `rewards_should_work`
aurexav Dec 10, 2019
ddf8b79
add: TODO
aurexav Dec 10, 2019
a57b2a6
update: default `node_name`
aurexav Dec 10, 2019
b105fbe
add: `multi_era_reward_should_work`
aurexav Dec 10, 2019
b3370f8
add: `staking_should_work`
aurexav Dec 10, 2019
96caa26
add: `less_than_needed_candidates_works`
aurexav Dec 10, 2019
36fbf63
add: `no_candidate_emergency_condition`
aurexav Dec 10, 2019
b41b008
add: `nominating_and_rewards_should_work`, `nominators_also_get_slashed`
aurexav Dec 10, 2019
772c48f
add: `double_staking_should_fail`
aurexav Dec 10, 2019
574b45d
add: `double_controlling_should_fail`
aurexav Dec 10, 2019
61b48ee
add: `session_and_eras_work`
aurexav Dec 10, 2019
3eb3601
add: `forcing_new_era_works`
aurexav Dec 10, 2019
4f41e7c
add: `cannot_transfer_staked_balance`
aurexav Dec 10, 2019
2be06dc
add: `cannot_transfer_staked_balance_2`
aurexav Dec 10, 2019
588d29a
add: `cannot_reserve_staked_balance`
aurexav Dec 10, 2019
8fff52f
add: `reward_destination_works`
aurexav Dec 10, 2019
a1b6d6c
add: `validator_payment_prefs_work`
aurexav Dec 10, 2019
5b3fde3
add: `bond_extra_works`
aurexav Dec 10, 2019
bca2930
add: `bond_extra_and_withdraw_unbonded_automatically_works`
aurexav Dec 10, 2019
b7a073b
add: `too_many_unbond_calls_should_not_work`
aurexav Dec 10, 2019
d252ecb
add: `slot_stake_is_least_staked_validator_and_exposure_defines_maxim…
aurexav Dec 10, 2019
48ba9e9
add: `on_free_balance_zero_stash_removes_validator`
aurexav Dec 10, 2019
3b2e9ae
add: `on_free_balance_zero_stash_removes_nominator`
aurexav Dec 10, 2019
09f2842
add: `switching_roles`
aurexav Dec 10, 2019
54a054b
add: `wrong_vote_is_null`
aurexav Dec 10, 2019
6c40446
add: `bond_with_no_staked_value`
aurexav Dec 10, 2019
f91592e
add: `bond_with_little_staked_value_bounded_by_slot_stake`
aurexav Dec 10, 2019
4312353
add: `phragmen_linear_worse_case_equalize`
aurexav Dec 10, 2019
eadba9f
add: `new_era_elects_correct_number_of_validators`
aurexav Dec 10, 2019
c2dd357
add: `reward_from_authorship_event_handler_works`
aurexav Dec 10, 2019
57342de
add: `add_reward_points_fns_works`
aurexav Dec 10, 2019
1687d98
add: `unbonded_balance_is_not_slashable`
aurexav Dec 10, 2019
bcd6b55
update: format
aurexav Dec 10, 2019
b50b6de
update: format
aurexav Dec 10, 2019
29e1247
fix: all timestamp to milliseconds format
aurexav Dec 10, 2019
3e4690b
update: types
aurexav Dec 10, 2019
fc82bcc
add: `era_is_always_same_length`
aurexav Dec 10, 2019
89a4c9e
add: `offence_forces_new_era`
aurexav Dec 10, 2019
1588efc
add: `offence_ensures_new_era_without_clobbering`
aurexav Dec 10, 2019
c2840e8
add: `offence_deselects_validator_when_slash_is_zero`
aurexav Dec 10, 2019
06c7a31
add: `slashing_performed_according_exposure`
aurexav Dec 10, 2019
5792d83
add: `reporters_receive_their_slice`
aurexav Dec 10, 2019
36b7b2d
add: `invulnerables_are_not_slashed`
aurexav Dec 10, 2019
a777098
add: `dont_slash_if_fraction_is_zero`
aurexav Dec 10, 2019
fbda43a
fix: typo
aurexav Dec 11, 2019
0bec1bf
patch: try stable develop env when epoch change
aurexav Dec 11, 2019
2a554ae
fix: old tests
aurexav Dec 11, 2019
4ae0fa4
update: eliminate warnings
aurexav Dec 11, 2019
c32bf22
fix: slash 0 Kton when `deposit_ring` smaller than 0.00002 Ring
aurexav Dec 11, 2019
d3f5645
start working on eth-backing
hackfisher Dec 11, 2019
e0fdd25
Merge pull request #155 from AurevoirXavier/develop
hackfisher Dec 11, 2019
a589b50
fix: `srml/*` should not depend on `node/primitives`
aurexav Dec 11, 2019
ec7b158
Merge pull request #157 from AurevoirXavier/develop
hackfisher Dec 11, 2019
6491e54
Merge from develop and resolve conflicts
hackfisher Dec 11, 2019
6c6eba7
Fix typo
hackfisher Dec 11, 2019
23e1c71
Fix testing wrong data
hackfisher Dec 11, 2019
a7b93d1
wrong test data pass the test reflects some logic check flaw here, if…
hackfisher Dec 11, 2019
dd35996
review changes related
hackfisher Dec 11, 2019
cb31bec
Merge pull request #159 from darwinia-network/denny_fixing_ethereum_b…
hackfisher Dec 11, 2019
213c156
update: clean `Cargo.toml` speed up compile
aurexav Dec 11, 2019
9a12b0d
Merge remote-tracking branch 'upstream/develop' into develop
aurexav Dec 11, 2019
3cbea2d
update: clean `Cargo.toml` speed up compile, format
aurexav Dec 11, 2019
6b1bd98
update: folder structure
aurexav Dec 11, 2019
316da99
update: folder structure
aurexav Dec 11, 2019
4a96f54
update: chain spec json
aurexav Dec 11, 2019
590c897
update: replace `["Darwinia Network <hello@itering.com>"]` with `["Da…
aurexav Dec 11, 2019
0d89dd0
remove: unexpected brackets
aurexav Dec 11, 2019
c5e0807
Develop (#160)
aurexav Dec 11, 2019
eb14029
update: ignore
aurexav Dec 11, 2019
933fc78
update: README
aurexav Dec 11, 2019
991fdda
update: develop conf
aurexav Dec 11, 2019
f1d01e8
update: folder structure
aurexav Dec 11, 2019
9695dbb
update: chain spec json
aurexav Dec 11, 2019
cef264a
update: darwinia
aurexav Dec 11, 2019
07b4b3d
fix: wrong type
aurexav Dec 11, 2019
6b64c61
update: Start IceFrog
aurexav Dec 11, 2019
64d9641
update: clean `Cargo.toml`
aurexav Dec 11, 2019
dfc8621
update: `cargo update`
aurexav Dec 11, 2019
ee6f18d
remove: duplicative content
aurexav Dec 11, 2019
ff93a85
update: README
aurexav Dec 12, 2019
08965ac
update: README
aurexav Dec 12, 2019
6a19076
fix: stable develop env
aurexav Dec 12, 2019
4573625
update: chain spec
aurexav Dec 12, 2019
21c5414
update: types
aurexav Dec 12, 2019
83acdd8
update: chain spec
aurexav Dec 12, 2019
2d96c40
fix: #135
aurexav Dec 12, 2019
6402dc1
update: script
aurexav Dec 12, 2019
5eb566f
update: kton
aurexav Dec 12, 2019
341ae38
update: format
aurexav Dec 12, 2019
2164f8a
Merge pull request #161 from AurevoirXavier/develop
hackfisher Dec 12, 2019
abc52bc
add: `Bond`, `Unbond` event
aurexav Dec 13, 2019
faac838
update: README
aurexav Dec 13, 2019
6283eca
update: clarify expression - unify front-end and back-end types
aurexav Dec 13, 2019
b3e2850
Merge pull request #163 from AurevoirXavier/fe-develop
hackfisher Dec 13, 2019
830cbee
Fixing ethabi dependency to support no_std
hackfisher Dec 13, 2019
d2e8083
update: check node name
aurexav Dec 13, 2019
d9acdf0
update: support no std
aurexav Dec 13, 2019
13f2753
parsing the log
hackfisher Dec 13, 2019
67ca8cf
merge from develop and resolve conflicts
hackfisher Dec 13, 2019
b9cc83d
try with try_from &[u8]
hackfisher Dec 13, 2019
1c51db5
update: ready for refactoring balances
aurexav Dec 14, 2019
c23e175
update: mocks and tests
aurexav Dec 14, 2019
0fde936
try with try_from &[u8]
hackfisher Dec 14, 2019
f93f86f
setting up genesis configs
hackfisher Dec 16, 2019
9a8f0ca
update: distinguish Ring/Kton in Bond/Unbond Event and rename `Stakin…
aurexav Dec 16, 2019
50e571c
update: add transfer fee for kton, tracking issue: #165
aurexav Dec 16, 2019
2ef271f
add: develop configuration
aurexav Dec 16, 2019
eebf4d8
update: mock
aurexav Dec 16, 2019
9a266aa
fix: use millisecond
aurexav Dec 16, 2019
26176a5
update: config bonding duration by constants
aurexav Dec 16, 2019
678c263
update: runtime configuration
aurexav Dec 16, 2019
55ac8d4
update: doc
aurexav Dec 16, 2019
ae97dc5
Develop (#167)
aurexav Dec 16, 2019
9f0987b
add ring redeemed impl
hackfisher Dec 16, 2019
afeb1b4
Merge branch 'develop' into denny_fixing_eth_backing
hackfisher Dec 16, 2019
48dbd62
renaming
hackfisher Dec 16, 2019
e8e39be
add kton and deposit redeem logic
hackfisher Dec 16, 2019
7110aa4
update: refactoring `redeem_ring`, `redeem_kton`
aurexav Dec 17, 2019
1352366
fix: typo
aurexav Dec 17, 2019
3a5eac7
update: format
aurexav Dec 17, 2019
f2c53e7
update: handle err
aurexav Dec 17, 2019
4b0b62b
Merge pull request #170 from AurevoirXavier/patch
hackfisher Dec 17, 2019
d1397ed
Merge pull request #158 from darwinia-network/denny_fixing_eth_backing
hackfisher Dec 17, 2019
803ff18
Start unit testing for EthBacking module
hackfisher Dec 17, 2019
59cc98e
Merge branch 'develop' into denny_fixing_eth_backing
hackfisher Dec 17, 2019
bc1eef9
parse_token_redeem_proof test
hackfisher Dec 18, 2019
5273638
add genesis config mock
hackfisher Dec 18, 2019
b3b9d3a
Fix accounnt id decoding issues
hackfisher Dec 18, 2019
add72c1
Fixing for pr reviews
hackfisher Dec 18, 2019
7457f45
add redeem ring test
readlnh Dec 18, 2019
5b49e39
add redeem kton test
readlnh Dec 18, 2019
3faeb12
Fixing wrong paramter index
hackfisher Dec 19, 2019
6fc9781
Merge remote-tracking branch 'upstream/denny_fixing_eth_backing' int…
readlnh Dec 19, 2019
041a90e
changed deposit_redeem_adress
readlnh Dec 19, 2019
40e207d
add verify_redeem_deposit
readlnh Dec 19, 2019
408bd24
Merge pull request #173 from readlnh/eth_backing_test
hackfisher Dec 19, 2019
07694a3
Fixed #174, and adding tests for staking ledger
hackfisher Dec 19, 2019
9062b8e
update: shield unused crates
aurexav Dec 20, 2019
7ed116d
add: testnet conf example
aurexav Dec 20, 2019
b16610a
update: chain spec
aurexav Dec 20, 2019
9af9961
Add events and fix side effect issues related to #177
hackfisher Dec 20, 2019
972651b
update: format
aurexav Dec 20, 2019
b6dcd52
update: switch to develop mode
aurexav Dec 20, 2019
0c44fa0
renaming RingBalanceOf to Ring
hackfisher Dec 20, 2019
e7907e2
remove: useless conf
aurexav Dec 20, 2019
3d56b85
add: provide reward detail to fe
aurexav Dec 20, 2019
ab4375e
Fix bug and test fail
hackfisher Dec 20, 2019
fa4c8b9
Merge pull request #172 from darwinia-network/denny_fixing_eth_backing
hackfisher Dec 20, 2019
b32d4ce
Merge remote-tracking branch 'upstream/develop' into develop
aurexav Dec 20, 2019
a2c4a28
add: missing type
aurexav Dec 20, 2019
a980333
Merge pull request #179 from AurevoirXavier/develop
hackfisher Dec 20, 2019
7ab8946
Fix a side effect caused by Err in eth relay
wuminzhe Dec 24, 2019
deafa99
Fix fmt problems in eth backing module
wuminzhe Dec 24, 2019
2f3644b
Merge pull request #182 from wuminzhe/develop
hackfisher Dec 24, 2019
e75d14a
Add white list two factor protection for eth relay module
wuminzhe Dec 24, 2019
d39ee69
Whitelist can be turned on and off
wuminzhe Dec 24, 2019
7329fbc
add: im-online
aurexav Dec 24, 2019
467c249
add: test
aurexav Dec 24, 2019
bc60b93
add: im-online
aurexav Dec 24, 2019
5514734
update: format
aurexav Dec 24, 2019
4672307
update: shorter session
aurexav Dec 24, 2019
3f8ebad
update: types
aurexav Dec 24, 2019
1b1dc64
update: cargo update
aurexav Dec 24, 2019
4428a3c
Merge remote-tracking branch 'upstream/develop' into develop
aurexav Dec 24, 2019
6640ed4
Merge pull request #187 from AurevoirXavier/develop
hackfisher Dec 24, 2019
d9cf259
Remove useless ok_or
wuminzhe Dec 25, 2019
db10609
update: format
aurexav Dec 25, 2019
664186b
add: `fn` for getter function, follow https://github.com/paritytech/s…
aurexav Dec 25, 2019
adbc812
update: chain spec
aurexav Dec 25, 2019
5cb919c
update: boot configuration
aurexav Dec 25, 2019
368a8d3
Add white list two factor protection for eth relay module (#185)
aurexav Dec 25, 2019
5acf990
remove: useless conf
aurexav Dec 25, 2019
47961b2
update: testnet configuration
aurexav Dec 25, 2019
19766d9
update: types
aurexav Dec 25, 2019
d110129
update: chain spec
aurexav Dec 25, 2019
bfc874a
update: chain spec
aurexav Dec 25, 2019
e99d6bc
update: icefrog configuration
aurexav Dec 25, 2019
2f13f60
update: initial authorities set to 2
aurexav Dec 25, 2019
1f825e6
update: icefrog boot configuration
aurexav Dec 25, 2019
e4f477f
Merge remote-tracking branch 'origin/develop'
aurexav Dec 25, 2019
eb39a50
update: chain spec
aurexav Dec 25, 2019
3364735
update: boot configuration example
aurexav Dec 25, 2019
1840b43
update: version
aurexav Dec 25, 2019
ba90451
update: chain spec
aurexav Dec 25, 2019
6869c49
update: inflation
aurexav Dec 26, 2019
677c147
update: runtime
aurexav Dec 26, 2019
3b9c733
adding payout fraction
hackfisher Dec 26, 2019
5eacdb1
fix: #188
aurexav Dec 26, 2019
073b53c
update: cargo update
aurexav Dec 26, 2019
bbfd60a
update: mock test
aurexav Dec 26, 2019
3e65ad5
udpate: icefrog boot configuration example
aurexav Dec 26, 2019
cfe28e1
update: chain spec
aurexav Dec 26, 2019
70f9d02
Fixing cap accodding to initial supply
hackfisher Dec 26, 2019
2ed062f
update: testnet boot configuration
aurexav Dec 26, 2019
fc0fc71
update: switch to production env
aurexav Dec 26, 2019
e697348
Prepare IceFrog (#194)
aurexav Dec 26, 2019
49d499b
Merge remote-tracking branch 'upstream/develop' into develop
aurexav Dec 26, 2019
3239373
update: types
aurexav Dec 26, 2019
cc5a5e7
add: IKTON
aurexav Dec 26, 2019
f9022eb
Merge pull request #197 from AurevoirXavier/develop
hackfisher Dec 26, 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
17 changes: 15 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,21 @@
**/*.rs.bk

.idea
!node/runtime/wasm/target/wasm32-unknown-unknown/release/*.compact.wasm
.vscode
.DS_Store

test-client
node_runtime.wasm

.DS_Store

# For cross compile
osxcross
darwin-x86_64
darwin-x86_64.tar.gz
linux-x86_64
linux-x86_64.tar.gz
windows-x86_64
windows-x86_64.tar.gz

# Macro expand file
expand.rs
19 changes: 0 additions & 19 deletions .x86_64-unknown-linux-gnu_env_cross_compile

This file was deleted.

Loading