Skip to content
  1. 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
  2. May 16, 2019
  3. May 12, 2019
  4. 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
  5. Apr 29, 2019
  6. Apr 28, 2019
  7. Apr 26, 2019
  8. Apr 25, 2019
  9. 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
  10. Mar 25, 2019
  11. 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
  12. 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
  13. Mar 20, 2019
  14. 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
  15. Mar 11, 2019
  16. Mar 10, 2019
  17. Mar 08, 2019
  18. Mar 06, 2019
  19. Mar 04, 2019
  20. 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
  21. Feb 22, 2019
  22. Feb 21, 2019
  23. Feb 18, 2019
  24. Feb 17, 2019
  25. Feb 15, 2019
  26. 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
  27. Feb 07, 2019
  28. Jan 31, 2019
  29. Jan 11, 2019
  30. Jan 08, 2019
  31. Jan 07, 2019
  32. 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
  33. Dec 21, 2018