Skip to content
  1. Jul 10, 2019
  2. Jul 09, 2019
  3. Jul 08, 2019
  4. Jun 24, 2019
  5. Jun 07, 2019
    • Wei Tang's avatar
      Update spec test to v0.6.3 (#156) · 48373e7a
      Wei Tang authored
      * Add support for crosslink tests
      
      * Add support for registry updates test
      
      * Refresh support for deposit operation
      
      * Add support for attestation test
      
      * Add support for attester slashing test
      
      * Add BlockHeader tests
      
      * Add support for proposer slashing tests
      
      * Add support for transfer tests
      
      * Add support for blocks and slots sanity test
      
      * Add scripts to run state tests
      
      * Fix script
      
      * Fix test path change
      48373e7a
  6. May 31, 2019
  7. May 30, 2019
  8. May 27, 2019
  9. May 25, 2019
    • Wei Tang's avatar
      Code clean up, restructure and README update (#139) · 535a3431
      Wei Tang authored
      * Update README and upgrade blockchain client to newer version
      
      * Remove unfinished pruning lmd-ghost strategy
      
      * Move substrate-specific crates to subfolder substrate
      
      * Fix cargo lock
      
      * Fix CI
      
      * Check in runtime wasm file
      535a3431
  10. 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
  11. May 16, 2019
  12. May 12, 2019
  13. 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
  14. Apr 29, 2019
  15. Apr 28, 2019
  16. Apr 26, 2019
  17. Apr 25, 2019
  18. 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
  19. Mar 25, 2019
  20. 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
  21. 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
  22. Mar 20, 2019
  23. 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
  24. Mar 11, 2019
  25. Mar 10, 2019
  26. Mar 08, 2019
  27. Mar 06, 2019
  28. Mar 04, 2019
  29. 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
  30. Feb 22, 2019
  31. Feb 21, 2019
  32. Feb 18, 2019