Skip to content
  1. Apr 25, 2019
  2. 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
  3. Mar 25, 2019
  4. 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
  5. Mar 22, 2019
    • Wei Tang's avatar
      Initialize a testing utility (#106) · dea3f834
      Wei Tang authored
      * Add yamltests tool for running yaml state tests
      
      * deny_unknown_fields for state
      
      * Add deny_unknown_fields for all structs
      
      * Do not use serde derive feature
      
      * Remove derive feature from yamltests
      dea3f834
  6. Mar 20, 2019
  7. 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
  8. Mar 11, 2019
  9. Mar 10, 2019
  10. Mar 08, 2019
  11. Mar 06, 2019
  12. Mar 04, 2019
  13. Mar 01, 2019
    • Wei Tang's avatar
      Integrate randao into runtime (#87) · 7cf56fe4
      Wei Tang authored
      * Decouple committee and randao
      
      * Make randao and committee encodable
      
      * Add randao storage to runtime
      
      * Add randao onion implementation
      
      * Finish randao integration
      7cf56fe4
  14. Feb 22, 2019
  15. Feb 21, 2019
  16. Feb 18, 2019
  17. Feb 17, 2019
  18. Feb 15, 2019
  19. Feb 10, 2019
    • Wei Tang's avatar
      Integrate geneirc casper logic and rewards to runtime (#58) · aa75d36a
      Wei Tang authored
      * [WIP] support multiple validators in an attestation and rework runtime
      
      * [WIP] More fixes to nostd and basic new AttestationRecord
      
      * [WIP] finish runtime integration
      
      * [WIP] Fix deps
      
      * [WIP] some compile fixes
      
      * Make consensus compile
      
      * Make everything compile
      
      * Fix authoring
      
      * Fix doctest complain
      aa75d36a
  20. Feb 07, 2019
  21. Jan 31, 2019
  22. Jan 11, 2019
  23. Jan 08, 2019
  24. Jan 07, 2019
  25. Dec 30, 2018
    • Wei Tang's avatar
      06c14d87
    • Wei Tang's avatar
      LMD-GHOST fork choice integration (#38) · 54343d96
      Wei Tang authored
      * Move DigestItem to a separate mod
      
      * CompatibleExtrinsic trait
      
      * Expose API for validator id from attestation
      
      * CompatibleExtrinsic impl
      
      * Save and load latest attestations
      
      * note_block for LatestAttestation
      
      * Expose last finalized/justified slot from runtime
      
      * Implement LMD-GHOST's is_new_best
      
      * Update substrate reference
      
      * Finish LMD-GHOST integration
      
      * Remove old unused lmd-ghost crate
      
      * README: LMD-GHOST is integrated
      54343d96
  26. Dec 21, 2018
  27. Dec 20, 2018