Skip to content
  1. May 27, 2019
  2. May 25, 2019
  3. May 23, 2019
    • Wei Tang's avatar
      Basic validator implementation (#137) · a6a586ce
      Wei Tang authored
      * Print out attestation assignment for known validators
      
      * [WIP] Creating attestations for validators
      
      * Build executive directly from executor
      
      * Add BitField bit setters
      
      * Create signature
      
      * Simple attestation pool implementation
      
      * Remove unused file for now
      a6a586ce
  4. May 18, 2019
    • Wei Tang's avatar
      Propose block using real bls schemes (#136) · 5f0da8dc
      Wei Tang authored
      * Expose proposer index and pubkey to executor
      
      * Use importer even for self-built blocks
      
      * Remove unused imports
      
      * New block builder routine
      
      * Switch to real bls implementation and properly sign all data structures
      
      * Fix compile warning
      
      * Add conditional compile for serde(skip)
      5f0da8dc
  5. May 17, 2019
  6. May 16, 2019
  7. May 12, 2019
  8. May 09, 2019
  9. May 06, 2019
    • Wei Tang's avatar
      Update beacon crate to spec v0.6.1 (#128) · 51c2d0bf
      Wei Tang authored
      * [WIP] Update all config and struct definitions
      
      * [WIP] Utils function spec update I
      
      * [WIP] Utils functions spec update II
      
      * [WIP] Re-init beacon
      
      Cherry-pick back old code rather than modifying it is easier to do -- as there are many changes.
      
      * [WIP] Cherry-pick back all types
      
      * [WIP] Cherry pick back all helpers
      
      * [WIP] Cherry-pick back validator status helpers
      
      * [WIP] Migrate back per epoch helpers
      
      * [WIP] Cherry-pick justification and finalization
      
      * [WIP] Redo crosslink and rewards
      
      * [WIP] Cherry-pick back all per epoch operations
      
      * [WIP]
      
      * [WIP] Port back all operations
      
      * Add state root verification
      
      * [WIP] Fix warnings
      
      * Finish fixing all warnings
      
      * Add function to execute block
      
      * Add back small config
      
      * Add new test repo
      
      * Update yamltests for the new format and pass those tests
      
      * Check block state root in execute_block
      
      * Add full tests
      
      * Update tests
      
      * Add back block builder
      
      * Fix other crate compile
      
      * Make beacon crate work again in no_std
      51c2d0bf
  10. May 03, 2019
  11. Apr 29, 2019
  12. Apr 28, 2019
  13. Apr 26, 2019
  14. Apr 25, 2019
  15. Apr 24, 2019
  16. Apr 03, 2019
    • Wei Tang's avatar
      Add docs for all beacon and ssz structs (#115) · 251a4950
      Wei Tang authored
      * Fix all missing docs in ssz
      
      * Add docs for all beacon structs
      
      * Update version
      251a4950
    • Wei Tang's avatar
      Reverse dependency of primitives and beacon (#114) · e52ee6e4
      Wei Tang authored
      * ssz, ssz-derive: publish v0.1.1
      
      * Remove keccak-hasher dependency
      
      * [WIP] Reverse dependency for serenity crate
      
      * Rename serenity to beacon
      
      * Introduce with-codec and with-serde features for beacon
      
      * Fix all compile due to interface changes
      
      * Add description and license for beacon crate
      
      * Update beacon version
      
      * Commit cargo lock
      e52ee6e4
  17. Mar 28, 2019
  18. Mar 25, 2019
    • Wei Tang's avatar
      Allow config struct to be passed from yamltests (#112) · 5ad0e707
      Wei Tang authored
      * Add a full config
      
      * Allow config struct to be passed from yamltests
      
      * Fix tests
      5ad0e707
    • Wei Tang's avatar
      Introduce config parameters (#111) · 673eb467
      Wei Tang authored
      * Implement a config trait
      
      * Migrate cache to use config struct
      
      * Migrate per_block to use config
      
      * Migrate per epoch processing to use config
      
      * Migrate per slot executive to use config
      
      * Use executive in execute_block
      
      * Gradually remove all consts
      
      * Clean up more consts
      
      * Clean up the rest of consts and util
      
      * Fix tests
      673eb467
    • Wei Tang's avatar
      Implement use_fixed attr so that FixedVec can be hidden (#110) · 20fbeac3
      Wei Tang authored
      * Implement use_fixed attr so that FixedVec can be hidden
      
      * Fix yamltests and fix missing use_fixed in hash derive
      20fbeac3
    • Wei Tang's avatar
      Integrate state test to CI (#109) · 460d711e
      Wei Tang authored
      * Ignore keys, data* and nix shell config
      
      * Add eth2.0-tests submodule
      
      * Move structs to yamltests
      
      * Integrate small config state test to CI
      
      * Update submodule in init script
      
      * Use GIT_SUBMODULE_STRATEGY
      460d711e
  19. Mar 23, 2019
    • Wei Tang's avatar
      Pass all the state tests in `sanity-check_small-config_32-vals` (#108) · 950d850d
      Wei Tang authored
      * Make sure all tests are checked and fix an issue in slot progression
      
      * Fix an overflow issue and flush stdout when running tests
      
      * Add parameter to allow only running one test
      
      * Fix epoch overflow and an issue related to effective balance
      
      * Add test for permuted_index
      
      * Fix a bug in beacon block index calculation
      
      * Fix an issue in attestation inclusion
      
      * Fix missing logic for handling deposit
      
      * Shouldn't use wrapping
      950d850d
    • Wei Tang's avatar
      Run tests via yamltests and fix some issues along the way (#107) · 920670e7
      Wei Tang authored
      * Fix an issue in ssz and bitfield
      
      * Add test for basic header serialization
      
      * Fix serialization issue in beaconstate
      
      * Make some tests to pass
      
      * Comment out deposit_count for now
      
      Test states it does not exist at this moment, while spec disagrees
      
      * Ignore genesis block test because test/spec difference
      920670e7
  20. Mar 22, 2019
  21. Mar 20, 2019
  22. Mar 18, 2019
    • Wei Tang's avatar
      Update Substrate reference to HEAD (#103) · 93d30ae7
      Wei Tang authored
      93d30ae7
    • Wei Tang's avatar
      Add tests and get ssz impl comply with the current spec (#102) · 87073ee7
      Wei Tang authored
      * Add new uint tests
      
      * Check deserialization for uint
      
      * Align ssz to the newest dev spec
      
      * Fix derive for new spec
      
      * Check in prefixable
      
      * Chunkify
      
      * Add test for chunkify
      
      * Add merkleize and tests
      
      * Add bytes impl for hash
      
      * Add tuple tests
      
      * Fix derive hashing
      
      * Add description for ssz and ssz-derive
      
      * Remove debug println
      
      * Fix build
      
      * Add version for ssz
      
      * Fix whitespace typo
      
      * Fix breakage due to nightly 2019-03-18
      
      * Remove rust toolchain file
      87073ee7
  23. Mar 12, 2019
  24. Mar 11, 2019