- May 18, 2019
-
-
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)
-
- May 16, 2019
-
-
Wei Tang authored
* fix: ancestorQuery should never return None * fix: lmd-ghost error types unification * Make lmd-ghost properly set head * Implement JustifiableExecutor for beacon block struct * Replace BestDepthImporter with ArchiveGhostImporter
-
- May 12, 2019
-
-
Wei Tang authored
* Create archive lmd-ghost impl for simplicity * Add blockchain executable directly built on top of libp2p * Fix tests
-
- May 06, 2019
-
-
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
-
- Apr 29, 2019
-
-
Wei Tang authored
-
- Apr 28, 2019
-
-
Wei Tang authored
* beacon: UnsealedBeaconBlock * Upgrade blockchain to 0.5.1
-
- Apr 26, 2019
-
-
Wei Tang authored
* Simple interface to blockchain * Add block builder interface
-
- Apr 25, 2019
- Apr 03, 2019
-
-
Wei Tang authored
* Fix all missing docs in ssz * Add docs for all beacon structs * Update version
-
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
-
- Mar 25, 2019
-
-
Wei Tang authored
* Implement use_fixed attr so that FixedVec can be hidden * Fix yamltests and fix missing use_fixed in hash derive
-
- Mar 23, 2019
-
-
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
-
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
-
- Mar 22, 2019
-
-
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
-
- Mar 20, 2019
-
-
Wei Tang authored
* Move from zcash's crypto to signature-schemes * Make secret making accept secrets of any length * Make serenity crate use amcl crypto
-
- Mar 18, 2019
-
-
Wei Tang authored
-
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
-
- Mar 11, 2019
-
-
Wei Tang authored
-
- Mar 10, 2019
-
- Mar 08, 2019
-
-
Wei Tang authored
* Clean up substrate primitive dependencies for shasper primitive types * Fix import in shasper consensus
-
- Mar 06, 2019
-
-
Wei Tang authored
-
- Mar 04, 2019
-
-
Wei Tang authored
* Move proposer selection to runtime * Verify randao commitment * Commit wasm binary changes
-
- Mar 01, 2019
-
-
Wei Tang authored
* Decouple committee and randao * Make randao and committee encodable * Add randao storage to runtime * Add randao onion implementation * Finish randao integration
-
- Feb 22, 2019
-
-
Wei Tang authored
-
- Feb 21, 2019
-
-
Wei Tang authored
-
- Feb 18, 2019
-
-
Wei Tang authored
-
- Feb 17, 2019
-
-
Wei Tang authored
-
- Feb 15, 2019
-
-
Wei Tang authored
-
- Feb 10, 2019
-
-
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
-
- Feb 07, 2019
-
-
Wei Tang authored
-
- Jan 31, 2019
-
-
Wei Tang authored
* [WIP] update runtime to newest version * Port crypto to edition 2018 * Port everything else and make it compile * Fix start_time * Fix compile
-
- Jan 11, 2019
-
-
Wei Tang authored
-
- Jan 08, 2019
-
-
Wei Tang authored
-
- Jan 07, 2019
-
-
Wei Tang authored
* Update bls version * Re-introduce aggregate signature support
-
- Dec 30, 2018
-
-
Wei Tang authored
-
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
-
- Dec 21, 2018