Skip to content
  1. Aug 24, 2020
  2. Aug 13, 2020
    • asynchronous rob's avatar
      Remove v0 parachains runtime (#1501) · 57aef8ee
      asynchronous rob authored
      * remove v0 parachains modules and switch to v1 primitives
      
      * get tests compiling for runtime-common
      
      * remove registrar module
      
      * Add a dummy module
      
      * remove runtime-parachains
      
      * mostly remove old parachains code from polkadot-runtime
      
      * remove slots::Trait implementation
      
      * remove sp_std prelude import
      
      * add a ZeroSizedTypeDifferentiator to dummy
      
      * finish porting over polkadot runtime
      
      * ZeroSizedTypeDifferentiator was actually unnecessary
      
      * westend
      
      * kusama
      
      * test-runtime (no dummy modules)
      
      * fix warning
      
      * fix chain-specs
      
      * fix test-service
      
      * test-client
      
      * remove dead import
      
      * remove unused needed_extrinsics parameter
      
      * runtimes compile
      
      * remove rococo-v0
      
      * remove remaining references to Rococo
      
      * bump versions
      57aef8ee
  3. Aug 11, 2020
    • Bastian Köcher's avatar
      Support `build-spec` for other chains than Polkadot (#1567) · a12f634e
      Bastian Köcher authored
      
      
      * Support `build-spec` for other chains than Polkadot
      
      The problem when building a chain specification is that you require the
      native runtime to parse the json file (assuming the chain spec is not
      raw yet). Before this pr we could only overwrite the native runtime when
      running the node using `force_*`. This pr now adds support to load the
      native runtime when the filename starts with the name of the chain. So,
      when usng `build-spec --chain rococo-something-else.jon` it will use the
      rococo native runtime to load the chain spec.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      a12f634e
  4. Aug 05, 2020
  5. Aug 04, 2020
    • Bastian Köcher's avatar
      Rewrite client handling (#1531) · c01aa8ba
      Bastian Köcher authored
      
      
      * Rewrite client handling
      
      We are supporting muliple polkadot-like chains and all have different
      client types. This pr reworks the client handling by having all of them
      in one enum combined. Besides that, there is added a special trait
      `ExecuteWithClient` to use the internal client.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Up the versions
      
      * Fix Cargo.lock
      
      * Fix merge conflict
      
      * ......................
      
      * ....v2
      
      * yep
      
      * I'm dumb...
      
      * Browser lol
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      c01aa8ba
    • Bastian Köcher's avatar
      Add Rococo test network (#1363) · 5a4bca76
      Bastian Köcher authored
      
      
      * Add Rococo test network
      
      * Correct license header
      
      * Add bootNodes address
      
      * Fix compile errors
      
      * Change bootNodes
      
      * Change rococo bootNodes
      
      * Add new bootNodes
      
      * Fix bootNodes typo
      
      * Remove public telemetry
      
      * Add rococo-local chain spec
      
      * Remove staking
      
      * Remove staking from chain spec
      
      * use rococo-staging chain spec and preserve bootnodes
      
      * Same but with --raw
      
      * update chain name and remove telemetry
      
      * Empty commit to re-trigger CI
      
      * Fix revision (temp. until I merge master)
      
      * Revert to branch = master to avoid conflicts
      
      * Revert to branch = master to avoid conflicts
      
      * Disable test (temp)
      
      * Revert to branch = master to avoid conflicts
      
      * Revert to branch = master to avoid conflicts
      
      * Change bootNodes IPs for second rococo network
      
      * Revert "Disable test (temp)"
      
      This reverts commit a159f12e3131d1a25dabb1a4d2834642f2bcdc26.
      
      * Revert purchase
      
      * Update chain spec
      
      * FUUU
      
      * Update service/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Update runtime/rococo/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Fix compilation
      
      Co-authored-by: default avatarEvaldo <[email protected]>
      Co-authored-by: default avatarDavid Dorgan <[email protected]>
      Co-authored-by: default avatarCecile Tonglet <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      5a4bca76
  6. Aug 03, 2020
  7. Jul 27, 2020
  8. Jul 24, 2020
    • Wei Tang's avatar
      Companion PR for #6569 (#1394) · b8de0ff1
      Wei Tang authored
      * Update wasm-builder version to 2.0.0
      
      * Fix all crate compile
      
      * Update cargo lock
      
      * Bump runtime impl_version
      b8de0ff1
  9. Jul 13, 2020
    • Max Inden's avatar
      *: Enable authority discovery by default (#1395) · 59f5eb4c
      Max Inden authored
      * *: Enable authority discovery by default
      
      Instead of having to explicitly enable the authority discovery module on
      validator and sentry nodes, this commit enables the module by default.
      
      Today there is no way for non validator or sentry nodes to run the
      module. That might change in the future.
      
      * service/src/lib: Fix typo in new_full! for test
      59f5eb4c
  10. Jul 10, 2020
  11. Jul 09, 2020
  12. Jul 08, 2020
    • pscott's avatar
      Companion PR for #6564 (#1350) · acb5875e
      pscott authored
      * Add log_rotation_opt
      
      * Update Cargo lock
      
      * Use SubstrateCli's log-directory instead of re-defining it
      acb5875e
  13. Jul 03, 2020
  14. Jun 30, 2020
  15. Jun 24, 2020
  16. Jun 11, 2020
  17. Jun 10, 2020
  18. May 26, 2020
    • Gavin Wood's avatar
      Test CC1 spec (#1154) · 7889aaa4
      Gavin Wood authored
      * Test CC1 spec
      
      * Adaptive default chainspec
      7889aaa4
    • Gavin Wood's avatar
      Prepare for final genesis (#1131) · b170d967
      Gavin Wood authored
      
      
      * Update claim statements
      
      * Update URLs
      
      * Minor tweak to make enum agree with URL
      
      * final html multihashes
      
      * New hashes
      
      * Version
      
      * updated SAFT statement hash
      
      * Update runtimes; this relies on substrate #6131
      
      * Bump
      
      * Share transaction filterer and fix Kusama
      
      * Warning
      
      * Gah!
      
      * Tidy
      
      * Westend fixes
      
      * Westend fix
      
      * Tweak constants
      
      * Implement TCF stuff
      
      * Fix
      
      * Warning
      
      * 15 minute lookahead
      
      * 15 minute lookahead in Polkadot
      
      * update max transactions
      
      * Enable utility, disable vested_transfer
      
      * Update runtime/common/src/lib.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Filter calls for validate unsigned also
      
      * Deduplicate
      
      * Fix
      
      * Introduce Polkadot (mainnet) chainspec
      
      * Fix naming.
      
      * Enable indices and fix comment.
      
      * Fix compilation
      
      * Enable indices and fix comment.
      
      * polkadot: babe: enable secondary VRF slots
      
      * Test JSON
      
      * Allow set_heads
      
      * Fix
      
      * Raw chain spec added
      
      Co-authored-by: default avatarkeorn <[email protected]>
      Co-authored-by: default avatarNikVolf <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarAndré Silva <[email protected]>
      b170d967
  19. May 21, 2020
  20. May 13, 2020
  21. May 07, 2020
  22. Apr 28, 2020
  23. Apr 14, 2020
    • ddorgan's avatar
      Westend Mark II (#983) · 4f9f1c87
      ddorgan authored
      
      
      * Initial draft
      
      * More work
      
      * Build
      
      * Docs
      
      * Insert westend keys
      
      * Add badBlock to fork from old chain
      
      * Updated spec to reset westend
      
      * Use raw spec
      
      * Fix spec format and use westend2 for both id's
      
      * Correct public key for bootnode 3
      
      * Build
      
      * Extra space
      
      * Fix build
      
      * Lock
      
      * Update lock
      
      * Fixes
      
      * Fix for he startup text
      
      * Bump
      
      Co-authored-by: default avatarGav Wood <[email protected]>
      4f9f1c87
  24. Apr 07, 2020
    • Cecile Tonglet's avatar
      Update cli to new sc-cli API (#935) · 9477be34
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 9283855d
      Parent branch: origin/master
      
      * Switch substrate to branch cecton-the-revenge-of-the-cli
      
      * Adapting code
      
      * Update Cargo.lock
      
      * Adapting code
      
      * Adapt more code
      
      * Implement force_kusama parameter
      
      * Revert dependency update
      
      * Adapt code to use ref to SubstrateCli object
      
      * Updated to latest version
      
      * Updated with latest changes
      
      * Bump spec vesion
      
      * Fixed tests
      
      * WIP
      
      Forked at: 9283855d
      Parent branch: origin/master
      
      * More fixes
      
      * Cargo.lock
      
      * Updated code
      
      * Fixed and adapt
      
      * Fixed dependency issue with wasm
      
      * Adapted code
      
      * Revert branch change
      
      * Cargo.lock
      
      * Cargo.lock
      
      * Adapt code
      
      * Clean-up
      
      * More clean-up
      
      * Cargo.lock
      9477be34
  25. Apr 03, 2020
  26. Apr 01, 2020
  27. Mar 26, 2020
  28. Mar 17, 2020
    • André Silva's avatar
      grandpa: add voting rule to pause new votes for a period (#904) · b9de1c02
      André Silva authored
      * grandpa: add voting rule to pause new votes for a period
      
      * grandpa: increase delay
      
      * grandpa: parse custom pause delay from cli
      
      * grandpa: log scheduled pause on startup
      
      * grandpa: rename parameter to grandpa_pause
      
      * grandpa: make pause voting rule generic on block
      
      * grandpa: add test for pause voting rule
      
      * grandpa: add hardcoded pause
      
      * collator: fix test compilation
      b9de1c02
  29. Mar 13, 2020
    • Gavin Wood's avatar
      Bump to latest Substrate (#898) · 1ddfb5c4
      Gavin Wood authored
      
      
      * Flag to force kusama runtime
      
      * Chainspecs for kusama
      
      * Polkadot config for westend
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * network/src/legacy/gossip: Wrap GossipEngine in Arc Mutex & lock it on use
      
      `GossipEngine` in itself has no need to be Send and Sync, given that it
      does not rely on separately spawned background tasks anymore.
      `RegisteredMessageValidator` needs to be `Send` and `Sync` due to the
      inherited trait bounds from implementing `GossipService`. In addition
      `RegisteredMessageValidator` derives `Clone`. Thereby `GossipEngine`
      needs to be wrapped in an `Arc` and `Mutex` to keep the status quo.
      
      * Needed fixes.
      
      * Fixes
      
      * Fixed build
      
      * Fixed build w benchmarking CLI
      
      * Fixed building tests
      
      * Added --dev shortcut
      
      Co-authored-by: default avatararkpar <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarMax Inden <[email protected]>
      1ddfb5c4
    • Shawn Tabrizi's avatar
      Benchmark Polkadot Claims Pallet (#876) · 70a5bda2
      Shawn Tabrizi authored
      
      
      * fix
      
      * Starting to add benchmarks
      
      * make compile
      
      * add benchmarks
      
      * Make work with Substrate master
      
      * Bench validate unsigned
      
      * back to polkadot master
      
      * starting to add cli with feature flag
      
      * more stuff
      
      * Add to kusama
      
      * Update Cargo.lock
      
      * fix dev dep
      
      * bump wasm builder
      
      * Remove encode from keccak benchmark
      
      * bump spec
      
      * Add weight documentation
      
      * Update Cargo.lock
      
      * Update check_runtime.sh
      
      * Update publish_draft_release.sh
      
      * Update Cargo.lock
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      70a5bda2
  30. Mar 05, 2020
    • asynchronous rob's avatar
      Remove legacy network code (#860) · 79313808
      asynchronous rob authored
      * expunge legacy code from polkadot-network
      
      * mostly rip out old legacy protocol from service
      
      * ensure validation work is spawned by incoming messages
      
      * decouple availabliity store from network logic; clean up data flow
      
      * av_store: test helpers and use futures-abort
      
      * update polkadot-validation to pass n_validators when submitting chunks
      
      * fallible erasure-chunk fetching
      
      * implement `ErasureNetworking` for new network prot
      
      * API for registering availability store in network
      
      * fully integrate new network service into service
      
      * fix validation tests
      
      * scaffolding for porting collator over to new network
      
      * track connected validators' peer IDs and distribute collators' collations
      
      * helper in network for fetching all checked statements
      
      * fix adder-collator
      
      * actually register notifications protocol
      
      * Update service/src/lib.rs
      
      * merge with master
      79313808
    • Gavin Wood's avatar
      Update substrate (#878) · b2df51d2
      Gavin Wood authored
      
      
      * Switch branch
      
      * Small changes
      
      * Update substrate branch
      
      * Switch
      
      * Revert "Switch branch"
      
      This reverts commit b9d48b2ce8f5cbfa379dd385e817e80870391d9d.
      
      * fix
      
      * add `wipe` and `commit`
      
      * Remove deprecated_host_interface
      
      * Switch branch
      
      * HasherFor -> HashFor
      
      * More HasherFor changes
      
      * Final touches
      
      * Revert "Switch branch"
      
      This reverts commit d0da27313839559de01f59690f3826fe587becb8.
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      b2df51d2
  31. Feb 28, 2020
  32. Feb 19, 2020
  33. Feb 10, 2020
    • Cecile Tonglet's avatar
      Test node exits properly (#831) · c93b1426
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 703ac8bb
      Parent branch: origin/master
      
      * Test running node and interrupts
      
      * WIP
      
      Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750
      Parent branch: origin/cumulus-branch
      
      * Update Cargo.lock
      
      * WIP
      
      Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750
      Parent branch: origin/cumulus-branch
      
      * WIP
      
      Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750
      Parent branch: origin/cumulus-branch
      
      * WIP
      
      Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750
      Parent branch: origin/cumulus-branch
      c93b1426
  34. Feb 09, 2020
    • Gavin Wood's avatar
      Bump Substrate (#816) · 703ac8bb
      Gavin Wood authored
      
      
      * Amalgamate pieces of balance module
      
      * Fixes for vesting split
      
      * Refactoring for vesting/balances split
      
      * Build fixes
      
      * Remove on_free_balance_zero and some docs.
      
      * Indentation.
      
      * Revert branch
      
      * Fix.
      
      * Update substrate: fixes after CLI refactoring
      
      * Reverting removal of exit
      
      * Removed too much again
      
      * Update Cargo.lock
      
      * Cargo.lock
      
      * Update Substrate, ready for #4820
      
      * Fixes
      
      * Update to latest substrate master
      
      * Fix network tests
      
      * Update lock
      
      * Fix tests
      
      * Update futures to get bug fixes
      
      * Fix tests for new balances/vesting logic
      
      * Cargo fix
      
      * Another fix
      
      Co-authored-by: default avatarCecile Tonglet <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      703ac8bb
  35. Jan 31, 2020