Yutaro Mori
2697d99762
Fix getSignedParentHashes ( #664 )
...
* fix getSignedParentHashes
* Add another check
2018-10-15 16:50:08 +08:00
Catalin Pirvu
c3a7dfce96
Add check for validity to CheckBit method ( #658 )
2018-10-15 02:35:52 +08:00
Yutaro Mori
8bffae1316
Various cleanup and bugfixes around validator/RBC interaction ( #657 )
2018-10-14 10:29:57 -05:00
Ivan Martinez
6d46dda33c
Make blake2b hash util in shared/ ( #649 )
2018-10-13 21:32:29 -05:00
terence tsao
dc8d40d10d
Replace Dynasty with Validator Set Change ( #655 )
2018-10-13 21:12:06 -05:00
Yutaro Mori
f767b11348
Prevent 0 value for committeesPerSlot in shuffle function ( #648 )
2018-10-13 14:05:19 +09:00
terence tsao
6d0290664a
Implement Validator Rotation during State Recalculation ( #645 )
2018-10-12 11:27:55 -07:00
Yutaro Mori
d1eefa5cc7
Use consistent hash formatting ( #650 )
2018-10-12 08:35:49 -07:00
Nishant Das
c67a084b55
Clean Up Todos and Add in Issue Checker ( #640 )
2018-10-11 13:52:09 -05:00
Yutaro Mori
724ae3c999
Implement Precise Ticker For Slot Interval ( #635 )
2018-10-10 11:17:48 -05:00
terence tsao
efeb6976d1
Align Block and State Field Names with Spec ( #628 )
2018-10-09 19:34:50 -07:00
Yutaro Mori
3e8a450e0f
Fix Flaky Tests ( #636 )
2018-10-09 10:52:20 -05:00
Raul Jordan
cd2073e84f
Cleanup and Refactor Shared Package ( #634 )
2018-10-09 00:58:54 -05:00
terence tsao
1c7af71774
Add SpecialRecord Type and Updated Config ( #624 )
2018-10-06 08:30:15 -07:00
Yutaro Mori
ce99bd7605
Refactor to Create DB Package ( #582 )
2018-10-05 13:14:50 -04:00
Nishant Das
3dfbec9d3c
Update Rewards to Align with Spec ( #596 )
...
* Adding integer square root and other changes to spec
* adding doc
* fixing tests
* fix spec
* fix rewards
* Remove failing test
* fix test
* lint
2018-10-04 12:49:18 +08:00
Raul Jordan
b8036fcb0f
Fix Validator Assignment ( #609 )
...
* fix
* ready
2018-10-02 22:39:19 -05:00
Preston Van Loon
8bcddf5fdc
Migrate dependencies on @com_github_ethereum_go_ethereum//event ( #601 )
...
* Add go-ethereum's event and
* remove swp file
* goimports
* remove unused code
* fix gazelle
2018-10-02 21:49:01 -04:00
terence tsao
aec2ea3b1b
Fixed Simulator Slot Alignment ( #607 )
2018-10-02 20:02:52 -05:00
Raul Jordan
593e3dcdf9
Beacon Node Determines Slot From Genesis Block if ChainState Detected ( #606 )
2018-10-02 15:07:33 -05:00
terence tsao
d5bf733948
Fixed Simulator Can't get ParentSlot ( #602 )
2018-10-02 13:34:26 -05:00
Raul Jordan
1abed55bdd
Update Beacon/Validator Flags to Disable Reward/Cross-Link Checking by Default ( #597 )
...
* flag updates
* enable att validity, cross links, rewards
* tests all pass
* fix race
* fix cov
* fix flag
* fix conf
* fix race
* fix gazelle
2018-10-02 10:04:37 +08:00
Preston Van Loon
6e2b6229fe
Revert "Fixed Sync With Simulator ( #588 )" ( #600 )
...
This reverts commit 085b45626e
.
2018-10-01 20:54:45 -04:00
terence tsao
085b45626e
Fixed Sync With Simulator ( #588 )
2018-10-01 14:14:10 -05:00
terence tsao
d65e2a4157
Implemented Dev Flag to Use Demo Config ( #586 )
2018-09-27 23:48:39 -07:00
terence tsao
965c6a30cf
Add Back Deleted Test and New Logs ( #584 )
2018-09-27 19:57:09 -05:00
terence tsao
bc7e07d5dd
Load Genesis State Config when Flag is Specified ( #576 )
2018-09-26 23:58:00 -07:00
Nishant Das
48c07bfeb9
Update Rewards to Align with Spec ( #570 )
...
* updating rewards
* add tests
* adding tests
* lint
2018-09-26 22:20:59 -05:00
Raul Jordan
e10baf7c80
Validator Assignment RPC Beacon Node Stream ( #563 )
2018-09-26 21:34:35 -05:00
Jie Hou
c37ad4b446
Initialize ActiveStateHash and CrystallizedStateHash for Genesis BeaconBlock ( #518 )
2018-09-26 08:34:23 -07:00
Preston Van Loon
5bc324d2f1
Change pubkey from uint64 to bytes ( #561 )
...
* Change pubkey from uint64 to bytes
* add the rebuilt proto pb.go
2018-09-24 22:01:26 -05:00
terence tsao
b59a4eef4e
Fixed Bugs after Crosschecking 2.1 Spec ( #564 )
2018-09-23 22:36:51 -07:00
terence tsao
1988dd0d5d
Change Default Validator Balance to Big Int ( #559 )
2018-09-22 13:15:39 -07:00
Raul Jordan
419cff2512
--Dev Mode Flag for Local Demo/Development ( #537 )
2018-09-21 16:02:17 -05:00
Nishant Das
53508d6bec
Update Rewards to Align With New Spec ( #504 )
2018-09-21 14:56:39 -05:00
Raul Jordan
fa96e57ca2
Re-Add Block Validity Checks ( #541 )
2018-09-21 14:33:53 -05:00
Raul Jordan
190a976d3d
Validator Clients Use an Internal Clock to Determine Slot Responsibility ( #467 )
2018-09-21 09:32:20 -05:00
Daniel Schonfeld
8b61994fb3
Attestation Justified Slot Validation Per Spec ( #516 )
...
* bringing isAttestationValid up to spec and udpating tests
* Seems like a bug/typo returning Slot inside Attestation.JustifiedSlotNumber(), fixed now
* typos per @terenc3t
* change errors and messages
* using positive tests vs negative if statements to test for spec rules
* fix error typo
* remove comment
2018-09-20 20:31:29 -04:00
Divyank Katira
2a51ed3f39
P2P Message Execution Tracing ( #517 )
...
* Request execution tracing initial commit
* Resolve linter issues
* Run gazelle
* Make trace sampling configurable, clean up, update doc
* Document trace span creation
* Fix linter issue
2018-09-20 07:46:35 -04:00
terence tsao
b4e57489af
Fixed Bugs for Proposer Attestation ( #539 )
2018-09-19 10:23:26 -04:00
Preston Van Loon
8bfed4897f
Added Comments/Documentation on Recent Block Hashes of ActiveState ( #533 )
...
* Add some clarifying comments to calculateNewBlockHash
* missing )
* words
2018-09-19 12:28:50 +08:00
terence tsao
ddfe1715c9
RPC methods for Validators to Get ShardID, Index and Slot ( #526 )
2018-09-17 22:36:09 -04:00
terence tsao
ae84cfcfa2
Implement Proposer Attestation Check for Block Validity ( #508 )
2018-09-15 07:51:17 -07:00
Jie Hou
be11f2f103
Check attestation slot number ( #515 )
2018-09-13 22:07:30 -07:00
terence tsao
9639161fcc
Aligning With Latest 2.1 Spec ( #513 )
2018-09-13 17:36:57 -07:00
terence tsao
593c1ec9fc
Filled in ContainsBlock for Blockchain Service ( #512 )
...
* Revert "Add Skip Coverage Condition in Coverage.sh (#416 )"
This reverts commit 72a5dd1cf4
.
* add coverage.sh back
* filled in contains block to not always return false
* fixed lint
* lint
2018-09-13 23:24:18 +08:00
Daniel Schonfeld
15a6545f64
Default values for Genesis Block ( #507 )
...
* return a genesis block filled with default values
modified tests to reflect the block's requirements
* linted
2018-09-13 21:21:57 +08:00
terence tsao
a630abae59
Dynasty Transition During Block Processing ( #498 )
2018-09-11 20:17:20 -07:00
Yutaro Mori
f312c013fc
beacon-chain: Refactor Beacon Chain To Simplify Block Processing ( #473 )
2018-09-11 07:09:41 +02:00
Preston Van Loon
78c763368b
Update rules_go, bazel_gazelle, and go-ethereum to Support Go 1.11 ( #490 )
...
* Update rules_go, bazel-gazelle, and go-ethereum to support go 1.11
* gazelle
2018-09-10 23:14:29 +02:00