protolambda
3cb43fcc27
fix ssz infer type decorator, one None argument too many
2019-06-01 01:49:52 +02:00
protolambda
e044305457
Merge branch 'dev' into ssz-impl-rework
2019-06-01 01:34:49 +02:00
Danny Ryan
8b65b95bd4
port deposit test from #1133
2019-05-31 13:54:58 -06:00
Danny Ryan
a0fd345a77
enforce order of attester slashing indicies. replicates #1126
2019-05-31 13:49:15 -06:00
Carl Beekhuizen
28d98b5cf4
PEP8 cleanups
2019-05-31 13:20:10 +02:00
Carl Beekhuizen
92916e5383
Tests run with both spec versions
2019-05-31 13:08:42 +02:00
Carl Beekhuizen
9e8a969f22
Removes old tests & fixes phase1 tests
2019-05-31 12:44:34 +02:00
Carl Beekhuizen
0c57cfcaa7
state builds from spec version
2019-05-31 11:33:47 +02:00
Carl Beekhuizen
ec9f8f15ed
Adds Custody Tests
2019-05-31 11:32:53 +02:00
Carl Beekhuizen
ed71efc061
state is kwarg
2019-05-31 10:41:39 +02:00
Carl Beekhuizen
5155bc6c4f
Makes everything pass around
2019-05-30 22:57:18 +02:00
Vitalik Buterin
3630b2ea9f
Merge branch 'ssz-impl-rework' of github.com:ethereum/eth2.0-specs into ssz-impl-rework
2019-05-30 09:42:47 -04:00
Vitalik Buterin
8fae0f8c78
Added support for SSZ partials
2019-05-30 09:42:42 -04:00
Hsiao-Wei Wang
ebdf74c6b8
kick the CI
2019-05-30 15:57:39 +08:00
Hsiao-Wei Wang
a81fa54c73
Add README.md
2019-05-30 14:12:05 +08:00
Hsiao-Wei Wang
0424fab024
Use `eth2spec.utils.hash_function.hash`
2019-05-30 13:39:42 +08:00
Hsiao-Wei Wang
c277703423
Add `compile_deposit_contract` command
2019-05-30 13:26:36 +08:00
Hsiao-Wei Wang
12fee0e9d1
Merge branch 'dev' into deposit_contract
2019-05-30 13:19:11 +08:00
Michael Sproul
cc5b172da3
Test deposit top-up with inconsistent withdrawal credentials ( #1133 )
...
* Simplify deposits
* Avoid divisions by zero
Possible fix to avoid four cases of divisions by zero:
* `return state.validator_registry[index].effective_balance // adjusted_quotient // BASE_REWARDS_PER_EPOCH`
* `rewards[index] += get_base_reward(state, index) * attesting_balance // total_balance`
* `validator.effective_balance * min(total_penalties * 3, total_balance) // total_balance`
* `rewards[index] += base_reward * attesting_balance // committee_balance`
See also #1107 .
* fix deposit test for new index handling
* tests: deposit with inconsistent withdrawal credentials
* Update README.md
* Update 0_beacon-chain.md
* Fix linter errors
* Update test_process_deposit.py
* fix deposit test
* fix lint
2019-05-29 20:38:55 -06:00
Danny Ryan
0fd29f7fe9
Merge pull request #1122 from ethereum/JustinDrake-patch-13
...
Simplify deposits
2019-05-29 20:17:18 -06:00
Danny Ryan
f0314bec52
Merge branch 'dev' into JustinDrake-patch-13
2019-05-29 20:15:17 -06:00
Danny Ryan
2aea4b93d0
Merge pull request #1123 from ethereum/JustinDrake-patch-14
...
Avoid divisions by zero
2019-05-29 20:14:23 -06:00
Danny Ryan
f4afb7c1b4
Merge pull request #1134 from terencechain/patch-75
...
Fix Test Formats Broken Links
2019-05-29 20:13:13 -06:00
Hsiao-Wei Wang
b280e0a8d4
Sync with ethereum/deposit_contract#43
2019-05-30 10:08:19 +08:00
Hsiao-Wei Wang
2cd0dee661
Merge branch 'dev' into deposit_contract
2019-05-30 10:02:09 +08:00
Danny Ryan
1eebbf545b
Merge pull request #1136 from ethereum/fix_lint
...
Fix linter errors
2019-05-29 20:00:04 -06:00
Hsiao-Wei Wang
6ec59867ef
Fix linter errors
2019-05-30 09:53:46 +08:00
Hsiao-Wei Wang
22a3bb2d9f
Merge branch 'dev' into deposit_contract
2019-05-30 09:31:34 +08:00
Justin
1c416541e1
Update 0_beacon-chain.md
2019-05-29 23:40:46 +03:00
terence tsao
12a7e26453
Update README.md
2019-05-28 20:57:18 -07:00
Danny Ryan
6286fb3fb5
Merge branch 'dev' into JustinDrake-patch-13
2019-05-28 18:15:33 -06:00
Danny Ryan
c2f0f7e4d8
Merge pull request #1108 from ethereum/eth1_error
...
minor fix to how eth1 data is counted in validator guide
2019-05-28 16:09:04 -06:00
Danny Ryan
4183d8440b
Merge pull request #1069 from sigp/bn-vc-api-rfc
...
Beacon Node API for Validator
2019-05-28 16:07:51 -06:00
Danny Ryan
a994a5d835
Merge pull request #1131 from ethereum/v06x-to-dev
...
V06x to dev
2019-05-28 15:59:49 -06:00
Danny Ryan
5a64b4a909
Merge pull request #1130 from ethereum/v06x
...
Release V06x into master
2019-05-28 15:58:47 -06:00
Vitalik Buterin
053d6e7805
Simplified hash tree root
2019-05-28 14:33:12 -04:00
protolambda
6e8fb529d2
Merge branch 'ssz_static_format' into v06x-to-dev
2019-05-28 18:32:38 +02:00
protolambda
3781614f20
SSZ format update, to facilitate more efficient parsing
2019-05-28 18:28:37 +02:00
protolambda
25cc393180
Merge in fix of bls-setting doc, rm old comments
2019-05-28 18:04:16 +02:00
protolambda
d036b5a87a
Remove some old comments about BLS setting. Description is shared in main readme now.
2019-05-28 18:02:09 +02:00
protolambda
8737984e19
introduce back assert, modified to allow valid but non-effective calls
2019-05-28 16:05:25 +02:00
Vitalik Buterin
4955c40a7b
merge
2019-05-28 09:44:53 -04:00
protolambda
401dba3230
Merge branch 'bls-setting' into v06x-to-dev
2019-05-28 15:38:08 +02:00
protolambda
6ffd41650b
suggestion from hww, reduce into one bls_setting key
2019-05-28 15:35:00 +02:00
Vitalik Buterin
19601df572
Starting work on partials
2019-05-28 09:30:35 -04:00
Carl Beekhuizen
bfa45e06f0
merge dev -> d-p-7
2019-05-28 11:15:17 +02:00
Carl Beekhuizen
fd05b6e364
Minor bugfixes
2019-05-28 09:58:51 +02:00
Hsiao-Wei Wang
f0ceefc36d
Make `test_libs/pyspec/tests` pass
...
1. Use `typing_inspect` library to check if it's `typing.List[Any]`. Use it in `is_list_type`.
2. Add `__hash__`, `__eq__`, `__repr__` methods to some classes.
2019-05-28 13:57:42 +08:00
Hsiao-Wei Wang
00ffaf4d71
Fix ssz path
2019-05-28 12:37:41 +08:00
Luke Anderson
c32328fdf2
Fixed swagger URL so that the version number isn't specified (defaults to latest).
2019-05-28 10:49:40 +10:00