1. Jan 09, 2020
    • Ashley's avatar
      Companion PR for Substrate#4394 (#723) · 6c8eb8a2
      Ashley authored
      * service/src/lib.rs: Register network event stream for authority disc
      
      Previously one would create a sender and receiver channel pair, pass the
      sender to the build_network_future through the service builder and
      funnel network events returned from polling the network service into the
      sender to be consumed by the authority discovery module owning the
      receiver.
      
      With recent changes it is now possible to register an event_stream
      with the network service directly, thus one does not need to make the
      detour through the build_network_future.
      
      This commit is an adjusted clone of one targeting the Substrate
      repository.
      
      * service/src/lib.rs: Fix futures::stream imports
      
      * [TMP] *: Replace polkadot-upstream with feature branch
      
      * Switch branch
      
      * Small change
      
      * Companion PR to substrate#4542
      
      * Revert "Merge remote-tracking branch 'tomaka/companion-4542' into ashley-browser-utils"
      
      This reverts commit 17f00afe, reversing
      changes made to 928cbb9c
      
      .
      
      * ashley-browser-utils -> ashley-browser-utils-polkadot
      
      * Switch branches back
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      6c8eb8a2
  2. Jan 07, 2020
  3. Jan 06, 2020
    • Gavin Wood's avatar
      Fix the can-author issue by defaulting to Kusama when no chainspec given. (#728) · 96f95bdf
      Gavin Wood authored
      * Fix can_author by defaulting correctly.
      
      * Comments
      
      * Better logging
      
      * Bump Substrate
      
      * Minor updates to readme.
      96f95bdf
    • Gavin Wood's avatar
      Hotfix for Kusama (#724) · f1d06780
      Gavin Wood authored
      
      
      * cli: revert borked kusama chain on startup
      
      * Docs.
      
      * cli: fix reversal of bork kusama fork
      
      * cli: force always can author
      
      * Version bump
      
      * service: support setting fork blocks in config
      
      * service: add support for bad blocks extension
      
      * service: add badBlocks to kusama chainspec
      
      * Bump Substrate to hotfix version.
      
      * service: add bad block to kusama chain spec
      
      * cleanup kusama hotfix
      
      * add kusama grandpa hotfix
      
      * Bump substrate
      
      * Bump spec_version
      
      * Rebump
      
      * cli: remove unnecessary dependencies
      
      * service: revert can_author_with fix
      
      * service: remove unnecessary method
      
      * Don't try to track polkadot runtime verion yet
      
      * Versions
      
      * service: better grandpa fix detection
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      f1d06780
  4. Jan 05, 2020
  5. Jan 03, 2020
  6. Jan 01, 2020
  7. Dec 24, 2019
  8. Dec 10, 2019
    • Ashley's avatar
      Update futures and tokio for browser light client (#673) · 5b4ffee3
      Ashley authored
      * Make availability-store compile for WASM
      
      * Use --manifest-path instead
      
      * Make validation work on wasm!
      
      * Switch to Spawn trait
      
      * Migrate validation to std futures
      
      * Migrate network to std futures
      
      * Final changes to validation
      
      * Tidy up network
      
      * Tidy up validation
      
      * Switch branch
      
      * Migrate service
      
      * Get polkadot to compile via wasm!
      
      * Add browser-demo
      
      * Add initial browser file
      
      * Add browser-demo
      
      * Tidy
      
      * Temp switch back to substrate/master
      
      * tidy
      
      * Fix wasm build
      
      * Re-add release flag
      
      * Switch to polkadot-master
      
      * Revert cli tokio version to avoid libp2p panic
      
      * Update tokio version
      
      * Fix availability store tests
      
      * Fix validation tests
      
      * Remove futures01 from availability-store
      
      * Fix network tests
      
      * Small changes
      
      * Fix collator
      
      * Fix typo
      
      * Revert removal of tokio_executor that causes tokio version mismatch panic
      
      * Fix adder test parachain
      
      * Revert "Revert removal of tokio_executor that causes tokio version mismatch panic"
      
      This reverts commit cfeb50c0
      
      .
      
      * Update availability-store/src/worker.rs
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Update network/src/lib.rs
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Update network/src/lib.rs
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Box pin changes
      
      * Asyncify network functions
      
      * Clean up browser validation worker error
      
      * Fix av store test
      
      * Nits
      
      * Fix validation test
      
      * Switch favicon
      
      * Fix validation test again
      
      * Revert "Asyncify network functions"
      
      This reverts commit f20ae654.
      
      * Add async blocks back in
      5b4ffee3
  9. Nov 28, 2019
    • Arkadiy Paronyan's avatar
      Update to substrate master (#629) · b3cfedfd
      Arkadiy Paronyan authored
      
      
      * Update to substrate master
      
      * Update service/src/lib.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * bump subsrate
      b3cfedfd
    • 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
  10. Nov 22, 2019
    • joe petrowski's avatar
      Update for Substrate master (#600) · 52385492
      joe petrowski authored
      * update substrate for change to palette
      
      * change paint to palette
      
      * update lock
      
      * Fix missing import
      
      * change to polkadot-master
      
      * Use same commit hash of parity-common
      
      * Resolve linking errors
      
      * Rename to frame
      
      * bump spec
      
      * Subsume #602 and #596
      
      * Fix DispatchInfo
      
      * Merge `futures03` and `joe-update-to-palette` (#606)
      
      * Change repo and branch
      
      * Made changes
      
      * Bumped async-std version
      
      * Fix line width
      
      * Bump spec_version
      
      * Fix `run_to_block` for Crowdfund module (#603)
      
      Probably a copy paste error.
      
      * Bump dependencies
      
      * Update trie-db to be inline with substrate
      
      * Fix documentation warning
      
      * Fix test compilation
      52385492
  11. Nov 11, 2019
  12. Nov 05, 2019
  13. Oct 29, 2019
    • Gavin Wood's avatar
      Update Substrate (#514) · 08bbfdbb
      Gavin Wood authored
      * Update Substrate
      
      * Attempt a fix
      
      * Update substrate again
      
      * Fix compilation
      
      * update substrate add support for sentry
      
      * Fixes tests
      08bbfdbb
  14. Oct 19, 2019
  15. Oct 03, 2019
  16. Aug 27, 2019
  17. Aug 24, 2019
  18. Aug 15, 2019
  19. Aug 13, 2019
    • Gavin Wood's avatar
      Prepare stuff for Kusama (i.e. disable most things) (#362) · eba3eeae
      Gavin Wood authored
      * Prepare stuff for Kusama (i.e. disable most things)
      
      * Fix service (hopefully)
      
      * Remove curated grandpa.
      
      * Block unwanted transactions a cleaner way.
      
      * Add feature for restricting tx types
      
      * Cleanups
      
      * Make blocktime 1/10th of normal
      
      * Fix ordering in construct_runtime
      
      * Restore original timing
      
      * Revert name change
      eba3eeae
  20. Jul 23, 2019
  21. Jul 10, 2019
  22. Jul 04, 2019
    • Gavin Wood's avatar
      Update to Substrate master (#311) · d19d5b13
      Gavin Wood authored
      * Best effort to bring up to date.
      
      * Fix the executor stuff
      
      * Update verisons.
      
      * Finish fixing
      
      * Final fixes and warnings.
      
      * add some docs and bump Wasm versions
      
      * Fix tests
      
      * Fix final test
      d19d5b13
  23. May 29, 2019
  24. May 06, 2019
  25. Apr 08, 2019
  26. Mar 28, 2019
    • Bastian Köcher's avatar
      Update to latest substrate-master and polkadot v0.3 (#195) · adba1d58
      Bastian Köcher authored and asynchronous rob's avatar asynchronous rob committed
      
      
      * Rebuild runtime
      
      * Remove invalid value from chainspec (#68)
      
      * service: use grandpa block import for locally sealed aura blocks (#85)
      
      * bump version to v0.3.1
      
      * Update lock file.
      
      * limit number of transactions when building blocks (#91)
      
      * Update to latest Substrate
      
      * Bump to 0.3.2
      
      * Actually bump.
      
      * v0.3.2 (#98)
      
      * bump substrate version
      
      * fix polkadot-collator
      
      * point to alexander-backports of substrate
      
      * bump version
      
      * cli: fix node shutdown (#100)
      
      * update to latest substrate, change to v0.3.4
      
      * update to latest substrate, bump version to 0.3.5
      
      * v0.3.6
      
      * try to build on every v0.3 commit and update alexander-backports
      
      * bump to v0.3.7
      
      * bump to 0.3.8
      
      * Bump to 0.3.9: network and pruning improvements
      
      * Bump to 0.3.10: reduce network bandwidth usage
      
      * Use libp2p-kad 0.3.2 (#122)
      
      * Bump libp2p-identify to 0.3.1 (#123)
      
      * Bump to 0.3.12 (#127)
      
      * Update Substrate again (#128)
      
      * update substrate and bump version to v0.3.13
      
      * bump version to v0.3.14: fix --reserved-nodes
      
      * add a manually curated grandpa module (#136)
      
      * updating v0.3 to use substrate v0.10 (#146)
      
      * updating to latest substrate v0.10
      
      * better handling of outer poll
      
      * nit
      
      * fix tests
      
      * remove comment
      
      * reduce indentation
      
      * use self.poll
      
      * bring oneshot into scope
      
      * spaces
      
      * wrap
      
      * remove match
      
      * wrap
      
      * Update primitives/Cargo.toml
      
      Co-Authored-By: default avatargterzian <[email protected]>
      
      * Update runtime/wasm/Cargo.toml
      
      Co-Authored-By: default avatargterzian <[email protected]>
      
      * Update runtime/wasm/Cargo.toml
      
      Co-Authored-By: default avatargterzian <[email protected]>
      
      * Update test-parachains/adder/collator/src/main.rs
      
      Co-Authored-By: default avatargterzian <[email protected]>
      
      * indent
      
      * add paranthese
      
      * config: fix wrong ip for alexander bootnode (#161)
      
      * fix curated-grandpa and rebuild wasm (#162)
      
      * [v0.3] Integrates new gossip system into Polkadot (#166)
      
      * new gossip validation in network
      
      * integrate new gossip into service
      
      * network: guard validation network future under exit signal (#168)
      
      * bump version to v0.3.15: substrate v0.10
      
      * [v0.3] update to substrate master (#175)
      
      * update to substrate master
      
      * fix test
      
      * service: fix telemetry endpoints on alexander chainspec (#169) (#178)
      
      * Update v0.3 to latest Substrate master (#177)
      
      * update substrate v0.3 to latest master
      
      * bump spec version
      
      * update to latest master: remove fees module
      
      * update runtime blobs
      
      * bump version to 0.3.16
      
      * replace sr25519 accountid with anysigner
      
      * bump version to v0.3.17
      
      * Some PoC-3 GRANDPA tweaks (#181)
      
      * call on_finalise after triggering curated_grandpa change
      
      * make grandpa rounds shorter for faster finalization
      
      * use authorities when calculating duty roster (#185)
      
      * [v0.3] Update to substrate master (#183)
      
      * update to latest substrate master
      
      * bump version to 0.3.18
      
      * update to latest substrate master
      
      * bump spec version
      
      * update runtime wasm blobs
      
      * remove current_offline_slash from chain spec
      
      * update to substrate master: bump version to v0.3.19 (#188)
      
      * update to substrate master: bump version to v0.3.19
      
      libp2p network improvements
      
      * network: replace NodeIndex with PeerId
      
      * network: fix tests
      
      * polkadot v0.3.20 (#190)
      
      * update to substrate master: bump version to 0.3.20
      
      * runtime: add offchain worker trait
      
      * runtime: rebuild wasm blobs
      
      * bump spec version (#191)
      
      * Fix compilation
      
      * Update version to 0.4.0
      
      * Switch to use `polkadot-master` branch from substrate
      
      * Remove unused struct
      
      * Remove `grandpa::SyncedAuthorities` from `OnSessionChange`
      adba1d58
  27. Mar 21, 2019
    • asynchronous rob's avatar
      Collators get incoming parachain messages (#149) · e9402a6c
      asynchronous rob authored
      * refactor out a consensus data fetcher from table router
      
      * move statement checking logic into router
      
      * refuse to start authority if collator
      
      * support building the table router asynchronously
      
      * instantiate_consensus does not overwrite old
      
      * update key in new consensus if there was none before
      
      * collator collects ingress from network
      
      * test produced egress roots
      
      * fix adder-collator compilation
      
      * address first grumbles
      
      * integrate new gossip with collator network launch
      
      * address review
      e9402a6c
  28. Jan 27, 2019
    • Bastian Köcher's avatar
      Updates substrate to latest master (#107) · 11d79181
      Bastian Köcher authored
      * Updates substrate to latest master
      
      * Use slot_duration and not slot
      
      * Update to latest substrate master again to have latest CLI
      
      * Rename iherent indentifier
      
      * Update after master merge
      11d79181
  29. Jan 25, 2019
    • Gav Wood's avatar
      Claim yer sale DOTs (#97) · 72a6ffde
      Gav Wood authored
      * Add claims.
      
      * Failing build
      
      * Updatee to latest substrate, fix tests
      
      * Remove unneeded
      
      * Introduce tests with real work sig
      
      * Use right 64 bytes of pubkey to get eth addr
      
      * Fix for eth sig
      
      * Fix build
      
      * Fix wasm
      72a6ffde
  30. Jan 22, 2019
  31. Jan 18, 2019
  32. 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
  33. 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
  34. Aug 10, 2018
  35. Jul 28, 2018