1. Jun 25, 2019
  2. Jun 20, 2019
  3. Jun 17, 2019
  4. Jun 03, 2019
    • Gavin Wood's avatar
      Allow parachains to send messages (#274) · 89a7d8dc
      Gavin Wood authored
      
      
      * Slots module
      
      * Integrate slots
      
      * More drafting
      
      * Minor updates
      
      * Update parachains to use trati
      
      * More build fixes
      
      * Full code now compiles
      
      * Add renew bid function
      
      * Implement calculate_winner
      
      * Warning remove
      
      * Update gitignore
      
      * Test framework
      
      * Tests
      
      * Further testing
      
      * More tests, new parameterisation.
      
      * Fix and new test
      
      * Thread-safe tests
      
      * Test off-boarding and a fix.
      
      * Test onboarding
      
      * Allow late onboarding.
      
      * Another test and fix
      
      * Avoid println in nostd
      
      * Compact representation of paraids
      
      * Introduce documentation.
      
      * Introduce events.
      
      * Additional test and fix
      
      * Additional test
      
      * Tidy up line lengths.
      
      * Remove printlns
      
      * Use later substrate utils.
      
      * Allow parachains to send messages.
      
      * Fix build/test
      
      * Make slots work with latest substrate
      
      * Update runtime/src/slot_range.rs
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Update runtime/src/slots.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Update runtime/src/slots.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Polish logic
      
      * Rewind to earlier substrate master
      
      * Remove dead code.
      
      * Fix build
      
      * Update substrate ref to master
      
      * Update to new inherent digests API
      
      * address grumbles
      
      * fix
      
      * Fix a warning.
      
      * Reworded a comment.
      
      * Check that receipt matches expectations
      
      * Add test for final checks
      
      * Split out queuing logic.
      
      * Test final piece of queuing logic
      
      * Fix up docs.
      
      * More docs fixes
      89a7d8dc
  5. May 29, 2019
  6. May 25, 2019
    • Gavin Wood's avatar
      Parachain auctions (#239) · be79c5dc
      Gavin Wood authored
      
      
      * Slots module
      
      * Integrate slots
      
      * More drafting
      
      * Minor updates
      
      * Update parachains to use trati
      
      * More build fixes
      
      * Full code now compiles
      
      * Add renew bid function
      
      * Implement calculate_winner
      
      * Warning remove
      
      * Update gitignore
      
      * Test framework
      
      * Tests
      
      * Further testing
      
      * More tests, new parameterisation.
      
      * Fix and new test
      
      * Thread-safe tests
      
      * Test off-boarding and a fix.
      
      * Test onboarding
      
      * Allow late onboarding.
      
      * Another test and fix
      
      * Avoid println in nostd
      
      * Compact representation of paraids
      
      * Introduce documentation.
      
      * Introduce events.
      
      * Additional test and fix
      
      * Additional test
      
      * Tidy up line lengths.
      
      * Remove printlns
      
      * Use later substrate utils.
      
      * Fix build/test
      
      * Make slots work with latest substrate
      
      * Update runtime/src/slot_range.rs
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Update runtime/src/slots.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Update runtime/src/slots.rs
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Polish logic
      
      * Rewind to earlier substrate master
      
      * Remove dead code.
      be79c5dc
  7. May 24, 2019
  8. May 15, 2019
    • thiolliere's avatar
      update substrate (#259) · ee0076f7
      thiolliere authored and asynchronous rob's avatar asynchronous rob committed
      * WIP
      
      * merging select_chain
      
      * WIP
      
      * update to point to gui-polkadot-master
      
      * Fix collator
      
      * update gui-polkadot-master and fix
      
      * fix unwraps
      
      * better returning an error
      ee0076f7
  9. May 08, 2019
  10. May 06, 2019
  11. Apr 08, 2019
  12. Apr 04, 2019
  13. 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
  14. Mar 22, 2019
  15. Mar 18, 2019
    • Gav Wood's avatar
      Update to Substrate master (#176) · c12969e1
      Gav Wood authored
      
      
      * Update to master
      
      This introduces a new type `CollatorId`, currently just `SessionKey`
      but which would forseeably change to its own thing. It seems to work
      like this (despite there being a lot of the new-incompatible
      `AccountId` replaced). No idea if it does anything sensible, though.
      
      * Cleanups
      
      * Fix tests
      
      * Remove commented code
      
      * Specify commit hash
      
      * Remove commented code
      
      * Correct version
      
      * Update runtime/Cargo.toml
      
      Co-Authored-By: default avatargavofyork <[email protected]>
      
      * PairT instead of _Pair
      
      * Update lock file
      
      * Remove rev causing upset
      c12969e1
  16. Mar 06, 2019
    • asynchronous rob's avatar
      Update to new gossip system. (#172) · 222c6c23
      asynchronous rob authored
      * Integrates new gossip system into Polkadot (#166)
      
      * new gossip validation in network
      
      * integrate new gossip into service
      
      * Fix build
      
      * Fix claims module
      
      * fix warning
      
      * update to latest master again
      
      * update runtime
      222c6c23
  17. Feb 25, 2019
    • Andrew Jones's avatar
      Egress queue validation in runtime (#155) · b4c05459
      Andrew Jones authored and asynchronous rob's avatar asynchronous rob committed
      * Add fn to validate egress routes
      
      * Add blank tests
      
      * Reject routing to non existent parachains
      
      * Reject if routing to self
      
      * Reject if egress route parachain ids out of order
      
      * Extract method for checking egress routes
      
      * Reject empty egress routes
      
      * Extract test method
      
      * Generate empty trie root constant in build script
      
      * Remove unwraps
      
      * Hardcode EMPTY_TRIE_ROOT and add test to verify
      
      * Const not pu
      b4c05459
  18. Feb 19, 2019
    • asynchronous rob's avatar
      Interchain message-passing (#117) · 66c9580c
      asynchronous rob authored
      * compute ingress and routing in polkadot runtime
      
      * extract parent candidates from block when beginning consensus
      
      * fetch incoming messages when validating
      
      * fix consensus tests
      
      * parachain wasm execution uses messages
      
      * update parachain tests to check if messages are executed
      
      * abstract out network service to make room for network tests
      
      * skeleton for incoming data fetch
      
      * collate ingress from consensus-gossip
      
      * keep track of validated candidates in the shared-table
      
      * add some shared_table tests for new behavior
      
      * broadcast egress messages on gossip
      
      * test compute_ingress
      
      * move network tests to module folder
      
      * dummy network for consensus-network tests
      
      * make consensus network generic over executor
      
      * test egress broadcast and ingress fetch
      
      * fix test compilation
      
      * address some grumbles
      
      * address grumbles and fix parachain shuffle
      
      * remove broadcast parameter from consensus network trait
      66c9580c
  19. Feb 13, 2019
  20. 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
  21. Jan 18, 2019
    • asynchronous rob's avatar
      Remove availability statement (#79) · ef8a6c7c
      asynchronous rob authored
      * remove availability vote type from statement-table
      
      * expunge availability statement from consensus module
      
      * expunge availability from duty roster
      
      * rename StatementProducer to ParachainWork
      
      * fix runtime tests and remove availability statement variant
      
      * update wasm
      ef8a6c7c
  22. Jan 16, 2019
  23. Dec 21, 2018
  24. Dec 20, 2018
    • asynchronous rob's avatar
      Update to latest substrate (#57) · b736abcc
      asynchronous rob authored
      * update to latest substrate
      
      * update WASM and runtime
      
      * Rename Id to ParaId in decl_{module,storage} (exported metadata type) (#58)
      
      * Rename Id to ParaId in decla_module (exported type)
      
      * AccountParaId -> AccountId
      b736abcc
  25. 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
  26. Nov 26, 2018
    • asynchronous rob's avatar
      Blocks carry full attestations for candidates (#42) · 4b0c4968
      asynchronous rob authored
      
      
      * statement table yields fully-attested candidates
      
      * attestation types in polkadot-primitives
      
      * propose block with fully-attested candidates in consensus
      
      * some signature-checking logic in the runtime
      
      * fix runtime compilation
      
      * ensure attestations are full and without duplicate when checking
      
      * fix consensus-service compilation
      
      * add some tests
      
      * use bitvec from crates.io now that it's published
      
      * sign statements based on primitive statement's encoding
      
      * remove some serialize bounds
      
      * Fix error message with duplicate availability attestations
      
      Co-Authored-By: default avatarrphmeier <[email protected]>
      4b0c4968
  27. 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
  28. Sep 12, 2018
  29. Aug 30, 2018
  30. Aug 29, 2018
  31. Aug 15, 2018
    • Gav Wood's avatar
      New slashing mechanism (#554) · 14474fc7
      Gav Wood authored
      * Slashing improvements
      
      - unstake when balance too low
      - unstake after N slashes according to val prefs
      - don't early-terminate session/era unless unstaked
      - offline grace period before punishment
      
      * Fix warning
      
      * Cleanups and ensure slash_count decays
      
      * Bump authoring version and introduce needed authoring stub
      
      * Rename
      
      * Fix offline tracker
      
      * Fix offline tracker
      
      * Renames
      
      * Add test
      
      * Tests
      
      * Tests.
      14474fc7
    • 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
  32. Aug 11, 2018
    • asynchronous rob's avatar
      Vote out offline authorities (#524) · 988f94fa
      asynchronous rob authored
      * notify when an authority appears to have missed their block
      
      * Runtime API
      
      * offline tracker
      
      * Move to consensus
      
      * generating reports of offline indices
      
      * stubbed-out evaluation logic
      
      * Slashing data pathwat
      
      * usize -> u32
      
      * Slash bad validators.
      
      * update to rhododendron 0.3
      
      * fix compilation of polkadot-consensus
      
      * Support offline noting in checked_block
      
      * include offline reports in block authorship voting
      
      * do not vote validators offline after some time
      
      * add test for offline-tracker
      
      * fix test build
      
      * bump spec version
      
      * update wasm
      
      * Only allow validators that are possible to slash
      
      * Fix grumble
      
      * More idiomatic
      
      * New Wasm.
      
      * update rhododendron
      
      * improve logging and reduce round time exponent
      
      * format offline validators in ss58
      988f94fa
  33. Aug 10, 2018
  34. Aug 01, 2018
    • asynchronous rob's avatar
      Collator for the "adder" (formerly basic-add) parachain and various small fixes (#438) · 4711e1e0
      asynchronous rob authored
      * update basic_add wasm
      
      * wasm feature and collator feature
      
      * move test parachains around a little
      
      * fix wasm build for basic_add
      
      * move basic_add to adder, introduce README
      
      * minimal basic_add collator
      
      * ensure collator messages are sent in the right order
      
      * more logging
      
      * route consensus statements to all peers
      
      * minor bugfixes for parachains
      
      * genesis builder accounts for parachain heads
      
      * fix parachains tests
      
      * targets for txpool
      
      * tweak runtime + collator
      
      * fix version in adder-collator
      
      * consistency for overflowing
      
      * adjust comment
      
      * fix stable test run
      
      * remove dummy registration test
      
      * final grumbles
      4711e1e0
  35. Jul 15, 2018