1. Dec 09, 2019
  2. Dec 04, 2019
  3. Dec 03, 2019
    • Fedor Sakharov's avatar
      Erasure encoding availability (#345) · e5138efc
      Fedor Sakharov authored and asynchronous rob's avatar asynchronous rob committed
      
      
      * Erasure encoding availability initial commit
      
       * Modifications to availability store to keep chunks as well as
         reconstructed blocks and extrinsics.
       * Gossip messages containig signed erasure chunks.
       * Requesting eraure chunks with polkadot-specific messages.
       * Validation of erasure chunk messages.
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarLuke Schoen <[email protected]>
      
      * Fix build after a merge
      
      * Gossip erasure chunk messages under their own topic
      
      * erasure_chunks should use the appropriate topic
      
      * Updates Cargo.lock
      
      * Fixes after merge
      
      * Removes a couple of leftover pieces of code
      
      * Fixes simple stuff from review
      
      * Updates erasure and storage for more flexible logic
      
      * Changes validation and candidate receipt production.
      
      * Adds add_erasure_chunks method
      
      * Fixes most of the nits
      
      * Better validate_collation and validate_receipt functions
      
      * Fixes the tests
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Removes unwrap() calls
      
      * Removes ErasureChunks primitive
      
      * Removes redundant fields from ErasureChunk struct
      
      * AvailabilityStore should store CandidateReceipt
      
      * Changes the way chunk messages are imported and validated.
      
       * Availability store now stores a validator_index and n_validators for
       each relay_parent.
       * Availability store now also stores candidate receipts.
       * Removes importing chunks in the table and moves it into network
       gossip validation.
       * Validation of erasure messages id done against receipts that are
       stored in the availability store.
      
      * Correctly compute topics for erasure messages
      
      * Removes an unused parameter
      
      * Refactors availability db querying into a helper
      
      * Adds the apis described in the writeup
      
      * Adds a runtime api to extract erasure roots form raw extrinsics.
      
      * Adds a barebone BlockImport impl for avalability store
      
      * Adds the implementation of the availability worker
      
      * Fix build after the merge with master.
      
      * Make availability store API async
      
      * Bring back the default wasmtime feature
      
      * Lines width
      
      * Bump runtime version
      
      * Formatting and dead code elimination
      
      * some style nits (#1)
      
      * More nits and api cleanup
      
      * Disable wasm CI for availability-store
      
      * Another nit
      
      * Formatting
      v0.7.5
      e5138efc
  4. Nov 29, 2019
  5. Nov 28, 2019
    • Gavin Wood's avatar
      Update Substrate (#623) · e3a3906b
      Gavin Wood authored
      * Update to latest Substrate master (#615)
      
      * Update to latest Substrate master
      
      * Remove unneeded patch + warning
      
      * Update `Cargo.lock`
      
      * Fix tests
      
      * Update again
      
      * Bump Substrate (#616)
      
      * Update lock
      
      * Fix
      
      * Few fixes
      
      * Bump to latest Substrate
      
      * Fixes
      
      * fix pre-tx-pool compilation
      
      * more compilation fixes
      
      * Updates for the injection period
      
      - Liberal slash-refunding
      - Instant unbonding
      
      * *: Enable refactored authority discovery (#624)
      
      * *: Enable authority discovery module
      
      * *: List authority discovery id after parachain validator id
      
      Make sure existing key types don't change their order by appending the
      authority discovery id instead of injecting it between im online id and
      parachain validator id.
      
      * *: Gate authority discovery module behind feature flag
      
      * cli/src/lib.rs: Fix warnings
      
      * cli/src/lib.rs: Shorten line length
      
      * Bump Substrate
      
      * Bump Substrate
      
      * Line widths
      
      * Line widths again
      
      * Revert bump.
      e3a3906b
    • Pierre Krieger's avatar
      Make availability-store compile for WASM · 20104e98
      Pierre Krieger authored
      20104e98
  6. Aug 29, 2019
    • asynchronous rob's avatar
      ICMP message-routing gossip (#304) · 03cfa5e9
      asynchronous rob authored
      
      
      * core logic for ICMP gossip
      
      * refactor gossip to make more extension friendly
      
      * move files aroun
      
      * extract attestation-gossip logic to its own module
      
      * message validation and broadcast logic
      
      * fix upstream crates' compilation
      
      * add a test
      
      * another test for overlapping
      
      * Some grammar and phrasing tweaks
      
      Co-Authored-By: default avatarLuke Schoen <[email protected]>
      
      * add since parameter to ingress runtime API
      
      * broadcast out known unrouted message queues
      
      * fix compilation of service and collator
      
      * remove useless index_mapping
      
      * some tests for icmp propagation
      
      * fix decoding bug and test icmp queue validation
      
      * simplify engine-id definition
      
      Co-Authored-By: default avatarSergei Pepyakin <[email protected]>
      
      * address some grumbles
      
      * some cleanup of old circulation code
      
      * give network a handle to extrinsic store on startup
      
      * an honest collator ensures data available as well
      
      * address some grumbles
      
      * add docs; rename the attestation session to "leaf work"
      
      * module docs
      
      * move gossip back to gossip.rs
      
      * clean up and document attestation-gossip a bit
      
      * some more docs on the availability store
      
      * store all outgoing message queues in the availability store
      
      * filter `Extrinsic` out of validation crate
      
      * expunge Extrinsic from network
      
      * expunge Extrinsic from erasure-coding
      
      * expunge Extrinsic from collator
      
      * expunge from adder-collator
      
      * rename ExtrinsicStore to AvailabilityStore everywhere
      
      * annotate and clean up message-routing tests
      03cfa5e9
  7. Aug 12, 2019
    • Kian Paimani's avatar
      Update to latest Substrate master. (#353) · af0d87af
      Kian Paimani authored
      
      
      * Integrate srml/im-online
      
      * Fix all build errors with old aura.
      
      * Fix most of the build errors.
      
      * Builds and tests seem to pass (I will not trust this commit yet)
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Kill some warnings.
      
      * fix panics on 0 validators
      
      * Fix dev chain.
      
      * Fix author stuff
      
      * fix im online integration.
      
      * Some tweaks
      
      * Introduce app-crypto
      
      * Initial build work
      
      * codec update / tweaks
      
      * patch polkadot-erasure-coding input
      
      * More fixes for new crypto
      
      * More fixes
      
      * Update parachains module
      
      * evamp parachain crypto
      
      * More crypto work.
      
      * Chain spec and service.
      
      * ChainSpec stuff
      
      * Last bits for a clean build
      
      * Tweak coment
      
      * adapt polkadot-validation to the new keystore
      
      * polkadot-network compiles, but tests don't
      
      * Integrate the new parachain validation stuff
      
      * delete message_routing file
      
      * make polkadot-network tests compile and pass
      
      * runtime tests compile and pass
      
      * update substrate ref
      
      * service compiles
      
      * all tests pass
      
      * Add TODO, change branch back to polkadot-master
      
      * Lock file
      
      * TODOs done
      
      * Issue number
      
      * Remove old tODO
      
      * Remove commented code
      af0d87af
  8. May 29, 2019
  9. Jan 22, 2019
    • asynchronous rob's avatar
      Parachain execution yields messages to send (#96) · 5893fa7c
      asynchronous rob authored
      * read head-data directly out of WASM memory
      
      * implement ext_post_message for parachain WASM
      
      * further refactoring of the parachain module
      
      * add externalities error type
      
      * accumulate posted messages when validating parachain candidate
      
      * define Extrinsic type in primitives
      
      * availability-store: store extrinsic data
      
      * compute extrinsic and check against candidate
      
      * add some egress queue tests
      
      * grumbles & substrate update
      
      * ensure everything builds
      5893fa7c
  10. Dec 11, 2018
    • asynchronous rob's avatar
      Authorship works again (#50) · 13b58b13
      asynchronous rob authored
      * provide through inherent-data when authoring
      
      * remove unneeded codec round-trip in proposer
      
      * refactor polkadot-consensus service architecture
      
      * integrate block authorship into polkadot service
      
      * remove unused extern substrate-network crate in service
      
      * write wrapper for unifying errors in consensus proposer
      
      * extend wrapper further
      
      * switch temporarily to macro-changing branch
      
      * runtime compiles
      
      * implement `inherent_extrinsics` for runtime
      
      * block authorship works
      
      * add GRANDPA to polkadot runtime
      
      * get everything compiling
      
      * use substrate master branch again
      
      * remove some unneeded params
      
      * update WASM
      
      * parse only extrinsics when pruning availability store
      
      * update recent deps
      
      * runtime almost compiles
      
      * need to expose trait type in build : I had to put phantomdata manually.
      
      * finish updating authorship to latest GRANDPA and Aura
      
      * fix tests
      
      * update wasm
      13b58b13
  11. Nov 25, 2018
    • Gav Wood's avatar
      Make work with Substrate master (#36) · a35ddc58
      Gav Wood authored
      * Fix up wasm runtime build
      
      * Fixes for runtime
      
      * Fix.
      
      * More fixes
      
      * Runtime builds on native.
      
      * Native and wasm both build without warnings.
      
      * Fix runtime tests.
      
      * Merge #20
      
      * Final fix for native runtime.
      
      * Compile polkadot wo consensus
      
      * Reverted changes to polkadot-consensus
      
      * reintroduce minimal subset of consensus
      
      * reintroduce checked_block to runtime for std
      
      * polkadot_consensus compiles without most of the code
      
      * remove checked_block again and do more checks in parachains for runtime
      
      * uncomment proposer
      
      * remove offline tracker
      
      * extract out parachain-attestation logic from proposal directly
      
      * reintroduce transaction_pool
      
      * write some custom aura verification logic for the block verifier
      
      * use transaction pool in more generic way
      
      * service compiles again
      
      * polkadot-network and tests pass
      
      * remove unused session_key function from router
      
      * everything but CLI compiles due to service hell
      
      * Fixes compilation of `polkadot_cli`
      
      * everything compiles
      
      * update adder wasm
      a35ddc58
  12. Sep 12, 2018
  13. Aug 15, 2018
    • Gav Wood's avatar
      Refactor/substrate state machine generic (#553) · 0b37ecd8
      Gav Wood authored and asynchronous rob's avatar asynchronous rob committed
      * Genric over hasher
      
      * WIP start adding NodeCodec
      
      * Add codec to TrieBackend
      
      * Typechecks
      
      * Fix error type
      
      * Cleanup
      
      * Tests build (and fail)
      
      * Fix tests: don't use MemoryDB::default()
      
      * Lockfile
      
      * Address grumbles
      
      * Teach environmental! about generics
      
      * Add Finder artifacts
      
      * whitespace
      
      * Add a toy impl of Hasher and plug it in to Externalities
      
      * Use `uint` and `fixed-hash` from `parity-common`
      Remove unused U512
      Add test to ensure H256 impls heapsizeof
      
      * lock file updates
      
      * Make hashes Encodable/Decodable
      
      * lock file updates
      
      * Impl FromIterator for TestExternalities so we can collect() and use map!
      
      * Use rustc-hex from crates
      Use rlp from master so dependencies do not mess up the scope
      
      * Fix tests in runtime-io
      
      * lockfile shenanigans
      
      * Add a BlakeHasher impl
      
      * Use BlakeHasher in runtime-io
      
      * lockfile updates
      
      * ws
      
      * Add a Blake2/RLP-flavoured NodeCodec
      
      * Use Blake-flavoured Hasher and NodeCodec
      
      * lockfile
      
      * Implement PartialEq and Default for TestExternalities
      
      * Add note about limitations of environmental!
      
      * Make it compile, but this is probably broken
      
      * Derive Debug so tests in executor can work
      
      * Make executor use BlakeHasher
      
      * ws
      
      * WIP make client generic
      
      * typechecks
      
      * cleanup
      
      * client tests pass
      
      * Fix client/db
      
      * cleanup
      
      * Fix network
      
      * Fix rpc
      
      * Fix service
      
      * Make TestExternalities work better au lieu d'un HashMap
      
      * Fix tests in council
      
      * Fix tests in contract
      
      * Fix tests in council
      
      * Fix democracy
      
      * Add comment about odd-looking reexports in tests
      
      * Don't need to load branch
      
      * Fix staking
      
      * Fix session
      
      * Some polkadot fixes and lockfile
      
      * Fix executive
      
      * fixup lockfile
      
      * Fix polkadot/api
      
      * Fix polkadot/service
      
      * Fix polkadot/runtime tests
      
      * Fix tests in test-runtime
      
      * Test fixes
      
      * Fix missing component in the `std` feature
      
      * Use PhantomData and Result from core
      
      * Fix paths
      Use core
      
      * load heapsize on wasm
      
      * implement `HeapSizeOf` for wasm
      
      * Add toy impl of `blake2_256` for no_std
      
      * lockfile
      
      * Use kvdb* from parity-common and fix errors
      
      * rebuilt lockfile
      
      * Add dummy impl of `on_advance_round` for rhododendron::Context
      
      * Fix build after merge
      
      * Add HeapSizeOf bound where needed
      
      * Sort out dependencies for no_std
      
      * Add HeapSizeOf bound where needed
      
      * use temp branch pending PR merges
      
      * Remove unneeded tests
      
      * Lock file and wasm artifacts
      
      * lockfile
      
      * Use magic commit for libp2p
      
      * Cleanup
      
      * Implement blake2_256 for no_std
      
      * Back on parity-common master
      
      * missing type params
      
      * Update Cargo.lock
      
      * whitespace
      
      * Rename concrete Rlp node codec "RlpCodec" and use everywhere
      Implement a Keccak-flavoured Rlp NodeCodec and use everywhere
      Add a KeccakHasher
      
      * Switch to use KeccakHasher
      
      * Lock file and runtimes
      
      * fixup lockfile
      
      * Fix outstanding issue using concrete types (thanks @gnunicorn)
      
      * Cleanup
      
      * More cleanup
      
      * Comment out Blake2 Hasher
      
      * implement ext_keccak256
      
      * Address todo: FetchChecker is generic
      
      * all tests passing
      0b37ecd8
  14. Aug 06, 2018